omniauth-applicaster 1.3.4 → 1.3.5

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: 4e9074ea4ccb8f9890af08d92a9d545fc4b1aae1
4
- data.tar.gz: d1815e9a3809d90d62c60f4987213a36c71f89eb
3
+ metadata.gz: abf2a06f59ec30997c33786d50af2ab2b08316bc
4
+ data.tar.gz: a7860523ee16b1f1735fc80b5e92217f25551492
5
5
  SHA512:
6
- metadata.gz: 8029917d6ee422a7b8d7870345afefaba077276014774dea91b25891720ca4a4d9714824032ff7dc2e4246e2505a4afd7203589057acef372e9c635033867c23
7
- data.tar.gz: 3b58c45ac99eb64f24d7290ae11eb90d604631ee95276c5bf810a0cb7c2f04d38e7e0a5366c4b9585f67ab73802a008de6d54be1a6834fdbe0694680e09cde62
6
+ metadata.gz: ff1cef9d62cc1faa39ebab89b371ae091db5f7c1ddfcd5832584b1a26392780d22c2bf2f80c20ba39173120461b4af3d6d330cd408f974acfc43ba336da5db30
7
+ data.tar.gz: 8a6fe49f4a8e5b5c6b900f028d15b54d8abe8a11b615cabe639602903b111134d534df12a4b4830967bc08a5b36eaef12b62a0ecd5771333738384f91f1805a6
data/README.md CHANGED
@@ -24,8 +24,13 @@ Applicaster::Accounts.configure do |config|
24
24
  config.client_id = "my-service-uid"
25
25
  config.client_secret = "my-service-secret"
26
26
 
27
- #use local accounts service with Pow when in development
28
- config.base_url = "http://accounts2.dev/" if Rails.env.development?
27
+ if Rails.env.development?
28
+ # Use local accounts service with Pow when in development
29
+ config.base_url = "http://accounts2.dev/"
30
+
31
+ # Set the timeout for the accounts SDK requests in seconds
32
+ config.timeout = 60
33
+ end
29
34
  end
30
35
  ```
31
36
 
@@ -75,7 +75,7 @@ module Applicaster
75
75
  yield config
76
76
  end
77
77
 
78
- def oauth_client(config = config)
78
+ def oauth_client(config = config())
79
79
  ::OAuth2::Client.new(
80
80
  config.client_id,
81
81
  config.client_secret,
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Applicaster
3
- VERSION = "1.3.4"
3
+ VERSION = "1.3.5"
4
4
  end
5
5
  end
@@ -1,9 +1,9 @@
1
1
  RSpec.configure do |config|
2
2
  config.before do
3
3
  Applicaster::Accounts.instance_variable_set(:@config, nil)
4
- Applicaster::Accounts.configure do |config|
5
- config.client_id = "client-id"
6
- config.client_secret = "client-secret"
4
+ Applicaster::Accounts.configure do |accounts_config|
5
+ accounts_config.client_id = "client-id"
6
+ accounts_config.client_secret = "client-secret"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-applicaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neer Friedman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.2.2
178
+ rubygems_version: 2.4.5
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Omniauth strategy for http://accounts.applicaster.com