Class: FlutterRb::PluginPubspecDescriptionCheck
Overview
Check Flutter plugin description in pubspec 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
62
63
64
65
66
67
68
69
70
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 62
def check(project)
pubspec = project.pubspec
CheckReport.new(
name,
pubspec.pubspec_info.description.nil? ? CheckReportStatus::WARNING : CheckReportStatus::NORMAL,
description,
pubspec.path
)
end
|
#description ⇒ String
56
57
58
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 56
def description
'Check plugin description in pubspec file'
end
|
#pubspec_parameter ⇒ String
51
52
53
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 51
def pubspec_parameter
'description'
end
|