socialmux 0.0.2 → 0.0.3

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: 51b2002d26d31cc138b58b1c29b19d53a64af0d6
4
- data.tar.gz: 00febd49fbced62dad8f9c0bc97271426306da53
3
+ metadata.gz: 02c380f10efb4669fa95201452f090749d29f2c9
4
+ data.tar.gz: 61afe3b7bb7ef028e97cc38c36525471f1a9d42a
5
5
  SHA512:
6
- metadata.gz: cbcea12213bbb1d1bb203ba62488f0eb30203bf60fcf6139795b934465df0504796ca39d56c7f1e89c942ce8fff96fe55454f9970557420c288fdd49b09925ca
7
- data.tar.gz: 5dd497622b49420b6e6a675d9887516729296817d2c8ab74a5e7ce77a14ab0c3b5e77a68a424d81afc7493f1a28c1f101f24ffd6ea39f8c65ba76d4ee3eff7d6
6
+ metadata.gz: d04c27726d1a2130dcbd3ff9e46631af77883b21eed68da150e118b1a86f72d541e6f9ad3ef265f6222de95b36d19ba590c3e06e64bbef01854b0a85efe162ea
7
+ data.tar.gz: 3440567c452161935b33a7107b5d5f9e12ee39c4ff037b7c33260ed112ab0105265f3653daac5f4f1cc314282c14f3b566c74f57189e3565b445cff07655b931
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module Socialmux
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
4
4
 
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.2
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-01 00:00:00.000000000 Z
11
+ date: 2013-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler