Class: FlutterRb::PluginPodspecAuthorsCheck
Overview
Check Flutter plugin’s authors. 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
91
92
93
94
95
96
97
98
99
100
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 91
def check(project)
podspec = project.ios_folder.podspec
author_exists = !podspec.authors.nil?
CheckReport.new(
name,
author_exists ? CheckReportStatus::NORMAL : CheckReportStatus::ERROR,
description,
podspec.path
)
end
|
#description ⇒ String
85
86
87
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 85
def description
"Check plugin's authors in podspec file"
end
|
#podspec_parameter ⇒ String
80
81
82
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 80
def podspec_parameter
'authors'
end
|