omniauth-line 0.0.5 → 0.1.0

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: 0561a2f4797572525a581e3c7cf604523bafe3036cbf5c0cd5d3a08b818232f2
4
- data.tar.gz: c31dd9f6ab033d9da5b7afff64178efb08c70d9412264862e8ab0c4b1fffa68c
3
+ metadata.gz: 13a9eb6c982e8452f0c2eb396eae719a7c244d89cb52ea2769852aa8723358c0
4
+ data.tar.gz: d687a90bfe0d644be4eb050ecc4105fc9f28816fdcf0ca03622d1e95c5b5a453
5
5
  SHA512:
6
- metadata.gz: 5fb4e4744ef344c5433d4326bce9404a67c42447057a7ba3a2125b5890d5c84c8143f8456dc438c1aa2ad67eac310d11a5e05c63473de1c92ac61b791ddf3c39
7
- data.tar.gz: e22ae27e04a95b2f09d3e372a9e2315acc2125425547cd6e40f34f0fb2da9c895b3cad6ac1975e0e38224116bc772db8ae5f56cf7b23b3bb77166ebe1e8a3c7b
6
+ metadata.gz: 8633f9424d520d9f4794435d35676dc13e5aec709a627de856bd66395053ba611f45be8d8718a037452444c558d00f7237982326c4e5de2e7481a9c877dc5690
7
+ data.tar.gz: 91bd03ccb19d6808ee5e8d2081b3f424c6ec21864715cf4683f2fb6c785e26c8e1556e8cba9a990492da5b4be64da22330e4554b987f2556a6496db655cf30ed
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Line
3
- VERSION = "0.0.5"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -19,6 +19,11 @@ module OmniAuth
19
19
  super
20
20
  end
21
21
 
22
+ def callback_url
23
+ # Fixes regression in omniauth-oauth2 v1.4.0 by https://github.com/intridea/omniauth-oauth2/commit/85fdbe117c2a4400d001a6368cc359d88f40abc7
24
+ options[:callback_url] || (full_host + script_name + callback_path)
25
+ end
26
+
22
27
  uid { raw_info['userId'] }
23
28
 
24
29
  info do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-line
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazasiki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-06 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json