queue_it 1.1.6 → 1.1.7

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: 587c18b540a06d28dee61fffa7ad6edba32dbd61
4
- data.tar.gz: a658b21277dac5846d7d65a211f38a92e890d115
3
+ metadata.gz: a7b1505eda52ea1576812bb670baec3bcabdb7c5
4
+ data.tar.gz: bd7e13731fca84a9ee97d668b8af05ead0d710c1
5
5
  SHA512:
6
- metadata.gz: b1c61dc1c06bcd8856d390a97153146bc4e9cffd03a9715b7cee7c0c7dec9cf1d734094df2eb149dfcb0375e020f54454d758401faac2fab8df18bbe4116440d
7
- data.tar.gz: 60251cb3097573560e11d35af2d6499d7b9546f7712154c4b9ea3aa765bb3b6dfab9fc3c387919193c69fda24f6a0ae8ea339a066f294c2825e891190b857de6
6
+ metadata.gz: f651fd91b75787ad78d6dfd3a8344b330202d83a76c8b961757b7b06526f274d0bdfed241c2ae33b94557dfff392b22bdb691fddff9957b2a0a6e93eda780f5a
7
+ data.tar.gz: 32e113df2386296f148beabf018b296382c169f18dc060fde80efcc0eca094002e129c19f9afbd6e10fbfe8ede8b0e41e26cac3b9d0885fbad365672c118d1c1
@@ -8,7 +8,7 @@ module QueueIt
8
8
  module Api
9
9
  class Client
10
10
  JSON_FORMAT = "application/json".freeze
11
- ENDPOINT_URL = URI("https://api2.queue-it.net/2_0_beta/event").freeze
11
+ ENDPOINT_URL = URI("https://api2.queue-it.net/2_0/event").freeze
12
12
 
13
13
  def initialize(api_key: nil, debug: false)
14
14
  self.api_key = api_key
@@ -1,3 +1,3 @@
1
1
  module QueueIt
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
@@ -113,7 +113,7 @@ module QueueIt
113
113
 
114
114
  body = JSON.generate(valid_create_body)
115
115
 
116
- stub = stub_request(:put, "https://api2.queue-it.net/2_0_beta/event/fancyevent")
116
+ stub = stub_request(:put, "https://api2.queue-it.net/2_0/event/fancyevent")
117
117
  .with(body: body, headers: headers)
118
118
 
119
119
  event_adapter.create_or_update(event_id: event_id,
@@ -171,7 +171,7 @@ module QueueIt
171
171
  specify "Proper speed value is set" do
172
172
  body = { "MaxRedirectsPerMinute" => "15" }
173
173
 
174
- stub = stub_request(:put, "https://api2.queue-it.net/2_0_beta/event/fancyevent/queue/speed")
174
+ stub = stub_request(:put, "https://api2.queue-it.net/2_0/event/fancyevent/queue/speed")
175
175
  .with(body: body, headers: headers)
176
176
 
177
177
  event_adapter.set_speed(event_id: event_id, max_redirects_per_minute: max_redirects_per_minute)
@@ -182,7 +182,7 @@ module QueueIt
182
182
  specify "Speed must be greater than 5 so we send at least 5" do
183
183
  expected_body = { "MaxRedirectsPerMinute" => "5" }
184
184
 
185
- stub = stub_request(:put, "https://api2.queue-it.net/2_0_beta/event/fancyevent/queue/speed")
185
+ stub = stub_request(:put, "https://api2.queue-it.net/2_0/event/fancyevent/queue/speed")
186
186
  .with(body: expected_body, headers: headers)
187
187
 
188
188
  event_adapter.set_speed(event_id: event_id, max_redirects_per_minute: 1)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billetto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-15 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.5.1
146
+ rubygems_version: 2.6.14.4
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Gem to handle the implementation of http://queue-it.net