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
#check(project) ⇒ Object
47
48
49
50
51
52
53
54
55
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 47
def check(project)
pubspec = project.pubspec
CheckReport.new(
name,
pubspec.pubspec_info.description.nil? ? CheckReportStatus::WARNING : CheckReportStatus::NORMAL,
description,
pubspec.path
)
end
|
#description ⇒ Object
57
58
59
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 57
def description
'Check plugin description in pubspec file'
end
|
#pubspec_parameter ⇒ Object
43
44
45
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 43
def pubspec_parameter
'description'
end
|