wcc-auth 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c2afec20c4229b28f32abae4da9d22644c57bb2
4
- data.tar.gz: 84abb21d431971dd9ce00576fac0f7aa5b5411d3
3
+ metadata.gz: 57d01159ce3ab3ab2d18212a399143200958daf2
4
+ data.tar.gz: 65c518297631921129094d974ffa4772c62b5db5
5
5
  SHA512:
6
- metadata.gz: b64cd3fccbe65635e39dd47a8e162ec073c960611f2c566ce8db7da513dbdc86a18bbb04427fa14c38f2b1ef8865d30a173a343db1f8a25a19453d5ec710ef8b
7
- data.tar.gz: 5a86a83daf93ec913e5c00bd6fbbf771cedd3357237a7c05d928521ed02c8b28afab82e277fe9d53581c167c95ab4e574e001c8757bb71bbf9274493fb0e2ff1
6
+ metadata.gz: 52fd9725f9e488c655b6087718558887c8fb75167c2fe7ddb6546ce22e20f7a95a615e5d9508474ac3bce764c439e1c65514cad176364eceaa5f3b45c8e2f6e0
7
+ data.tar.gz: 5f42586214cb2495270f7fc8a3c2ff84289c01d8aae61c0c06f97262b1204d548bc7e5b50141e003c9fcfcd93e548c01f484b0b023f2785eddded9e1a3f91c2c
@@ -34,6 +34,8 @@ WCC::Auth::Config = Struct.new(:environment,
34
34
  end
35
35
 
36
36
  def nucleus_url
37
+ return ENV['NUCLEUS_URL'] if ENV['NUCLEUS_URL']
38
+
37
39
  case environment.to_sym
38
40
  when :production
39
41
  "https://login.watermark.org"
@@ -1,5 +1,5 @@
1
1
  module WCC
2
2
  module Auth
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Petticrew