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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c39645bd78cfcc710ef6ffb93f95efd7740b4fc5
4
- data.tar.gz: e3ded14793576d0e31bb5fafd9ef17a06fdabebc
3
+ metadata.gz: 4436deeee490306eedcdc24f3fe5958011d4387d
4
+ data.tar.gz: 1ff2ddf9e94c7d1801d53412f8876050e7b33bcb
5
5
  SHA512:
6
- metadata.gz: 5dc16958f9e45cf8e594250cafecb3e9668abf9afe2092f4eb9e9f3dfe2b80b6d32da2bcc7a4e35f0f4494d921ed8fb6746c0a49e99454213a15d05ee3ba7c99
7
- data.tar.gz: 691719f8b12f24d42d7da0c5daa8cfb37534d005b6ac9b56ea68feaa719f971cb0cfcfd37c6f328280ec9a90810ed7962b768747a792e03d7ef2e015357e1f21
6
+ metadata.gz: 0aeb69f8653ca64cc3c719f07734baa8689aaa88e53313e87f3e7d5952afe089806e7009ac8c87b5357eacaa825dfad18db1532e28b08a7f37565218fdafafc5
7
+ data.tar.gz: 32f9ca5baf5c45ba81dcf46f59fad8f85f3d85deb8536e0fa62c39199d33fc86b30564db1173dc26a8fc8eecc7053d67d8a41206798a8eb68d3dfa7585f058e9
@@ -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(user)
58
- response << stats(user)
59
- response << biography(user)
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
 
@@ -1,3 +1,3 @@
1
1
  module Fingerer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fingerer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Flower