omniauth-cronofy 0.13.1 → 0.14.0

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: e54d280eec4667dd471cbc22a0f1337a90f22b0c21c9e1184e925d2cada4863f
4
- data.tar.gz: 412089c2ca691390b92daf19ecca95f83f27af8c0eae7cb2788bcda6fa17a411
3
+ metadata.gz: 9a45cf338505b370434de749e7a7f79765384ca1ada75fd4916c6d6e3487d1bf
4
+ data.tar.gz: f18971e46e2cb89a08a0fa765e62ecf0c14d031016e43d6cd83a55f23a8ee932
5
5
  SHA512:
6
- metadata.gz: bd170be5d85f86659d53944817d1f4b3083b14db4c51fa415c52f803e268a3a530fe4047c8afb962139bc9c20e13a179d6af768f3dca0e69077eeeda1bc085c7
7
- data.tar.gz: 585bd786ffc043fe284037b57930a5485b9ebec08fcbc1cef4182336fa643504a4ec0ed55b8357ebf2da48159833cf3683f185ee29977fdfeee4119c3b35d6c1
6
+ metadata.gz: 4bd27e6c335773d273a516c93789dcada4ef8905c427cf12c9c641235d00c2529eabbac6b1408f209dfaf0f6272a27885eb9d942f4f0b883eb9f9659320c81cf
7
+ data.tar.gz: 7c707b2992990998a1ab21266a8392843e2ed8dbf576d62a06349503769510353ddbbd9d829f26bf3ab762fbff8ec83211bcb7006a31221104832675ab630d67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
+ ## [0.14.0]
2
+
3
+ * Add support for new data centers: 'au', 'ca', 'sg', and 'uk'
4
+
1
5
  ## [0.13.1]
2
6
 
3
7
  * Loosen dependencies for OmniAuth 2.x
4
8
 
5
9
  [0.13.1]: https://github.com/cronofy/omniauth-cronofy/releases/tag/v0.13.1
10
+ [0.14.0]: https://github.com/cronofy/omniauth-cronofy/releases/tag/v0.14.0
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Cronofy
3
- VERSION = '0.13.1'.freeze
3
+ VERSION = '0.14.0'.freeze
4
4
  end
5
5
  end
@@ -17,7 +17,9 @@ module OmniAuth
17
17
 
18
18
  def data_center_url(type, value)
19
19
  case value.to_s
20
- when 'de'
20
+ when "", "us"
21
+ "https://#{type}.cronofy.com"
22
+ else
21
23
  "https://#{type}-#{value}.cronofy.com"
22
24
  end
23
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-cronofy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Bird
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-22 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: omniauth
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.2.4
134
+ rubygems_version: 3.2.16
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: OmniAuth strategy for authenticating with Cronofy