omniauth-freee 0.0.3 → 0.0.4

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
- SHA1:
3
- metadata.gz: a1dcb822a15fa47cf8768e1055d2488b68e62c36
4
- data.tar.gz: 7e68e34e7b47e037cd10ad76fde77894042d4f71
2
+ SHA256:
3
+ metadata.gz: c3f19abd0ff445e08d56c8a038b942b119d6072088eb61b9553bb56fec7738c7
4
+ data.tar.gz: 90084cdaa53c0bd63b00227e64016dd932e8040e8f5ac2f0b8b7431be682056f
5
5
  SHA512:
6
- metadata.gz: 08dd00526542fd492187cc35d6b66d4498af1f5902fde51702af13304cbc66dc09d35747d512d8a8f8f5d9b82d958163ffce415fd52e8a875358339a67001154
7
- data.tar.gz: f1bdc5883b53e86fa0c826135b75d47f2feea059b8f6754dee1cf385ff5a5ba57c223dc7d1e678811628bfe21cb9bcd1cb921c155e491bf2aa697e40abbcac34
6
+ metadata.gz: b3ebaa6024c2092dcf758e991d3360f05bbaf113313131a2e8ac1cbbe1c4b69a669546daa96d4d6f2df6e8993e8a94d970feab0a29d3ef12e392b88669e27bc3
7
+ data.tar.gz: b90942e9267e807fc6b30e150abcff29714452399078db00af450f524974e7ee2b77ae7552a7c4620af75dd6a7f5bb21ae1ac0936df83383254a9ea13d40be31
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Freee
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -6,8 +6,8 @@ module OmniAuth
6
6
  class Freee < OmniAuth::Strategies::OAuth2
7
7
  option :client_options, {
8
8
  :site => 'https://api.freee.co.jp',
9
- :authorize_url => 'https://secure.freee.co.jp/oauth/authorize',
10
- :token_url => 'https://api.freee.co.jp/oauth/token'
9
+ :authorize_url => 'https://accounts.secure.freee.co.jp/public_api/authorize',
10
+ :token_url => 'https://accounts.secure.freee.co.jp/public_api/token'
11
11
  }
12
12
 
13
13
  uid { raw_info['user']['email'].to_s }
@@ -34,11 +34,11 @@ describe OmniAuth::Strategies::Freee do
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://secure.freee.co.jp/oauth/authorize')
37
+ expect(subject.options.client_options.authorize_url).to eq('https://accounts.secure.freee.co.jp/public_api/authorize')
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.freee.co.jp/oauth/token')
41
+ expect(subject.options.client_options.token_url).to eq('https://accounts.secure.freee.co.jp/public_api/token')
42
42
  end
43
43
 
44
44
  describe 'should be overrideable' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-freee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keigo Kanazawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-02 00:00:00.000000000 Z
11
+ date: 2019-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -140,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.6.13
143
+ rubygems_version: 3.0.3
145
144
  signing_key:
146
145
  specification_version: 4
147
146
  summary: Unofficial OmniAuth strategy for Freee.