cieloloja 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/cieloloja.gemspec +1 -1
- data/lib/cieloloja/connection.rb +2 -5
- data/lib/cieloloja/version.rb +1 -1
- metadata +2 -2
data/cieloloja.gemspec
CHANGED
data/lib/cieloloja/connection.rb
CHANGED
@@ -6,11 +6,8 @@ module Cieloloja
|
|
6
6
|
port = 443
|
7
7
|
@http = Net::HTTP.new(@environment::BASE_URL,port)
|
8
8
|
@http.use_ssl = true
|
9
|
-
|
10
|
-
|
11
|
-
else
|
12
|
-
@http.verify_mode = @environment.ssl_verify_mode
|
13
|
-
end
|
9
|
+
@http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
10
|
+
|
14
11
|
https.ca_path = '/etc/ssl/certs' if File.exists?('/etc/ssl/certs') # Ubuntu
|
15
12
|
https.ca_file = '/opt/local/share/curl/curl-ca-bundle.crt' if File.exists?('/opt/local/share/curl/curl-ca-bundle.crt') # Mac OS X
|
16
13
|
|
data/lib/cieloloja/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cieloloja
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
segments:
|
187
187
|
- 0
|
188
|
-
hash:
|
188
|
+
hash: 3778777358984209137
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
none: false
|
191
191
|
requirements:
|