Class: FlutterRb::PluginPodspecSourceCheck
Overview
Check plugin iOS source path in podspec file. If Flutter plugin cannot contains iOS specific code, source path must be ‘.’
Constant Summary
Constants inherited
from Check
Check::UNIMPLEMENTED_ERROR
Instance Method Summary
collapse
#name, #summary
Methods inherited from Check
#name, #summary
Instance Method Details
118
119
120
121
122
123
124
125
126
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 118
def check(project)
podspec = project.ios_folder.podspec
CheckReport.new(
name,
podspec.source.nil? ? CheckReportStatus::ERROR : CheckReportStatus::NORMAL,
description,
podspec.path
)
end
|
#description ⇒ String
112
113
114
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 112
def description
'Check plugin iOS source path in podspec file'
end
|
#podspec_parameter ⇒ String
107
108
109
|
# File 'lib/flutter_rb/checks/plugin_podspec_check.rb', line 107
def podspec_parameter
'source'
end
|