get_top_10 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/get_top_10.rb CHANGED
@@ -8,7 +8,7 @@ module GetTop10
8
8
  z.each do |l|
9
9
  if l[1] != previous_count && a.size >= 10
10
10
  h = Hash.new
11
- z.each do |l|
11
+ a.each do |l|
12
12
  h[l[0]] = l[1]
13
13
  end
14
14
  return h
@@ -1,3 +1,3 @@
1
1
  module GetTop10
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_top_10
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: