fingerer 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fingerer.rb +7 -3
- data/lib/fingerer/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: 4436deeee490306eedcdc24f3fe5958011d4387d
|
4
|
+
data.tar.gz: 1ff2ddf9e94c7d1801d53412f8876050e7b33bcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aeb69f8653ca64cc3c719f07734baa8689aaa88e53313e87f3e7d5952afe089806e7009ac8c87b5357eacaa825dfad18db1532e28b08a7f37565218fdafafc5
|
7
|
+
data.tar.gz: 32f9ca5baf5c45ba81dcf46f59fad8f85f3d85deb8536e0fa62c39199d33fc86b30564db1173dc26a8fc8eecc7053d67d8a41206798a8eb68d3dfa7585f058e9
|
data/lib/fingerer.rb
CHANGED
@@ -53,10 +53,14 @@ module Fingerer
|
|
53
53
|
private_class_method def self.response(user)
|
54
54
|
response = []
|
55
55
|
|
56
|
+
info = info(user)
|
57
|
+
stats = stats(user)
|
58
|
+
biography = biography(user)
|
59
|
+
|
56
60
|
response << ""
|
57
|
-
response << info
|
58
|
-
response << stats
|
59
|
-
response << biography
|
61
|
+
response << info unless info.empty?
|
62
|
+
response << stats unless stats.empty?
|
63
|
+
response << biography unless biography.empty?
|
60
64
|
response << ""
|
61
65
|
response << "Member since #{user.created_at.strftime("%c")}"
|
62
66
|
|
data/lib/fingerer/version.rb
CHANGED