socialmux 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/socialmux/strategy.rb +4 -4
- data/lib/socialmux/version.rb +1 -1
- 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: 02c380f10efb4669fa95201452f090749d29f2c9
|
4
|
+
data.tar.gz: 61afe3b7bb7ef028e97cc38c36525471f1a9d42a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d04c27726d1a2130dcbd3ff9e46631af77883b21eed68da150e118b1a86f72d541e6f9ad3ef265f6222de95b36d19ba590c3e06e64bbef01854b0a85efe162ea
|
7
|
+
data.tar.gz: 3440567c452161935b33a7107b5d5f9e12ee39c4ff037b7c33260ed112ab0105265f3653daac5f4f1cc314282c14f3b566c74f57189e3565b445cff07655b931
|
data/lib/socialmux/strategy.rb
CHANGED
@@ -26,6 +26,10 @@ module Socialmux
|
|
26
26
|
new_user
|
27
27
|
end
|
28
28
|
|
29
|
+
def data
|
30
|
+
@data ||= AuthMapper.init_with_data(omniauth_data)
|
31
|
+
end
|
32
|
+
|
29
33
|
private
|
30
34
|
|
31
35
|
def returning_user
|
@@ -54,10 +58,6 @@ module Socialmux
|
|
54
58
|
Result.new(user, Event::SIGN_UP)
|
55
59
|
end
|
56
60
|
|
57
|
-
def data
|
58
|
-
@data ||= AuthMapper.init_with_data(omniauth_data)
|
59
|
-
end
|
60
|
-
|
61
61
|
def augment_user(user)
|
62
62
|
adapter.update_user_with_data_if_blank(user, data)
|
63
63
|
adapter.update_user_with_params(user, user_params)
|
data/lib/socialmux/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialmux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|