screengrab 0.5.0 → 0.5.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: a3c2e526db2791c531486fdef0a50fb647644fe3
4
- data.tar.gz: 2ae54fb11017acc35fc50ae5a7955fda2f2f9121
3
+ metadata.gz: f77fc72be9bccdbde7ac47f9caf489dfd4a695bc
4
+ data.tar.gz: c64689b75eac8687ca4d786c6833103e4415bc56
5
5
  SHA512:
6
- metadata.gz: 7421606ad781981f72e68e02956942b8e4181c85b89856238c184642df199edf2f399332d27d99a56ece6cfdf54a9470f05d332d34c6ab4327f8e8246dc6c20d
7
- data.tar.gz: 1298dfd3bd8987d5d12691599572e155d901ca449285bbd18a2f6521101aa75477ef6e771b3584ecb3e590adfaef7480cec90725d1c09cdb45ad1a8ca903f568
6
+ metadata.gz: e4fe5f5217b5746cf4ebb7f86fef5b235a03a24a249f6341cf4d304b9ea90a40482070abd780784685bea4250da8d6fe68a46472e85a1f0fe1664bd01a926623
7
+ data.tar.gz: 40645833920cd54544a71c46058d34af5503f79baadfd4760edb154303cfe5a7291384b15228c7a45934ee2b6673455434a1f54857e011e86c88a33c116da1a8
data/lib/screengrab.rb CHANGED
@@ -28,4 +28,5 @@ module Screengrab
28
28
 
29
29
  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
30
30
  UI = FastlaneCore::UI
31
+ ROOT = Pathname.new(File.expand_path('../..', __FILE__))
31
32
  end
@@ -25,7 +25,7 @@ module Screengrab
25
25
  UI.error 'Please ensure that the Android SDK is installed and the platform-tools directory is present and on your PATH'
26
26
  end
27
27
 
28
- UI.user_error! 'adb command not found'
28
+ UI.user_error!('adb command not found')
29
29
  end
30
30
 
31
31
  def self.check_aapt(android_env)
@@ -8,8 +8,7 @@ module Screengrab
8
8
  UI.user_error!("Screengrabfile already exists at path '#{screengrabfile_path}'. Run 'screengrab' to use screengrab.")
9
9
  end
10
10
 
11
- gem_path = Helper.gem_path("screengrab")
12
- File.write(screengrabfile_path, File.read("#{gem_path}/lib/assets/ScreengrabfileTemplate"))
11
+ File.write(screengrabfile_path, File.read("#{Screengrab::ROOT}/lib/assets/ScreengrabfileTemplate"))
13
12
 
14
13
  UI.success("Successfully created new Screengrabfile at '#{screengrabfile_path}'")
15
14
  end
data/version.properties CHANGED
@@ -1,3 +1,3 @@
1
1
  major=0
2
2
  minor=5
3
- patch=0
3
+ patch=1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screengrab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Falcone
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-11 00:00:00.000000000 Z
12
+ date: 2016-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fastlane_core
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 0.50.0
20
+ version: 0.50.3
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: 1.0.0
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 0.50.0
30
+ version: 0.50.3
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.0.0