omniauth-ljne 0.1.1 → 0.1.2

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: c545941dcb72451808be21841874a34c719d1091
4
- data.tar.gz: bcba718fef51fc95d5063baaea707f63a136364d
3
+ metadata.gz: bf16d97aac36cb7219c00a0f5a1ce2b2e1d93211
4
+ data.tar.gz: '09e1baf4b5eb42784a573f313c1fc991bd033c64'
5
5
  SHA512:
6
- metadata.gz: e0e0da965be8e8794279157f14397557a521425fa5e2cc64e47db63dc1f09194b29bdeef53d72684ecea6c61e511888f06ddeae507cd188d6f427881380fe7c5
7
- data.tar.gz: 7c123418047288bf197b2c7b23c34ad356d529a47bd6664402321bd4957645918cbba62dd92671738eb9523fd5df67cdbaa2012ef4d90560583de3717d06ad9f
6
+ metadata.gz: 85c37780c2ddee1ef35f00e6569524c2e45d5da9e6c9568eb575bbc804728832058d2533c4d3e48664a05aca14208fd87797af001867af2d183bb9e11734bee3
7
+ data.tar.gz: 5313ae9b3f3296cc95e4d026932d5c747fc03669846b03326cc50090e3add034586f97ea480916a4edfc4b818bb59f398059a0d33bba02b6cd0f3fbe39badd29
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-ljne (0.1.0)
4
+ omniauth-ljne (0.1.1)
5
5
  omniauth-oauth2 (~> 1.3.1)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Ljne
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ module OmniAuth
5
5
  module Strategies
6
6
  class Line < OmniAuth::Strategies::OAuth2
7
7
  option :name, 'line'
8
- option :scope, 'profile openid'
8
+ option :scope, 'profile openid email'
9
9
 
10
10
  option :client_options, {
11
11
  site: 'https://access.line.me',
@@ -43,7 +43,9 @@ module OmniAuth
43
43
  info do
44
44
  {
45
45
  name: raw_info['displayName'],
46
+ email: raw_info['email'],
46
47
  image: raw_info['pictureUrl'],
48
+ email: raw_info['pictureUrl'],
47
49
  description: raw_info['statusMessage']
48
50
  }
49
51
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-ljne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nguyenthanhcong101096
@@ -78,6 +78,7 @@ files:
78
78
  - lib/omniauth/ljne/version.rb
79
79
  - lib/omniauth/strategies/line.rb
80
80
  - omniauth-ljne-0.1.0.gem
81
+ - omniauth-ljne-0.1.1.gem
81
82
  - omniauth-ljne.gemspec
82
83
  homepage: https://github.com/nguyenthanhcong101096/omniauth-line
83
84
  licenses: