snapshot 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f71095c13f7d3cc8e55479bcb07f15ab6d0720a
4
- data.tar.gz: 6bcdd85eb02adced990564c7b866673723ad9185
3
+ metadata.gz: 2d38ba8def56c2d0272eef7ffd15ed6209dd4061
4
+ data.tar.gz: 03d5d875a7535932521ce752e08c6aa0d9491a29
5
5
  SHA512:
6
- metadata.gz: 47b1a0c5ef2b726e35494db3fd63e396a7288d1d0447f33c78c3acd9c0337fe1e7a161115c01fceb118aece60cebcd771adb8a1d887f0180aee931fa30a86760
7
- data.tar.gz: ea2ed05b36db8e095581a00039d61adcabfdabc78827be753229872e84a7d3b4cc93f17fa81776d27d77ae76a477ec777dab34630510f9450fda16a77a04e492
6
+ metadata.gz: c5e9e2424878e6db5285889ef765ac22ecb9fb27425a31d13fc403300965239a89dbb44e6811b9641766c95ef10e003c5efe5272db2686dd361fb6cf7bc5d0b8
7
+ data.tar.gz: 9da196a3b7dcac8f2ca1c99203c8f81f569f962b2b5955cb6a4864a0c7c5b1004f550bb3a6aca50e55442cde2a72cd2b31d64d8791016e9df501e7e3b9c62d36
@@ -1,13 +1,13 @@
1
1
  # Uncomment the lines below you want to change by removing the # in the beginning
2
2
 
3
3
  # A list of devices you want to take the screenshots from
4
- devices([
5
- "iPhone 6",
6
- "iPhone 6 Plus",
7
- "iPhone 5",
8
- "iPhone 4s",
9
- "iPad Retina"
10
- ])
4
+ # devices([
5
+ # "iPhone 6",
6
+ # "iPhone 6 Plus",
7
+ # "iPhone 5",
8
+ # "iPhone 4s",
9
+ # "iPad Retina"
10
+ # ])
11
11
 
12
12
  languages([
13
13
  "en-US",
@@ -24,6 +24,7 @@ module Snapshot
24
24
  next if sim.name.include?("iPad") and !sim.name.include?("Retina") # we only need one iPad
25
25
  next if sim.name.include?("6s") # same screen resolution
26
26
  next if sim.name.include?("5s") # same screen resolution
27
+ next if sim.name.include?("Apple TV")
27
28
 
28
29
  config[:devices] << sim.name
29
30
  end
@@ -6,6 +6,14 @@ module Snapshot
6
6
  attr_accessor :number_of_retries
7
7
 
8
8
  def work
9
+ if File.exist?("./fastlane/snapshot.js") or File.exist?("./snapshot.js")
10
+ Helper.log.warn "Found old snapshot configuration file 'snapshot.js'".red
11
+ Helper.log.warn "You updated to snapshot 1.0 which now uses UI Automation".red
12
+ Helper.log.warn "Please follow the migration guide: https://github.com/KrauseFx/snapshot/blob/master/MigrationGuide.md".red
13
+ Helper.log.warn "And read the updated documentation: https://github.com/KrauseFx/snapshot".red
14
+ sleep 3 # to be sure the user sees this, as compiling clears the screen
15
+ end
16
+
9
17
  FastlaneCore::PrintTable.print_values(config: Snapshot.config, hide_keys: [], title: "Summary")
10
18
 
11
19
  clear_previous_screenshots if Snapshot.config[:clear_previous_screenshots]
@@ -25,7 +25,7 @@ module Snapshot
25
25
  puts " setLanguage(app)"
26
26
  puts " app.launch()"
27
27
  puts ""
28
- puts "3) Add `snapshot(\"0Launch\")` to wherever you want to create the screenhsots".yellow
28
+ puts "3) Add `snapshot(\"0Launch\")` to wherever you want to create the screenshots".yellow
29
29
  puts ""
30
30
  puts "More information on GitHub: https://github.com/krausefx/snapshot".green
31
31
  end
@@ -1,4 +1,4 @@
1
1
  module Snapshot
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  DESCRIPTION = "Automate taking localized screenshots of your iOS app on every device"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snapshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastimage
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  requirements: []
249
249
  rubyforge_project:
250
- rubygems_version: 2.4.8
250
+ rubygems_version: 2.4.6
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: Automate taking localized screenshots of your iOS app on every device