Module: Slather
- Defined in:
- lib/slather.rb,
lib/slather/project.rb,
lib/slather/version.rb,
lib/slather/coverage_file.rb,
lib/slather/coverage_info.rb,
lib/slather/coveralls_coverage.rb,
lib/slather/profdata_coverage_file.rb,
lib/slather/coverage_service/coveralls.rb,
lib/slather/coverage_service/hardcover.rb,
lib/slather/coverage_service/html_output.rb,
lib/slather/coverage_service/json_output.rb,
lib/slather/coverage_service/simple_output.rb,
lib/slather/coverage_service/llvm_cov_output.rb,
lib/slather/coverage_service/gutter_json_output.rb,
lib/slather/coverage_service/cobertura_xml_output.rb,
lib/slather/coverage_service/sonarqube_xml_output.rb
Defined Under Namespace
Modules: CoverageInfo, CoverageService, CoverallsCoverage
Classes: CoverageFile, ProfdataCoverageFile, Project
Constant Summary
collapse
- VERSION =
'2.8.5'
Class Method Summary
collapse
Class Method Details
.prepare_pods(pods) ⇒ Object
22
23
24
|
# File 'lib/slather.rb', line 22
def self.prepare_pods(pods)
Pod::UI.warn("[Slather] prepare_pods is now deprecated. The call to prepare_pods in your Podfile can simply be ommitted.")
end
|
.xcode_version ⇒ Object
26
27
28
29
30
31
|
# File 'lib/slather.rb', line 26
def self.xcode_version
xcode_path = `xcode-select -p`.strip
plist = CFPropertyList::List.new(:file => File.join(xcode_path, '..', 'Info.plist'))
xcode_version = CFPropertyList.native_types(plist.value)["CFBundleShortVersionString"]
xcode_version.split('.').map(&:to_i)
end
|