omniauth-paypal-oauth2 1.4.3 → 1.4.4

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: 1de40fa2abb67c3e4b4f33983148693a71e78356
4
- data.tar.gz: 1bb24c1fe181b287bbe7d8beb6c3d8b2e0d27535
3
+ metadata.gz: b007aef77c717793786b58de2e91d263c31663a2
4
+ data.tar.gz: d1b44cf1261d9e381f976e4b00d5316e0ad42840
5
5
  SHA512:
6
- metadata.gz: 98f789936747f04f875010490ba68a9ae7dccaa05abfc11c91e436ee00b05e1ccaec4898335aaaf67c5637fd7a7c75956405bf1802cbe8da61fe95da452c7d78
7
- data.tar.gz: 54e36224dbf5f61bdc62c8a27ced0799d24ae0c3e31a9000a07f1f84d2a7cac8dc9291ee7c58898b952ee4ad86021f4059d3583ce0526889ecd5a3dae950a20a
6
+ metadata.gz: a6314646cc1cf649cd6e1020499ec72b395ce034bcd7809937a5be2d2e4765e11100082692082f53d4d998628e8009097e448d2f916e8bb11decdbccf21699cf
7
+ data.tar.gz: 24ac1d6d0e8fd7acf732447e1ac94c0b965c0ec3f2090c092034532195e6e8c9e800e892a1fd5ff50400a514a79bf4a33bb3f3192baa42a830aeae17f422b1a1
data/CNAME ADDED
@@ -0,0 +1 @@
1
+ omniauth-paypal-oauth2.jonhue.me
data/README.md CHANGED
@@ -1,7 +1,3 @@
1
- [![Gem Version](https://badge.fury.io/rb/omniauth-google-oauth2.svg)](https://badge.fury.io/rb/omniauth-google-oauth2)
2
- [![Build Status](https://travis-ci.org/zquestz/omniauth-google-oauth2.svg)](https://travis-ci.org/zquestz/omniauth-google-oauth2)
3
-
4
-
5
1
  # OmniAuth PayPal OAuth2 Strategy
6
2
 
7
3
  Strategy to authenticate with PayPal via OmniAuth.
data/_config.yml ADDED
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-minimal
@@ -3,7 +3,7 @@ require 'omniauth-oauth2'
3
3
  module OmniAuth
4
4
  module Strategies
5
5
  class PayPalOauth2 < OmniAuth::Strategies::OAuth2
6
- DEFAULT_SCOPE = "openid profile"
6
+ DEFAULT_SCOPE = "email,profile"
7
7
  DEFAULT_RESPONSE_TYPE = "code"
8
8
  SANDBOX_SITE = "https://api.sandbox.paypal.com"
9
9
  SANDBOX_AUTHORIZE_URL = 'https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize'
@@ -87,4 +87,4 @@ module OmniAuth
87
87
  end
88
88
  end
89
89
 
90
- OmniAuth.config.add_camelization 'paypal', 'PayPal'
90
+ OmniAuth.config.add_camelization '', 'PayPalOauth2'
@@ -4,11 +4,11 @@ require 'omniauth/paypal_oauth2/version'
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'omniauth-paypal-oauth2'
7
- s.version = '1.4.3'
7
+ s.version = '1.4.4'
8
8
  s.authors = ['Jonas Hübotter']
9
9
  s.email = ['jonas.huebotter@gmail.com']
10
10
  s.summary = 'A PayPal OAuth2 strategy for OmniAuth 1.x'
11
- s.homepage = 'https://github.com/jonhue/omniauth-paypal-oauth2'
11
+ s.homepage = 'http://omniauth-paypal-oauth2.jonhue.me'
12
12
  s.license = 'MIT'
13
13
 
14
14
  s.files = `git ls-files`.split("\n")
@@ -1,9 +1,9 @@
1
1
  require 'spec_helper'
2
- require 'omniauth-paypal'
2
+ require 'omniauth-paypal-oauth2'
3
3
 
4
- describe OmniAuth::Strategies::PayPal do
4
+ describe OmniAuth::Strategies::PayPalOauth2 do
5
5
  subject do
6
- OmniAuth::Strategies::PayPal.new(nil, @options || {})
6
+ OmniAuth::Strategies::PayPalOauth2.new(nil, @options || {})
7
7
  end
8
8
 
9
9
  it_should_behave_like 'an oauth2 strategy'
@@ -43,7 +43,7 @@ describe OmniAuth::Strategies::PayPal do
43
43
 
44
44
  describe '#callback_path' do
45
45
  it "has the correct callback path" do
46
- expect(subject.callback_path).to eq('/auth/paypal/callback')
46
+ expect(subject.callback_path).to eq('/auth/paypal_oauth2/callback')
47
47
  end
48
48
  end
49
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-paypal-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
@@ -60,11 +60,13 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - CNAME
63
64
  - Gemfile
64
65
  - Gemfile.lock
65
66
  - LICENSE
66
67
  - README.md
67
68
  - Rakefile
69
+ - _config.yml
68
70
  - lib/omniauth-paypal-oauth2.rb
69
71
  - lib/omniauth/paypal_oauth2.rb
70
72
  - lib/omniauth/paypal_oauth2/version.rb
@@ -73,7 +75,7 @@ files:
73
75
  - spec/omniauth/strategies/paypal_spec.rb
74
76
  - spec/spec_helper.rb
75
77
  - spec/support/shared_examples.rb
76
- homepage: https://github.com/jonhue/omniauth-paypal-oauth2
78
+ homepage: http://omniauth-paypal-oauth2.jonhue.me
77
79
  licenses:
78
80
  - MIT
79
81
  metadata: {}