queue_it 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: f11577e97ce556432a30d08b8ba74a6445bc9b1e5da0a3142f635f446244c3fc
4
- data.tar.gz: cc3738902c861b0458d22fcdbb3488ffe1175c814e0368c763d6d8e84ec2104e
3
+ metadata.gz: 87e336fa29f833214ed5425988535193cd775810fb5d614b652e393dcdbe39be
4
+ data.tar.gz: f62d9a933de73a20a73a9d8f6886017ea53bc4e8ecdc6a33f913b48d49e0d2f4
5
5
  SHA512:
6
- metadata.gz: e55018d02461c0dde121202e00fa9417c293422bb4fb937c94ecb669b6ecfcb7eccd7432660883c1c629e92b45b7a0d0de947fec9837ac9e1e3995526351d327
7
- data.tar.gz: 4ddf7fd7661186ba14ce8d2cfc2179b9627e1249cf7cbedc675ca32fac2c58b76e808ebc2f6d476ac41fc87a624f49cc66a493327068cd7ec064463cb1031d29
6
+ metadata.gz: 38b9b4495c80e794ef00490f6f0f5d30026579c97d2ec10cbe3f83aa0a9948e853f0b6559e76186ad49498ae2efe99e0f2a846734d63765ba00a44ba45b02d61
7
+ data.tar.gz: 3d2e2fdbb14a313939ff75dcd04d609e557d9f002c0894907a5bfe13763668f268758074a815c59d0b1fe7bcad2a8c1d58894aaaba37762c980fe2b8ef622aa9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 2.0.1 - 2021-04-26
2
+
3
+ * Updated the queue and cancel URL from `q.queue-it.net` to `customer_id.queue-it.net`.
4
+ * Updated the queue URLs to use https.
5
+
1
6
  ### 2.0.0 - 2020-10-29
2
7
 
3
8
  * A customer ID is needed to create a client instance
@@ -3,11 +3,11 @@ require 'addressable/uri'
3
3
  module QueueIt
4
4
  class UrlBuilder
5
5
  def self.build_queue_url(customer_id, event_id, redirect_url)
6
- "http://q.queue-it.net/?c=#{customer_id}&e=#{event_id}&t=#{CGI.escape(redirect_url)}"
6
+ "https://#{customer_id}.queue-it.net/?c=#{customer_id}&e=#{event_id}&t=#{CGI.escape(redirect_url)}"
7
7
  end
8
8
 
9
9
  def self.build_cancel_url(customer_id, event_id, queue_id = nil)
10
- "http://q.queue-it.net/cancel.aspx?c=#{customer_id}&e=#{event_id}&q=#{queue_id}"
10
+ "https://#{customer_id}.queue-it.net/cancel.aspx?c=#{customer_id}&e=#{event_id}&q=#{queue_id}"
11
11
  end
12
12
 
13
13
  # Removes all queue_it params from URL
@@ -1,3 +1,3 @@
1
1
  module QueueIt
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billetto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-29 00:00:00.000000000 Z
11
+ date: 2021-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -28,42 +28,42 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0.9'
34
31
  - - "<="
35
32
  - !ruby/object:Gem::Version
36
33
  version: '2.0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0.9'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: '0.9'
44
41
  - - "<="
45
42
  - !ruby/object:Gem::Version
46
43
  version: '2.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0.9'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: faraday_middleware
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '0.9'
54
51
  - - "<="
55
52
  - !ruby/object:Gem::Version
56
53
  version: '2.0'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0.9'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: '0.9'
64
61
  - - "<="
65
62
  - !ruby/object:Gem::Version
66
63
  version: '2.0'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0.9'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: bundler
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.0.3
157
+ rubygems_version: 3.2.3
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Gem to handle the implementation of http://queue-it.net