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 CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "cieloloja"
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["TByte Consultoria", "Giulliano Bueno"]
@@ -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
- if @environment.ssl_verify_mode == nil
10
- @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
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
 
@@ -2,7 +2,7 @@ module Cieloloja
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
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.3
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: -3512193458132830300
188
+ hash: 3778777358984209137
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements: