Sha256: 467c8d6a30087ccf1b5926a0ee2c93fd911bf1fa5c45f1c739c9bd1c1ae2316d

Contents?: true

Size: 1.16 KB

Versions: 10

Compression:

Stored size: 1.16 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 'slather/coverage_service/sonarqube_xml_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

10 entries across 10 versions & 1 rubygems

Version Path
slather-2.7.5 lib/slather.rb
slather-2.7.4 lib/slather.rb
slather-2.7.3 lib/slather.rb
slather-2.7.2 lib/slather.rb
slather-2.7.1 lib/slather.rb
slather-2.7.0 lib/slather.rb
slather-2.6.1 lib/slather.rb
slather-2.6.0 lib/slather.rb
slather-2.5.0 lib/slather.rb
slather-2.4.9 lib/slather.rb