libring 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libring/api.rb +6 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48adad49298ca7351411998bc81f52145ec48284
4
- data.tar.gz: 9044ab1cf31e67a8fcbe5bd4ee8970b4b2776cf1
3
+ metadata.gz: 83aa912f9fe4d83e5e2f7b0ee52d1908dab7ca93
4
+ data.tar.gz: ad7f03ceb9525059c1137f2f4eb956cc15355fdb
5
5
  SHA512:
6
- metadata.gz: 651fe5f8eaa394781a704d84e45052834dfd51d410b1cc528b249365ba2ed0f9e275c172958f5ccf267975344a27a6b17da5582fe590b496fd9c5b371e5b1047
7
- data.tar.gz: 985ddba732e165278810270231bfed909b038cb9e5c7b8ce25304ea93605b37a9c440c95ceab50ab9aa2fc7d3799fc7c3d6040502b6f6c55c414ab6af3284f7a
6
+ metadata.gz: 46b20cced068d3b2c394088632d5a54da86ffa8be52c356bfce04b70d13dca8bfeaabd9acfc1e25cd77ee30dfb440e0465d7b514b1a92f48d5a44876f48de25b
7
+ data.tar.gz: 7904e4bb8f7902012d6d8e56c4d254cd6127d4e4d13578358c3be1f1e83af1e0b9568702b65e89488ac81550ba13b09f8c15c72058e1b429310151be50003da2
@@ -20,7 +20,7 @@ class Libring::API
20
20
 
21
21
  x += 1
22
22
 
23
- uri = URI.parse("https://api.libring.com/v2/event_tracker")
23
+ uri = URI.parse("https://api-clv.libring.com/v2/event_tracker")
24
24
 
25
25
  https = Net::HTTP.new(uri.host, uri.port)
26
26
  https.use_ssl = true
@@ -54,7 +54,7 @@ class Libring::API
54
54
  require "uri"
55
55
  require "json"
56
56
 
57
- uri = URI.parse("https://api.libring.com/v2/contact/get/" + contact_code.to_s)
57
+ uri = URI.parse("https://api-clv.libring.com/v2/contact/get/" + contact_code.to_s)
58
58
 
59
59
  https = Net::HTTP.new(uri.host, uri.port)
60
60
  https.use_ssl = true
@@ -73,7 +73,7 @@ class Libring::API
73
73
  require "uri"
74
74
  require "json"
75
75
 
76
- uri = URI.parse("https://api.libring.com/v2/contact/put")
76
+ uri = URI.parse("https://api-clv.libring.com/v2/contact/put")
77
77
 
78
78
  https = Net::HTTP.new(uri.host, uri.port)
79
79
  https.use_ssl = true
@@ -98,7 +98,7 @@ class Libring::API
98
98
  require "uri"
99
99
  require "json"
100
100
 
101
- uri = URI.parse("https://api.libring.com/v2/messages/get/" + contact_code.to_s)
101
+ uri = URI.parse("https://api-clv.libring.com/v2/messages/get/" + contact_code.to_s)
102
102
 
103
103
  https = Net::HTTP.new(uri.host, uri.port)
104
104
  https.use_ssl = true
@@ -117,7 +117,7 @@ class Libring::API
117
117
  require "uri"
118
118
  require "json"
119
119
 
120
- uri = URI.parse("https://api.libring.com/v2/messages/get_all")
120
+ uri = URI.parse("https://api-clv.libring.com/v2/messages/get_all")
121
121
 
122
122
  https = Net::HTTP.new(uri.host, uri.port)
123
123
  https.use_ssl = true
@@ -136,7 +136,7 @@ class Libring::API
136
136
  require "uri"
137
137
  require "json"
138
138
 
139
- uri = URI.parse("https://api.libring.com/v2/clv/get/" + contact_code.to_s)
139
+ uri = URI.parse("https://api-clv.libring.com/v2/clv/get/" + contact_code.to_s)
140
140
 
141
141
  https = Net::HTTP.new(uri.host, uri.port)
142
142
  https.use_ssl = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libring
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitor Pereira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-09 00:00:00.000000000 Z
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Libring API for Ruby
14
14
  email: vitor@libring.com