increment_persistent 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/increment.rb +3 -1
  2. metadata +1 -1
@@ -34,7 +34,9 @@ module Increment
34
34
  def list
35
35
  list = []
36
36
  @store.transaction(false) do
37
- list = @store.roots.each.to_a
37
+ @store.roots.each do |root|
38
+ list << "#{root}:#{@store[root]}"
39
+ end
38
40
  end
39
41
  list
40
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increment_persistent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: