omniauth-infinum 0.9.8 → 0.9.9

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: 422df7c09313261c1d9c414141d7e8b8305a0105
4
- data.tar.gz: c2f8a9fba901c7487999cf305fd6613aeea3b25f
3
+ metadata.gz: 5ab7d8e51667afc0ffb5469af31c43b1f5de2c81
4
+ data.tar.gz: cc5870ab2553594c43783b4fab18f45a31e9f00c
5
5
  SHA512:
6
- metadata.gz: c584431986ca65c5a96683ebe9d6fa5a9bdfe6e469f20b78864f0cd8f1b5e7c79688cc37556eed0e2cd2213a3415cb48929b96ccc4b90fb843259f360c2de67f
7
- data.tar.gz: e2d8804f30c4f247fbedab4bef3cfd4907b227b3efd9b52278ff85819abda0c12e002308e6794fd5e68cdc6d1cb8814743b15637391b9324d99c64ce29183013
6
+ metadata.gz: b34b4d26482ad72fb47a7c49c56e0c53adb5b6808df3f55588ca59f2af5c410f34b90cd4a6a1d03052bcb8b4ab5377e236e4eec07d14a819c998efbce8eb472b
7
+ data.tar.gz: f87601e882664b8b92b349b4708cccbdb275eacc0c3460a751234bf0d91ada478d41e4b4748c5f8556c9c50c0d7b3145afaf8cd9c73ce354d6f38c56359fbf33
@@ -7,11 +7,12 @@ module OmniAuth::Infinum
7
7
  :uid => (user.try(:uid) || '75'),
8
8
  :extra => {
9
9
  :first_name => user.try(:first_name),
10
- :last_name => user.try(:last_name),
10
+ :last_name => user.try(:last_name),
11
11
  :email => user.try(:email),
12
- :avatar_url => user.try(:avatar_url)
12
+ :avatar_url => user.try(:avatar_url),
13
+ :time_zone => user.try(:time_zone)
13
14
  }
14
- })
15
+ })
15
16
  end
16
17
 
17
18
  def sign_out
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Infinum
3
- VERSION = "0.9.8"
3
+ VERSION = "0.9.9"
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ module OmniAuth
12
12
  def self.url=(some_value)
13
13
  @@url = some_value
14
14
  end
15
-
15
+
16
16
  def self.development_environment?
17
17
  if defined? Rails
18
18
  Rails.env.development?
@@ -22,7 +22,7 @@ module OmniAuth
22
22
  end
23
23
 
24
24
  @@url = "http#{development_environment? ? '' : 's'}://accounts.infinum.co#{development_environment? ? '.dev' : ''}"
25
-
25
+
26
26
  def self.setup
27
27
  yield self if block_given?
28
28
 
@@ -52,7 +52,8 @@ module OmniAuth
52
52
  :first_name => raw_info['extra']['first_name'],
53
53
  :last_name => raw_info['extra']['last_name'],
54
54
  :email => raw_info['extra']['email'],
55
- :avatar_url => raw_info['extra']['avatar_url']
55
+ :avatar_url => raw_info['extra']['avatar_url'],
56
+ :time_zone => raw_info['extra']['time_zone']
56
57
  }
57
58
  end
58
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-infinum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car