nm-gigya 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gigya/connection.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1e812bdc1c3eac6a46f6ad74f93e70bfc4337f5
4
- data.tar.gz: 956a02434949956193e89918da9c01f55d86cb59
3
+ metadata.gz: e4a37567945dc0f524265eba16c2dd3c8a18f576
4
+ data.tar.gz: 5de787151d9b3209e9936e47e874fa9708f7075a
5
5
  SHA512:
6
- metadata.gz: aaa472edaecc5856ce1b66a95ba4fa4bd553bc71533201e64a3fceed11a53ec1444e576e38e9bdcbf9e0dcc80aecd145e7259abd65b082e86ad333c72c68c142
7
- data.tar.gz: 18ff50dc1b21b29e50cbea1d61934574cf47363a0b3f190775e3c6e192f9a7551cd1a9033495f09f1f5cc58b84b972cd304b35691624bd66326deceb36ed7c40
6
+ metadata.gz: b82bd53c297582b3e646c0cb33e0cc10d12d585305dcedf12eb56cd06ac9a7f9523a961ad6862f8d06e25dc7d86e05fffe85003831b140cc70bc03831ea6f3ad
7
+ data.tar.gz: 63f4dbd850a7bcfef7e4c974cc456e466c5e1c90e4c7c986a03a0a1422a5feb8779bc89af1c092ae1ba7681520c37f87605098ac5f59cf6c784a7a19f13f0c04
@@ -154,10 +154,10 @@ module Gigya
154
154
  GIGYA_BASE_URL="gigya.com"
155
155
  def self.shared_connection
156
156
  @@connection ||= self.new(
157
- :datacenter => Rails.application.secrets.gigya_datacenter || "us1",
158
- :api_key => Rails.application.secrets.gigya_api_key,
159
- :user_key => Rails.application.secrets.gigya_user_key,
160
- :user_secret => Rails.application.secrets.gigya_user_secret
157
+ :datacenter => ENV["GIGYA_DATACENTER"] || "us1",
158
+ :api_key => ENV["GIGYA_API_KEY"],
159
+ :user_key => ENV["GIGYA_USER_KEY"],
160
+ :user_secret => ENV["GIGYA_USER_SECRET"]
161
161
  )
162
162
  end
163
163
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nm-gigya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett