dryrun 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dryrun.rb +3 -0
- data/lib/dryrun/android_project.rb +6 -3
- data/lib/dryrun/dryrun_utils.rb +1 -2
- data/lib/dryrun/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60feb498f92bd27070f158c0ece400c76297b0b0
|
4
|
+
data.tar.gz: ce1c2c6ebf0b67483084109cfd69520d2d0077da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7241354674cd00989532f4141c205a23b4f049ff8c32a2816eea15ad527fbb3af562012fe8e81a4c36e46bafeb943c9834f00198788ebd3f058be08ec851c471
|
7
|
+
data.tar.gz: b6bd8cb2ecc658b448567aec12021406e5c78d736c1d47495153188d8c9c3edda7a9efafacc89f0b6c4a3e701f87422729027275b53cc591af993c165573de34
|
data/lib/dryrun.rb
CHANGED
@@ -83,6 +83,7 @@ module DryRun
|
|
83
83
|
|
84
84
|
if input.downcase.eql? 'y'
|
85
85
|
DryrunUtils.execute('gem update dryrun')
|
86
|
+
|
86
87
|
end
|
87
88
|
|
88
89
|
end
|
@@ -143,6 +144,8 @@ module DryRun
|
|
143
144
|
exit 1
|
144
145
|
end
|
145
146
|
|
147
|
+
@url = @url.split("?").first
|
148
|
+
|
146
149
|
pick_device()
|
147
150
|
|
148
151
|
github = Github.new(@url)
|
@@ -11,7 +11,7 @@ module DryRun
|
|
11
11
|
|
12
12
|
@custom_app_path = custom_app_path
|
13
13
|
@custom_module = custom_module
|
14
|
-
@base_path = path
|
14
|
+
@base_path = @custom_app_path? File.join(path, @custom_app_path) : path
|
15
15
|
@flavour = flavour
|
16
16
|
@device = device
|
17
17
|
|
@@ -26,11 +26,14 @@ module DryRun
|
|
26
26
|
def check_custom_app_path
|
27
27
|
return unless @custom_app_path
|
28
28
|
|
29
|
-
full_custom_path =
|
29
|
+
full_custom_path = @base_path
|
30
30
|
settings_path = settings_gradle_file(full_custom_path)
|
31
|
-
|
31
|
+
main_gradle_path = main_gradle_file(full_custom_path)
|
32
|
+
return unless is_valid(main_gradle_path)
|
32
33
|
|
33
34
|
@settings_gradle_path = settings_path
|
35
|
+
@main_gradle_file = main_gradle_file
|
36
|
+
|
34
37
|
@base_path = full_custom_path
|
35
38
|
end
|
36
39
|
|
data/lib/dryrun/dryrun_utils.rb
CHANGED
@@ -29,13 +29,12 @@ module DryRun
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
-
|
33
32
|
page_string[/#{Regexp.escape('\'')}(.*?)#{Regexp.escape('\'')}/m, 1]
|
34
33
|
end
|
35
34
|
|
36
35
|
def self.is_up_to_date
|
37
36
|
latest = get_latest_version
|
38
|
-
latest.
|
37
|
+
latest.to_s <= DryRun::VERSION.to_s
|
39
38
|
end
|
40
39
|
end
|
41
40
|
end
|
data/lib/dryrun/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|