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
93
94
95
96
97
98
99
100
101
102
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 93
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
87
88
89
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 87
def description
"Check plugin's authors in podspec file"
end
|
#podspec_parameter ⇒ String
82
83
84
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 82
def podspec_parameter
'authors'
end
|