code4lib-vote-notifier 0.0.2 → 0.0.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: e7e963149f3344c23cc7333cbac335fb3616ca9b
4
- data.tar.gz: a495c1280204ba9cb06ff925ebc6c1f430cbc958
3
+ metadata.gz: 63a1d48e4aa2ecbc31e6cb4eb5b94f44e1a36174
4
+ data.tar.gz: ee0430184e45628ad8a1c97ad08d3e9e7fdef2e8
5
5
  SHA512:
6
- metadata.gz: 4771018d7aa75f5740c49978554ce11527a715c712cc5f30df7f50d3aebfe3b923309b83f207e743ebe5045ca37e1dbec492e8061f2d884a3dd2a5b6e05236fc
7
- data.tar.gz: 6d87e1cf290814626c7a1ca41ac6e4c665a1f4c95b54b6b6f33b7c040746769c1a06fc2959af4adee8b3310fa9bc820144b038d176db72c6ad29f4e26c63d3b3
6
+ metadata.gz: d8071838639a053b692c65298008a950ff62335d5f39390718c9368b67f9261cb531b0e2e3f74a47315f4560435a6a392276eafe87ab03d4ff78fab8b6ff37d2
7
+ data.tar.gz: f600607b22a9a5188ab7c7a318aca3fe89739fcaa8df2a3967c01ffa4b2db06dbe4955f6304bf64d6d3d277bfbbbeaa1c2434f7d514b10da43efc804c771b8e9
@@ -73,8 +73,10 @@ main_message = "\nRANK: #{rank}\nscore: #{score}\nhigh score: #{ordered_results.
73
73
  top_ten = top_talks.slice(0,10)
74
74
  top_rest = top_talks.slice(10,top_talks.length)
75
75
  main_message << top_ten.join("\n\n")
76
- main_message << "\n\n--------------\n\n"
77
- main_message << top_rest.join("\n\n")
76
+ if top_rest
77
+ main_message << "\n\n--------------\n\n"
78
+ main_message << top_rest.join("\n\n")
79
+ end
78
80
 
79
81
  case platform
80
82
  when 'linux'
@@ -1,7 +1,7 @@
1
1
  module Code4lib
2
2
  module Vote
3
3
  module Notifier
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code4lib-vote-notifier
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
  - Jason Ronallo