omniauth-clever 1.2.1 → 1.2.2

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: 66fffece22d76f800d950c85b783f41f5879bfad
4
- data.tar.gz: 05ccd3ee2aad3d7b5f443c53de7fc995f2e780e9
3
+ metadata.gz: 31e53f4c09672f0515cdb8a6c4a0d01b1798cf0a
4
+ data.tar.gz: b42a76c58b876d257d7da861aa7bece1360d1d3b
5
5
  SHA512:
6
- metadata.gz: 15eec45d3d127ed0c77266692be1c75e6c7db2e5341f93e38e47b80d6071ad117fa9fb793f33afa6eb9a9a9d0fa46ece7bac407d5d01accef8f00d22f9ae8049
7
- data.tar.gz: 0aa20f2e688be841911850a15a4dd032bd418c7e58e356cb1a5f41a01345772d1b29806adfe5c2deee8929cdfab9a185267c6b80f463050802259c8a14d11309
6
+ metadata.gz: 2edfabbd9f3c1e332400bbe3ad72ddf454e693fe1a9b043826ad93897b2dced2e5ba9b5f275af3e143641095ebb26b69b8e0047cddbdefb82fc15213b16491dc
7
+ data.tar.gz: 04317b60fab065009b58a34033ad2a26fe172d5814953b3459f30b4ac4f5d5e9e02e03eae596c5d5b95947324dfbf32f419979d5c4a3f2b01c64bc17ed00c5ef
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Clever
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
@@ -57,6 +57,11 @@ module OmniAuth
57
57
  def raw_info
58
58
  @raw_info ||= access_token.get('/me').parsed
59
59
  end
60
+
61
+ # Fix unknown redirect uri bug by NOT appending the query string to the callback url.
62
+ def callback_url
63
+ full_host + script_name + callback_path
64
+ end
60
65
  end
61
66
  end
62
67
  end
@@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
22
22
  gem.require_paths = ["lib"]
23
23
 
24
- gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.1.1'
24
+ gem.add_runtime_dependency 'omniauth-oauth2', '>= 1.1', '<= 1.5'
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-clever
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carol Nichols
@@ -10,22 +10,28 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
12
  - gem-public_cert.pem
13
- date: 2015-08-07 00:00:00.000000000 Z
13
+ date: 2018-08-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: omniauth-oauth2
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1.1
21
+ version: '1.1'
22
+ - - "<="
23
+ - !ruby/object:Gem::Version
24
+ version: '1.5'
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - "~>"
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '1.1'
32
+ - - "<="
27
33
  - !ruby/object:Gem::Version
28
- version: 1.1.1
34
+ version: '1.5'
29
35
  description: OmniAuth strategy for clever.com SSO OAuth2 integration
30
36
  email:
31
37
  - cnichols@thinkthroughmath.com
@@ -65,10 +71,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
71
  version: '0'
66
72
  requirements: []
67
73
  rubyforge_project:
68
- rubygems_version: 2.2.2
74
+ rubygems_version: 2.6.12
69
75
  signing_key:
70
76
  specification_version: 4
71
77
  summary: The unofficial strategy for authenticating people using clever.com to your
72
78
  application using Clever's OAuth2 provider
73
79
  test_files: []
74
- has_rdoc: