Class: FlutterRb::PluginPubspecNameCheck
Overview
Check Flutter plugin name in podspec file. Exists or not
Constant Summary
Constants inherited
from Check
Check::UNIMPLEMENTED_ERROR
Instance Method Summary
collapse
#name, #summary
Methods inherited from Check
#name, #summary
Instance Method Details
37
38
39
40
41
42
43
44
45
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 37
def check(project)
pubspec = project.pubspec
CheckReport.new(
name,
pubspec.pubspec_info.name.nil? ? CheckReportStatus::ERROR : CheckReportStatus::NORMAL,
description,
pubspec.path
)
end
|
#description ⇒ String
31
32
33
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 31
def description
'Check plugin name in pubspec file'
end
|
#pubspec_parameter ⇒ String
26
27
28
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 26
def pubspec_parameter
'name'
end
|