Module: Snapshot
- Defined in:
- lib/snapshot.rb,
lib/snapshot/setup.rb,
lib/snapshot/runner.rb,
lib/snapshot/update.rb,
lib/snapshot/options.rb,
lib/snapshot/version.rb,
lib/snapshot/collector.rb,
lib/snapshot/detect_values.rb,
lib/snapshot/error_handler.rb,
lib/snapshot/reset_simulators.rb,
lib/snapshot/reports_generator.rb,
lib/snapshot/screenshot_rotate.rb,
lib/snapshot/dependency_checker.rb,
lib/snapshot/latest_ios_version.rb,
lib/snapshot/screenshot_flatten.rb,
lib/snapshot/test_command_generator.rb,
lib/snapshot/fixes/simulator_zoom_fix.rb
Defined Under Namespace
Modules: Fixes Classes: Collector, DependencyChecker, DetectValues, ErrorHandler, LatestIosVersion, Options, ReportsGenerator, ResetSimulators, Runner, ScreenshotFlatten, ScreenshotRotate, Setup, TestCommandGenerator, Update
Constant Summary collapse
- Helper =
you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
FastlaneCore::Helper
- VERSION =
"1.4.0"- DESCRIPTION =
"Automate taking localized screenshots of your iOS app on every device"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
-
.project ⇒ Object
Returns the value of attribute project.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
23 24 25 |
# File 'lib/snapshot.rb', line 23 def config @config end |
.project ⇒ Object
Returns the value of attribute project.
25 26 27 |
# File 'lib/snapshot.rb', line 25 def project @project end |
Class Method Details
.kill_simulator ⇒ Object
36 37 38 |
# File 'lib/snapshot.rb', line 36 def kill_simulator `killall iOS Simulator &> /dev/null` end |
.min_xcode7? ⇒ Boolean
49 50 51 |
# File 'lib/snapshot.rb', line 49 def self.min_xcode7? xcode_version.split(".").first.to_i >= 7 end |
.snapfile_name ⇒ Object
32 33 34 |
# File 'lib/snapshot.rb', line 32 def snapfile_name "Snapfile" end |
.xcode_version ⇒ Object
45 46 47 |
# File 'lib/snapshot.rb', line 45 def self.xcode_version `xcodebuild -version`.match(/Xcode (.*)/)[1] end |