snapshot 1.11.0 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f1c80767948a568435448321574416a51975c4d
4
- data.tar.gz: 08b2573705b5d716d1ada5a58067d341195330c3
3
+ metadata.gz: c170770aac05bc57d39e39fd2b7cbf1e6b028c5c
4
+ data.tar.gz: 464bc150daa1faee0c65064203800fe4af5836b7
5
5
  SHA512:
6
- metadata.gz: ccf0d605b2de18c6aec30073fc7e641c70dfb94e31847f040c468941ed378db7f406c93d767665d76a53f648cc345982557c3bfee0941cde1f35bf37d3cd7291
7
- data.tar.gz: 80050ee54779dd305ba6ac591dfeb9673cf96a5330ff6aa1f7b1dbc4be444d54f2102a08a4bb379690480235f0c8c168f6587b3a315f570b943c355c70ec301f
6
+ metadata.gz: db251e93a1991fa4ea261fe667ea4fa5ef996a4e4891b6a37d30ad0db4e9235807040395dc8659e56b0794dfc0855c98852fed8a1901099e1657efcc36475c1b
7
+ data.tar.gz: 78d20002241921a55701f8baa750d9737660e9971e1b4f0e9bb4b134b962622e8c8268e5b4fe2a219f2afb428876983acf340585ec14da6d7ef42f4daf1aad5f
@@ -219,8 +219,9 @@ module Snapshot
219
219
 
220
220
  def clear_previous_screenshots
221
221
  UI.important "Clearing previously generated screenshots"
222
- path = File.join(".", Snapshot.config[:output_directory], "*", "*.png")
222
+ path = File.join(Snapshot.config[:output_directory], "*", "*.png")
223
223
  Dir[path].each do |current|
224
+ UI.verbose "Deleting #{current}"
224
225
  File.delete(current)
225
226
  end
226
227
  end
@@ -1,4 +1,4 @@
1
1
  module Snapshot
2
- VERSION = "1.11.0"
2
+ VERSION = "1.11.1".freeze
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.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastimage