Sha256: 8fbadfffdc548e9339f7fb9efb23744c95bf2e5fc47b8109efd3a0d610746dda

Contents?: true

Size: 1.1 KB

Versions: 5

Compression:

Stored size: 1.1 KB

Contents

require 'slather/version'
require 'slather/project'
require 'slather/coverage_info'
require 'slather/coverage_file'
require 'slather/coveralls_coverage'
require 'slather/profdata_coverage_file'
require 'slather/coverage_service/cobertura_xml_output'
require 'slather/coverage_service/coveralls'
require 'slather/coverage_service/hardcover'
require 'slather/coverage_service/gutter_json_output'
require 'slather/coverage_service/simple_output'
require 'slather/coverage_service/html_output'
require 'slather/coverage_service/json_output'
require 'slather/coverage_service/llvm_cov_output'
require 'cfpropertylist'

module Slather

  Encoding.default_external = "utf-8"

  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

  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

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slather-2.4.8 lib/slather.rb
slather-2.4.7 lib/slather.rb
slather-2.4.6 lib/slather.rb
slather-2.4.5 lib/slather.rb
slather-2.4.4 lib/slather.rb