dryrun 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dryrun/dryrun_utils.rb +10 -3
- data/lib/dryrun/version.rb +1 -1
- metadata +2 -4
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff1ac31915a3c21f332e2871106422bb6815478f
|
4
|
+
data.tar.gz: 1ade37e99019cda263e2799c4d1b9ae9274a33e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 112cbbe7c0541996ef2248f778ab05a6aef74c7ea0a76769cd2f51b9265d2048b599ca926da79f48f7c004bb94c4f9f0decad0ec122888d4be27278af39038e0
|
7
|
+
data.tar.gz: 0b82e886eb65dae74af062a2a00ed2ee59c5bdf24ab872afdd912cb2e97200f1f94c7db4a8d9d5bf9722efca8acdccae20cb7f56bd258a003f110b3f7bb727c4
|
data/lib/dryrun/dryrun_utils.rb
CHANGED
@@ -19,9 +19,16 @@ module DryRun
|
|
19
19
|
url = 'https://raw.githubusercontent.com/cesarferreira/dryrun/master/lib/dryrun/version.rb'
|
20
20
|
page_string = nil
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
if Gem.win_platform?
|
23
|
+
open(url, {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}) do |f|
|
24
|
+
page_string = f.read
|
25
|
+
end
|
26
|
+
else
|
27
|
+
open(url) do |f|
|
28
|
+
page_string = f.read
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
25
32
|
|
26
33
|
page_string[/#{Regexp.escape('\'')}(.*?)#{Regexp.escape('\'')}/m, 1]
|
27
34
|
end
|
data/lib/dryrun/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
@@ -147,8 +147,6 @@ extra_rdoc_files: []
|
|
147
147
|
files:
|
148
148
|
- ".gitignore"
|
149
149
|
- ".rspec"
|
150
|
-
- ".ruby-gemset"
|
151
|
-
- ".ruby-version"
|
152
150
|
- ".travis.yml"
|
153
151
|
- Gemfile
|
154
152
|
- LICENSE
|
@@ -186,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
184
|
version: '0'
|
187
185
|
requirements: []
|
188
186
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.5.1
|
187
|
+
rubygems_version: 2.4.5.1
|
190
188
|
signing_key:
|
191
189
|
specification_version: 4
|
192
190
|
summary: Tool to try any android library hosted online directly from the command line
|
data/.ruby-gemset
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
dryrun
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.3.0
|