artsy-auth 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 206c2b3a6a177216b9512fd14c96c528fd8b5e8b
4
- data.tar.gz: 48d7bf5ad6bf22e953b15ea18bfa22ce96a30439
3
+ metadata.gz: 8b78a8d17ff2d0dbdfec108c07ba42b8c001184b
4
+ data.tar.gz: 1d3825eded87020e0e1c02d80e0c5f7de1353348
5
5
  SHA512:
6
- metadata.gz: 09319c87b4abf154de87b2089e1135fd01201462bc32f431643c00e451f8b1e62960f807d8500a2e28ac061e84d772b01cfd9a04e3776c3bfd630b11fec54a28
7
- data.tar.gz: 8528b2ec18cdc418198146bb469526f78cf6a7ab3a0e62dc796fbbac0b0a20b01261f6c98970a721e7b1ac74ccfa9ecc667f1b859af2e94312908c26d5ed895d
6
+ metadata.gz: cd572ec4ae74a2996dce7596f07cd0a65891a53b8e1ca8d4ed0151c5f763f78ff7e09a26bde30da6dadd3e0d8ac7411782b730ecfebcf421aa5b81bc3f83f70b
7
+ data.tar.gz: ffd62fceb97fe19154268a03b4cfe657e6da75e98852020586b3c59272466eb79424495d4f53fe7c223ed032346b0d54ef2c6f2604d80d46311367351a12ed95
@@ -5,12 +5,12 @@ module ArtsyAuth
5
5
  session[:user_id] = auth_hash['uid']
6
6
  session[:email] = auth_hash['info']['raw_info']['email']
7
7
  session[:access_token] = auth_hash['credentials']['token']
8
- redirect_to ArtsyAuth.config[:callback_url]
8
+ redirect_to ArtsyAuth.config.callback_url
9
9
  end
10
10
 
11
11
  def destroy
12
12
  reset_session
13
- redirect_to "#{ArtsyAuth.config[:artsy_url]}/users/sign_out"
13
+ redirect_to "#{ArtsyAuth.config.artsy_url}/users/sign_out"
14
14
  end
15
15
 
16
16
  protected
@@ -1,3 +1,3 @@
1
1
  module ArtsyAuth
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artsy