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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84de04f038d3792dabf74cbbcc5390080f54ced8
4
- data.tar.gz: a41bb8c5647fd70be85b09a7d033c83add38fd78
3
+ metadata.gz: 8ada8281ebccc37c590fadc4437297c9532f5b53
4
+ data.tar.gz: 268546c0ec15eba63341d8d0d4aabecee9087b8a
5
5
  SHA512:
6
- metadata.gz: ffc80bda9ac643aba436909cf99aabe2d206421584dac507d01a3710902c237ca50b68232e5940ff333db74d7101a131a8fee48a8d8425d1448983fb8614da43
7
- data.tar.gz: a9f9faabac0e9fde98d3a9b3d44a026d36c8db4372dac5528ebcc5b8501b984a12a233f1f64e25008b46fa99e7e936f390f5072405e29e9d0cebada93b1116c8
6
+ metadata.gz: 3c08d5cdbec65dc6a8619ce954be786fe7ec7da2c12952141ed60fc9e721432abdc73912f024d19e2f75a3f3781ff9521f54d5a1e0033aabbef3a7d014cc6a06
7
+ data.tar.gz: f1e554ba44a8262bbcb33273986a7ec537bb0666956a7068ca5d8fe2cfa1241b267e59e515c910bad2753b0cc3b7cb99d15527decc83555aa48b6da589e55fec
@@ -21,7 +21,13 @@ module ArtsyAuth
21
21
 
22
22
  class << self
23
23
  def configure
24
- block_given? ? yield(Config) : Config
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
@@ -1,3 +1,3 @@
1
1
  module ArtsyAuth
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
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
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
@@ -1,3 +0,0 @@
1
- OmniAuth::Artsy.configure do |config|
2
- config.artsy_api_url = ArtsyAuth.config.artsy_api_url
3
- end