mumukit-login 6.1.4 → 6.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37959b71c7f72904623b2db83e2f2562552687236ad5bab307e6ae3c199e5d92
4
- data.tar.gz: 18ea3556374cf43691c12fcb078d40e94dd3d52118ad3429ac41576efa3d7354
3
+ metadata.gz: 1b06f2ea6dfb46a332af3c9a1559d61029a74feaa00a0d31ba54d210e15f7d29
4
+ data.tar.gz: 545abdd88e487585c1f58da70a06118429b398c560e2a9aac85e261237a735b0
5
5
  SHA512:
6
- metadata.gz: 1f37dc8fa5ff59eaa930ebfcbb4b47f8221bb04b61b90b55bf3a0c9b813540b13ccb152235ebe70f892a2d52a4c7442a490b2e3c2c3d3778f2687592ae4508e4
7
- data.tar.gz: 1790e80e4e86c17ead8decc5f0792222b7353bfe9f0feb8177ee669f7b59cb8a100411916debf68934e67fd86b28958723a8585f5cab0311ab0e9556a1396328
6
+ metadata.gz: 98c8a22e6e39ac4dd4d8bf3a7a717d002dc0f461975127141438c681b93e3bf1b125d172db6991c2873dce345f90f8ad4b513d515ac49a83bb66eea7bca9187f
7
+ data.tar.gz: bd6a338800b627d90492bf186aab938fe0217a4c3a568448cf103eed2089e1ff158ab52cf2578572e0f5d69b2e602f197d9906962194a7badd5838da7f517c91
@@ -5,7 +5,11 @@ module Mumukit::Login::Profile
5
5
  last_name: omniauth.info.last_name,
6
6
  social_id: omniauth.uid,
7
7
  email: omniauth.info.email,
8
- uid: omniauth.info.email || omniauth.uid,
8
+ uid: generate_uid(omniauth),
9
9
  image_url: omniauth.info.image
10
10
  end
11
+
12
+ def self.generate_uid(omniauth)
13
+ omniauth.info.email || omniauth.uid
14
+ end
11
15
  end
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Login
3
- VERSION = '6.1.4'
3
+ VERSION = '6.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-login
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.4
4
+ version: 6.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2018-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler