omniauth-passport 0.2.1 → 0.3.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cb4aa47eef03996bb522b5c8685e585a7885d722
4
+ data.tar.gz: 06bcf165aa2e62b72705a05187d7289714cc72c5
5
+ SHA512:
6
+ metadata.gz: 1cbe224757aaf9a13f53f296f736d6424f1c73cf2b44ce08cf9297e77099ded63c717a384f79117066224b31d1b7fafb6990e8a6bbe752cea402d76df55bed34
7
+ data.tar.gz: 08af3624c9670ccb73ab0c8b11d07368d69ffd31d88b8d5b5153979e09db84949b065789c7d8b23f80f0cabbec762c0a441d801d1c91dd994cc74439df067e65
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Passport
3
- VERSION = "0.2.1"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -31,6 +31,10 @@ module OmniAuth
31
31
  parsed.fetch 'user', Hash.new
32
32
  end
33
33
  end
34
+
35
+ def callback_url
36
+ full_host + script_name + callback_path
37
+ end
34
38
  end
35
39
  end
36
40
  end
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Omniauth::Passport::VERSION
17
17
 
18
- gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.1.1'
18
+ gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.1'
19
19
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-passport
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.1
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tim Cooper
@@ -10,24 +9,22 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-07-10 00:00:00.000000000 Z
12
+ date: 2016-09-18 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- version_requirements: !ruby/object:Gem::Requirement
15
+ name: omniauth-oauth2
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.1.1
21
- none: false
22
- name: omniauth-oauth2
20
+ version: '1.1'
23
21
  type: :runtime
24
22
  prerelease: false
25
- requirement: !ruby/object:Gem::Requirement
23
+ version_requirements: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - ~>
25
+ - - "~>"
28
26
  - !ruby/object:Gem::Version
29
- version: 1.1.1
30
- none: false
27
+ version: '1.1'
31
28
  description: OmniAuth strategy for Everyday Hero's Passport
32
29
  email:
33
30
  - timc@everydayhero.com.au
@@ -36,7 +33,7 @@ executables: []
36
33
  extensions: []
37
34
  extra_rdoc_files: []
38
35
  files:
39
- - .gitignore
36
+ - ".gitignore"
40
37
  - Gemfile
41
38
  - LICENSE
42
39
  - README.md
@@ -47,26 +44,25 @@ files:
47
44
  - omniauth-passport.gemspec
48
45
  homepage: http://everydayhero.github.com/omniauth-passport
49
46
  licenses: []
47
+ metadata: {}
50
48
  post_install_message:
51
49
  rdoc_options: []
52
50
  require_paths:
53
51
  - lib
54
52
  required_ruby_version: !ruby/object:Gem::Requirement
55
53
  requirements:
56
- - - ! '>='
54
+ - - ">="
57
55
  - !ruby/object:Gem::Version
58
56
  version: '0'
59
- none: false
60
57
  required_rubygems_version: !ruby/object:Gem::Requirement
61
58
  requirements:
62
- - - ! '>='
59
+ - - ">="
63
60
  - !ruby/object:Gem::Version
64
61
  version: '0'
65
- none: false
66
62
  requirements: []
67
63
  rubyforge_project:
68
- rubygems_version: 1.8.23
64
+ rubygems_version: 2.5.1
69
65
  signing_key:
70
- specification_version: 3
66
+ specification_version: 4
71
67
  summary: OmniAuth strategy for Everyday Hero's Passport
72
68
  test_files: []