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
#check(project) ⇒ Object
26
27
28
29
30
31
32
33
34
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 26
def check(project)
pubspec = project.pubspec
CheckReport.new(
name,
pubspec.pubspec_info.name.nil? ? CheckReportStatus::ERROR : CheckReportStatus::NORMAL,
description,
pubspec.path
)
end
|
#description ⇒ Object
36
37
38
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 36
def description
'Check plugin name in pubspec file'
end
|
#pubspec_parameter ⇒ Object
22
23
24
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 22
def pubspec_parameter
'name'
end
|