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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 036e595b962647744176802351d6e161da574fe9
4
- data.tar.gz: 242399841f07ea231618a27f6b2c75ba7d83f5b6
3
+ metadata.gz: ff1ac31915a3c21f332e2871106422bb6815478f
4
+ data.tar.gz: 1ade37e99019cda263e2799c4d1b9ae9274a33e3
5
5
  SHA512:
6
- metadata.gz: b397ce280f7d1584c3dd8111bf0ccfcf2a523624cde0ba16e14ded13d33857c7ff5f0671f090984d8aaa946292ec9e1428845f598f5f6d6f65c4c3f373bd155b
7
- data.tar.gz: e4a92ddc5395763d8d6d12722f04d634b286480b26c57a32446530b9ab666b98a440039f7cea371ab7073eb4748ff44a372b461960094aa28cea0b555fa48e65
6
+ metadata.gz: 112cbbe7c0541996ef2248f778ab05a6aef74c7ea0a76769cd2f51b9265d2048b599ca926da79f48f7c004bb94c4f9f0decad0ec122888d4be27278af39038e0
7
+ data.tar.gz: 0b82e886eb65dae74af062a2a00ed2ee59c5bdf24ab872afdd912cb2e97200f1f94c7db4a8d9d5bf9722efca8acdccae20cb7f56bd258a003f110b3f7bb727c4
@@ -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
- open(url) do |f|
23
- page_string = f.read
24
- end
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
@@ -1,3 +1,3 @@
1
1
  module DryRun
2
- VERSION = '0.7.2'
2
+ VERSION = '0.7.3'
3
3
  end
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.2
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