omniauth-bonofa 0.0.1 → 0.0.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 +4 -4
- data/lib/omniauth/bonofa/version.rb +1 -1
- data/lib/omniauth/strategies/bonofa.rb +1 -0
- data/tests/configuration_test.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c35073abbbad090d538bdc8b5774ebec46e3534
|
4
|
+
data.tar.gz: 477b84a5b4a90c82efc52396a6d0b7f7bf6d77e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ab71185b57aac6a36359ae302ea31a0af50a51cceae7d64aeecbd7e287d84d01cc223d74ddbf775da47fef52546f05fae0c39a3db585571e074cbb628188f9
|
7
|
+
data.tar.gz: 1306115fb6bf145affd287a6195eb9c428b3315ac4ea8c9e555580bc35226d8ce5951a9054f748cab265d0427825a941a92652e0d91ca970faf51c63f9382dfa
|
@@ -13,6 +13,7 @@ module OmniAuth
|
|
13
13
|
:email => raw_info["email"],
|
14
14
|
:first_name => raw_info["first_name"],
|
15
15
|
:last_name => raw_info["last_name"],
|
16
|
+
:birthday => raw_info["birthday"],
|
16
17
|
:language => raw_info["shop_language"],
|
17
18
|
:promotion_code => raw_info["promotion_code"],
|
18
19
|
:profile_image_url => raw_info["profile_image_url"],
|
data/tests/configuration_test.rb
CHANGED
@@ -8,10 +8,10 @@ end
|
|
8
8
|
class ConfigurationTest < StrategyTestCase
|
9
9
|
test "should set the configuration vars from site url" do
|
10
10
|
Omniauth::Bonofa.configure do |config|
|
11
|
-
config.site = "http://www.
|
11
|
+
config.site = "http://www.bonofa-test.com"
|
12
12
|
end
|
13
|
-
assert_equal Omniauth::Bonofa.configuration.site, "http://www.
|
14
|
-
assert_equal 'http://www.
|
13
|
+
assert_equal Omniauth::Bonofa.configuration.site, "http://www.bonofa-test.com"
|
14
|
+
assert_equal 'http://www.bonofa-test.com', strategy.client.site
|
15
15
|
end
|
16
16
|
|
17
17
|
test "should set configuration vars" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-bonofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|