libring 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libring/api.rb +6 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dd75a8f4caaa467f5b1deda8be625486fcd739a
4
- data.tar.gz: 555b7dafd35e61ecaa537e55e50aef9a73608f03
3
+ metadata.gz: d56ce2a2deffb9ebe5ecb8dc27ec65455978f871
4
+ data.tar.gz: 6098aa42b2a710d2fa1e4b57898d402533def659
5
5
  SHA512:
6
- metadata.gz: 6093f6c4411cf1b2d0e1032534e86692d4f21b73dd5433dc0a7a44e05f628a58b7b1582820ed7814f0bcb289aad600b682c47d417aa43f8318354207b08912af
7
- data.tar.gz: b663295e36441f53f769351676391de9660b01030c83783d05ff5b785b8093ee7f273e5156cf6b884ebc3015e49cd3b50935bfbedd58a3f6200a0615419e443f
6
+ metadata.gz: 7fe136c95b95556a2001a0fb2fafec0e655f59fb1c2866d711433a2ed7ec381a4a47d63f97e1e7035f63e58343073f0463737733395cf7543cfe78fc47612c4b
7
+ data.tar.gz: 2a1ab0b60b1470c26acc32658573ef22c4ee2ca33f2cb05430ace6328bf90c597b435d28e3cfc609e1f7fde1ea0951c717e42e2a5ca59c301b9ebb9ca3f54c8f
@@ -23,7 +23,7 @@ class Libring::API
23
23
  uri = URI.parse("http://api-clv.libring.com/v2/event_tracker")
24
24
 
25
25
  https = Net::HTTP.new(uri.host, uri.port)
26
- https.use_ssl = true
26
+ https.use_ssl = false
27
27
  https.verify_mode = OpenSSL::SSL::VERIFY_NONE
28
28
 
29
29
  req = Net::HTTP::Post.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
@@ -57,7 +57,7 @@ class Libring::API
57
57
  uri = URI.parse("http://api-clv.libring.com/v2/contact/get/" + contact_code.to_s)
58
58
 
59
59
  https = Net::HTTP.new(uri.host, uri.port)
60
- https.use_ssl = true
60
+ https.use_ssl = false
61
61
 
62
62
  req = Net::HTTP::Get.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
63
63
 
@@ -76,7 +76,7 @@ class Libring::API
76
76
  uri = URI.parse("http://api-clv.libring.com/v2/contact/put")
77
77
 
78
78
  https = Net::HTTP.new(uri.host, uri.port)
79
- https.use_ssl = true
79
+ https.use_ssl = false
80
80
 
81
81
  req = Net::HTTP::Post.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
82
82
 
@@ -101,7 +101,7 @@ class Libring::API
101
101
  uri = URI.parse("http://api-clv.libring.com/v2/messages/get/" + contact_code.to_s)
102
102
 
103
103
  https = Net::HTTP.new(uri.host, uri.port)
104
- https.use_ssl = true
104
+ https.use_ssl = false
105
105
 
106
106
  req = Net::HTTP::Get.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
107
107
 
@@ -120,7 +120,7 @@ class Libring::API
120
120
  uri = URI.parse("http://api-clv.libring.com/v2/messages/get_all")
121
121
 
122
122
  https = Net::HTTP.new(uri.host, uri.port)
123
- https.use_ssl = true
123
+ https.use_ssl = false
124
124
 
125
125
  req = Net::HTTP::Get.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
126
126
 
@@ -139,7 +139,7 @@ class Libring::API
139
139
  uri = URI.parse("http://api-clv.libring.com/v2/clv/get/" + contact_code.to_s)
140
140
 
141
141
  https = Net::HTTP.new(uri.host, uri.port)
142
- https.use_ssl = true
142
+ https.use_ssl = false
143
143
 
144
144
  req = Net::HTTP::Get.new(uri.request_uri, initheader = {'Content-Type' =>'application/json', 'Authorization' => "Token #{@token}"})
145
145
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libring
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitor Pereira