omniauth-base 0.0.2 → 0.0.3

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: 432cc34409c0cedad495e5fa53598bc9401c05ab
4
- data.tar.gz: d0bade805a7b2408a132ee30ec50cdf0d410505e
3
+ metadata.gz: 550071ca7f8a32783b51f556dd2f45bf2228ac50
4
+ data.tar.gz: a2695dd0794320dd0b0291af45b64c9708c4457b
5
5
  SHA512:
6
- metadata.gz: 7f07a20e7f6ac0c66bcec3df9b2d5a24909eb117e251ca3a0b43744c51955ff32f0b8ccb0761efaf8dfd84cda41e5a45cfc0dac4f4c839cb66cbdcb8a49d1690
7
- data.tar.gz: 748302a3b1e7ef3921010e15d03302d3951da52daddd4ae71d7cdb15d8968a3719624fb027ea76bd5cfc0cd976f800d3f82e7f796404321e296ae730aa324a70
6
+ metadata.gz: 499d505a12910a07d8bbffa845769e4f852d6f935cef2e8d7eecaf69f476211d7c663fcddb2a2b89044fccd104cc2393286edf21cd3a9090b098060135eaffbb
7
+ data.tar.gz: 0bff1842f398ed5217d0a95686276a828c78b97a0d1e564dd40cbe1fc8bc8cefc62ab7080cbc35432b74affe9c04643e96dbca6dfa89689e4d7c48d6d5610264
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Base
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -29,6 +29,10 @@ module OmniAuth
29
29
  def raw_info
30
30
  @raw_info ||= access_token.get('/v2/users/self').parsed
31
31
  end
32
+
33
+ def callback_url
34
+ full_host + script_name + callback_path
35
+ end
32
36
  end
33
37
  end
34
38
  end
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = OmniAuth::Base::VERSION
17
17
 
18
- gem.add_dependency 'omniauth-oauth2', '<= 1.4'
18
+ gem.add_dependency 'omniauth-oauth2', '~> 1.1'
19
19
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - François de Metz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-28 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.4'
19
+ version: '1.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.4'
26
+ version: '1.1'
27
27
  description: OmniAuth strategy for Base.
28
28
  email:
29
29
  - francois@stormz.me