omniauth-fdc 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 2975bc483d12b4b7a724e5b3f1c8ed5b6704c96668cbd462220c1d7a5a219463
4
- data.tar.gz: ab0cdd65d0018c9ef9f7033a751efc6800ddfbf637b6aeaf93bb4db0fb1b48ea
3
+ metadata.gz: 5de989ea1925b1c630923e6af2dcb1d3b81619739a6c7fff6f978c10b5be2192
4
+ data.tar.gz: 57a9b453fd104b5cacb2383d7f72516d76f7a1c8daf9daebe59d791899add07f
5
5
  SHA512:
6
- metadata.gz: 8568de1e5f98a4d9651cb84222ca37966c4e9b3d695fdf14b8b4d094306957eac2053c99e377c5578dc000ebc7de273079b81693d173afc25c3fc426b2871e78
7
- data.tar.gz: e0c0b89584e44a2605eea3b1fcd2e0e03d32a96e75e26e2150b81481f0d9cdc0a053d9aa9058aa1f257a5988a39e49a810908b9be823f82b5b04a53c93cbba48
6
+ metadata.gz: 18503b716d8a289da898f9f68a94c34b7d7d1cd1b7ffcbc20836ab8d7b618465f600d1e1f5e1c359e6e4b2ea149e75d000f0f8827cd53a3bae91b8dddedf8799
7
+ data.tar.gz: a578b0b5106fbbcc9334cf210180833b4136e45562f48ca4d4bc751422f02409f9521b8613c2aad5d3a8e6c87176c73c9f429b569773d57e3e207b4ff1e6540e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-fdc (0.1.0)
4
+ omniauth-fdc (0.1.1)
5
5
  omniauth-oauth2
6
6
 
7
7
  GEM
@@ -27,7 +27,7 @@ GEM
27
27
  omniauth-oauth2 (1.6.0)
28
28
  oauth2 (~> 1.1)
29
29
  omniauth (~> 1.9)
30
- rack (2.2.2)
30
+ rack (2.2.3)
31
31
  rake (10.5.0)
32
32
  rspec (3.8.0)
33
33
  rspec-core (~> 3.8.0)
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Fdc
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -7,7 +7,12 @@ module OmniAuth
7
7
  option :client_options, {
8
8
  :authorize_url => '/oauth/authorize',
9
9
  :token_url => '/oauth/access_token',
10
- }
10
+ }
11
+
12
+ def callback_url
13
+ options[:callback_url] || (full_host + script_name + callback_path)
14
+ end
15
+
11
16
  end
12
17
  end
13
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-fdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sreejith Pillai
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-21 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -92,7 +92,7 @@ homepage: https://github.com/dropstream/omniauth-fdc
92
92
  licenses: []
93
93
  metadata:
94
94
  allowed_push_host: https://rubygems.org
95
- post_install_message:
95
+ post_install_message:
96
96
  rdoc_options: []
97
97
  require_paths:
98
98
  - lib
@@ -107,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.0.6
111
- signing_key:
110
+ rubygems_version: 3.0.8
111
+ signing_key:
112
112
  specification_version: 4
113
113
  summary: OmniAuth strategy for Fulfillment.com
114
114
  test_files: []