Sha256: 2ebd19d157c1f50103dd18bcab1766fc27adca964192d80a9a069a15a90166af

Contents?: true

Size: 736 Bytes

Versions: 2

Compression:

Stored size: 736 Bytes

Contents

require 'snapshot/version'
require 'snapshot/snapshot_config'
require 'snapshot/runner'
require 'snapshot/builder'
require 'snapshot/snapshot_file'
require 'snapshot/reports_generator'
require 'snapshot/screenshot_flatten'
require 'snapshot/screenshot_rotate'
require 'snapshot/simulators'
require 'snapshot/dependency_checker'
require 'snapshot/latest_ios_version'

require 'fastlane_core'

module Snapshot
  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore

  Snapshot::DependencyChecker.check_dependencies

  def self.xcode_version
    `xcodebuild -version`.match(/Xcode (.*)/)[1]
  end

  def self.min_xcode7?
    xcode_version.split(".").first.to_i >= 7
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snapshot-0.10.2 lib/snapshot.rb
snapshot-0.10.1 lib/snapshot.rb