omniauth-paypal-oauth2 1.4.10 → 1.4.11

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: 25e5f8ce9d8e823e3277e9a50d6467fb97f59fdf
4
- data.tar.gz: a2ca63c084caf79e9ee0e8150d10b51ac7c33d1f
3
+ metadata.gz: dd2f166f6e0686965fa8b2ebae679c4b8b5d8b8f
4
+ data.tar.gz: df9cc586c668c542d040fe8b78cb576f5c47e59f
5
5
  SHA512:
6
- metadata.gz: 2995e3a47d5b328ab94268bc7ff372b15092343612a01b137d552e4b9724a2cab0bad6c54445828f7e63c259c56dea0915623c48b9538f7b3e847ba0f7fe67dc
7
- data.tar.gz: 9b1ec6f0a1cc8661fb5310cfe41b9adce4cb3917de836ebd99fe1089eb4dfa25c9e92ece699591a4e474198dd67b24c2c2a828119ef07f27cacb0c8758d7aed6
6
+ metadata.gz: a1231f151ae6a74fb9ea595c5b0ba26c9c7a0116b89cb8b676470c0537fddbbfa54ad746b8aab10dca62b04bdf7b102c49d195c977b24dac73f1dac94b511e9f
7
+ data.tar.gz: 9f006baaa3344629cfd61afa6e40298f622d4d327151b4d42f594a1c1f0e0381cf89dd7e12f0f2e29058c4519ceb6c8f11d83bc6077437a83d9605a59f59d93f
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
data/README.md CHANGED
@@ -57,7 +57,7 @@ You can now access the OmniAuth PayPal OAuth2 URL: `/auth/paypal_oauth2`
57
57
 
58
58
  If you click from your [Applications Dashboard](https://developer.paypal.com/developer/applications/) in your Application on "Advanced Options" in the "APP SETTINGS" section and "Log In with PayPal" subsection, you can configure several options:
59
59
 
60
- * `Basic authentication`: The unique identifier PPID (PayPal ID) is provided. No additional customer information. **Not customizale**.
60
+ * `Basic authentication`: The unique identifier PPID (PayPal ID) is provided. No additional customer information. **Not customizable**.
61
61
 
62
62
  * `Personal Information`:
63
63
  * `Full name`: Permits the Name of the customer.
@@ -225,5 +225,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
225
225
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
226
226
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
227
227
  SOFTWARE.
228
-
229
- <i>Original PayPal Omniauth Strategy: Copyright (c) 2011 by veloGraf Systems</i>
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module PayPalOauth2
3
- VERSION = "1.4.10"
3
+ VERSION = "1.4.11"
4
4
  end
5
5
  end
@@ -51,6 +51,10 @@ module OmniAuth
51
51
  })
52
52
  end
53
53
 
54
+ def callback_url
55
+ full_host + script_name + callback_path
56
+ end
57
+
54
58
  def setup_phase
55
59
  if options.sandbox
56
60
  options.client_options[:site] = SANDBOX_SITE
@@ -70,6 +74,10 @@ module OmniAuth
70
74
  end
71
75
  end
72
76
 
77
+ def callback_url
78
+ full_host + script_name + callback_path
79
+ end
80
+
73
81
  private
74
82
 
75
83
  def load_identity
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-paypal-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.10
4
+ version: 1.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-11 00:00:00.000000000 Z
11
+ date: 2017-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.6.8
116
+ rubygems_version: 2.6.11
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: A PayPal OAuth2 strategy for OmniAuth 1.x