omniauth-applicaster 1.3.4 → 1.3.5
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 +4 -4
- data/README.md +7 -2
- data/lib/applicaster/accounts.rb +1 -1
- data/lib/omniauth-applicaster/version.rb +1 -1
- data/spec/support/set_test_configuration.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abf2a06f59ec30997c33786d50af2ab2b08316bc
|
|
4
|
+
data.tar.gz: a7860523ee16b1f1735fc80b5e92217f25551492
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
28
|
-
|
|
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
|
|
data/lib/applicaster/accounts.rb
CHANGED
|
@@ -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 |
|
|
5
|
-
|
|
6
|
-
|
|
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
|
+
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-
|
|
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.
|
|
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
|