artsy-auth 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/artsy-auth/config.rb +7 -1
- data/lib/artsy-auth/version.rb +1 -1
- metadata +1 -2
- data/config/initializers/omniauth_artsy.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ada8281ebccc37c590fadc4437297c9532f5b53
|
4
|
+
data.tar.gz: 268546c0ec15eba63341d8d0d4aabecee9087b8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c08d5cdbec65dc6a8619ce954be786fe7ec7da2c12952141ed60fc9e721432abdc73912f024d19e2f75a3f3781ff9521f54d5a1e0033aabbef3a7d014cc6a06
|
7
|
+
data.tar.gz: f1e554ba44a8262bbcb33273986a7ec537bb0666956a7068ca5d8fe2cfa1241b267e59e515c910bad2753b0cc3b7cb99d15527decc83555aa48b6da589e55fec
|
data/lib/artsy-auth/config.rb
CHANGED
@@ -21,7 +21,13 @@ module ArtsyAuth
|
|
21
21
|
|
22
22
|
class << self
|
23
23
|
def configure
|
24
|
-
block_given?
|
24
|
+
if block_given?
|
25
|
+
yield(Config)
|
26
|
+
OmniAuth::Artsy.configure do |config|
|
27
|
+
config.artsy_api_url = ArtsyAuth.config.artsy_api_url
|
28
|
+
end
|
29
|
+
end
|
30
|
+
Config
|
25
31
|
end
|
26
32
|
|
27
33
|
def config
|
data/lib/artsy-auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artsy-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artsy
|
@@ -132,7 +132,6 @@ files:
|
|
132
132
|
- README.md
|
133
133
|
- Rakefile
|
134
134
|
- config/initializers/omniauth.rb
|
135
|
-
- config/initializers/omniauth_artsy.rb
|
136
135
|
- config/routes.rb
|
137
136
|
- lib/artsy-auth.rb
|
138
137
|
- lib/artsy-auth/application_controller.rb
|