Class: FlutterRb::PluginPubspecVersionCheck
Overview
Check Flutter plugin version 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
89
90
91
92
93
94
95
96
97
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 89
def check(project)
pubspec = project.pubspec
CheckReport.new(
name,
pubspec.pubspec_info.version.nil? ? CheckReportStatus::ERROR : CheckReportStatus::NORMAL,
description,
pubspec.path
)
end
|
#description ⇒ String
83
84
85
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 83
def description
'Check plugin version in pubspec'
end
|
#pubspec_parameter ⇒ String
78
79
80
|
# File 'lib/flutter_rb/checks/plugin_pubspec_check.rb', line 78
def pubspec_parameter
'version'
end
|