omniauth-spotify 0.0.9 → 0.0.10

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: 6e233a953937ce2b794d7796cf56fdef6c29360b
4
- data.tar.gz: a6bd2885c5463e83713e92167f070050112ea41c
3
+ metadata.gz: bdf552ae9587eab9fc42d3a29e18839e01fb4bd0
4
+ data.tar.gz: 8b654a7a9799d359e68992d7bcd1243e3b8f1628
5
5
  SHA512:
6
- metadata.gz: 29ae06c85cdb722b23e8ad2c1aa1a457ad82d81c7fff7be09bcbd7a42185c4ff0cd12e23f67866e8fc08b902a1cdb8dd5702bc0eae83d134ad25d428ef009022
7
- data.tar.gz: 074f665e01d07077e21d802cd6749545a4c70dbe8719a6ff92b8a23ea7a72ae65b33bddbd32c2a4315095702a5e9ff76ff0aa88e0762012b90ec59daf16718e1
6
+ metadata.gz: 91fd126d70e10c98765f4ca945bcbe4a03d90b7104757123215367d52ae097ada9ab62808a4b2c1a171d57bbf3bbe7954abd481a2f30a90b3c16fc8b9e4cca92
7
+ data.tar.gz: 6bc427de60012737366b591719f6c228aed37e6404b8a5d826d6b12d9006dcd6120c4fb54b758a64bc644ea2025cce5b7d0404000e5bfa59feec4aa6ad67d6b6
@@ -50,6 +50,15 @@ module OmniAuth
50
50
  def raw_info
51
51
  @raw_info ||= access_token.get('me').parsed
52
52
  end
53
+
54
+ def callback_url
55
+ if @authorization_code_from_signed_request_in_cookie
56
+ ''
57
+ else
58
+ # Fixes regression in omniauth-oauth2 v1.4.0 by https://github.com/intridea/omniauth-oauth2/commit/85fdbe117c2a4400d001a6368cc359d88f40abc7
59
+ options[:callback_url] || (full_host + script_name + callback_path)
60
+ end
61
+ end
53
62
  end
54
63
  end
55
64
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Spotify
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-spotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Poli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-18 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -26,8 +26,9 @@ dependencies:
26
26
  version: '1.1'
27
27
  description: OmniAuth strategy for Spotify
28
28
  email:
29
- - |
30
- claudio@icorete.ch
29
+ - 'claudio@icorete.ch
30
+
31
+ '
31
32
  executables: []
32
33
  extensions: []
33
34
  extra_rdoc_files: []
@@ -59,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
60
  version: '0'
60
61
  requirements: []
61
62
  rubyforge_project:
62
- rubygems_version: 2.4.6
63
+ rubygems_version: 2.5.1
63
64
  signing_key:
64
65
  specification_version: 4
65
66
  summary: OmniAuth strategy for Spotify