omniauth-bunq 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54a43ec596604ce0b297e07d08a46061c7fced02
4
- data.tar.gz: c6923968989fdf21a36fbb607cf1e2c2d2bd9c19
3
+ metadata.gz: dfb6038b0da6179e0bddfbb188f1baf2da35d6c3
4
+ data.tar.gz: 674f607d3c204a0e2c2e96f8bfd97dab85833a98
5
5
  SHA512:
6
- metadata.gz: 67a6dc047dbec1df554d7a2d18bbbc92d0ca4657c41a25110d0e704706561a07bbc2d05cd09104976fdfec2b1f42776124ef4a21bdbc98d650f72947bbf3e8e0
7
- data.tar.gz: c934b168107d7012b132143ef45a1bfa85781f446effee1b4e8e473b9d55caf3c0d04b32b38a0dbeb69293e9ce2619973d6f8b094983582723a694720e996290
6
+ metadata.gz: 2ff4a946a1be57145e40c206cab21f15b2ca1ce18b12d8df467ce689c81a9c4d22f8876dac57c693466da2473eaca5d93fdbe4d67204b22345641f16765b4b19
7
+ data.tar.gz: 7d936269263c8ad48a67e1857ea7071114026acd24e0cfb6055293d7d9dd15b853c828b89bd98e15b499a5c9f0460d22e192ea2b960317601baa40d85adbf5c2
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Bunq
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -4,9 +4,9 @@ module OmniAuth
4
4
  module Strategies
5
5
  class Bunq < OmniAuth::Strategies::OAuth2
6
6
  option :client_options, {
7
- :site => 'https://api-sandbox.rabobank.nl',
8
- :authorize_url => 'https://api-sandbox.rabobank.nl/openapi/sandbox/oauth2/authorize',
9
- :token_url => 'https://api-sandbox.rabobank.nl/openapi/sandbox/oauth2/token'
7
+ :site => 'https://oauth.bunq.com/auth',
8
+ :authorize_url => 'https://oauth.bunq.com/auth',
9
+ :token_url => 'https://api.oauth.bunq.com/v1/token'
10
10
  }
11
11
 
12
12
  def request_phase
@@ -30,15 +30,15 @@ describe OmniAuth::Strategies::Bunq do
30
30
 
31
31
  context 'client options' do
32
32
  it 'should have correct site' do
33
- expect(subject.options.client_options.site).to eq('https://api-sandbox.rabobank.nl')
33
+ expect(subject.options.client_options.site).to eq('https://oauth.bunq.com/auth')
34
34
  end
35
35
 
36
36
  it 'should have correct authorize url' do
37
- expect(subject.options.client_options.authorize_url).to eq('https://api-sandbox.rabobank.nl/openapi/sandbox/oauth2/authorize')
37
+ expect(subject.options.client_options.authorize_url).to eq('https://oauth.bunq.com/auth')
38
38
  end
39
39
 
40
40
  it 'should have correct token url' do
41
- expect(subject.options.client_options.token_url).to eq('https://api-sandbox.rabobank.nl/openapi/sandbox/oauth2/token')
41
+ expect(subject.options.client_options.token_url).to eq('https://api.oauth.bunq.com/v1/token')
42
42
  end
43
43
 
44
44
  describe 'should be overrideable' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-bunq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dunya Kirkali