key-db 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/keydb.rb +4 -0
  2. metadata +2 -2
@@ -53,4 +53,8 @@ class KeyDB
53
53
  end
54
54
  end
55
55
 
56
+ def delete_db
57
+ system("rm #{@filename}")
58
+ end
59
+
56
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: key-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-05-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: ! 'A database acessible via keys, bugs fixed. Added required key uniqueness.
14
+ description: ! 'A database acessible via keys, bugs fixed. Added delete_db method.
15
15
  File to require: ''keydb'''
16
16
  email: slmnwise@gmail.com
17
17
  executables: []