prettyusers 0.0.3 → 0.0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prettyusers.rb +1 -1
- data/lib/prettyusers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4ed15ec328631e72b273e855ab89502824b5236
|
4
|
+
data.tar.gz: 33f15975d2ea78fda943b7ab7fa2b7a583f428f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c67363110687b6674f0196c1f69e3e08b5bc94b17270897ab9124414c2f73db26fd9ff5c16d8d008b4f5be44efc5a0d621e0418a571fd94e2d3718639e04af3
|
7
|
+
data.tar.gz: 04e9013dd542422cb42a1facf1db01a06c4e4a3bc59ab4f5e524f2eb9560a29e0d1260d27b6c7d4dc4dba1a1e14facb7a6eed83d17719e516838ed70f634c431
|
data/lib/prettyusers.rb
CHANGED
@@ -70,7 +70,7 @@ module Prettyusers
|
|
70
70
|
response[:results].each do |u|
|
71
71
|
|
72
72
|
r = u[:user] # minifying :)
|
73
|
-
name = {:title =>r[:title], :firstname => r[:name][:first], :lastname => r[:name][:last]}
|
73
|
+
name = {:title =>r[:name][:title], :firstname => r[:name][:first], :lastname => r[:name][:last]}
|
74
74
|
location = {:street => r[:location][:street], :city =>r[:location][:city], :state => r[:location][:state], :zip => r[:location][:zip]}
|
75
75
|
|
76
76
|
u = User.new({:name => name,:username =>r[:username], :picture=>r[:picture],:gender => r[:gender],:location => location,:email => r[:email],:password =>r[:password], :md5_password =>r[:md5], :sha1_hash => r[:sha1], :phone => r[:phone], :cell => r[:cell], :SSN => r[:SSN]})
|
data/lib/prettyusers/version.rb
CHANGED