usefuldb 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/usefuldb/gui.rb +5 -1
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  usefuldb gem CHANGELOG
2
2
 
3
+ ## Version 0.0.3
4
+ - Attempt to fix bug with traversing the database array
5
+
3
6
  ## Version 0.0.2
4
7
  - Fixed bug with database not being copied to the users home directory correctly
5
8
 
data/lib/usefuldb/gui.rb CHANGED
@@ -13,8 +13,12 @@ module UsefulDB
13
13
 
14
14
  def list
15
15
  UsefulDB.dbLoad
16
- UsefulDB::UsefulUtils.list.each_with_index do |i, index|
16
+
17
+ index = 0
18
+
19
+ UsefulDB::UsefulUtils.list.each do |i|
17
20
  puts red(index)
21
+ index += 1
18
22
  puts "- Tags: " + yellow(i["tag"].to_s) + "\n"
19
23
  puts "- Value: " + red(i["value"]) + blue("\n##\n")
20
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usefuldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: