key-db 1.2.2 → 1.2.3

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 +5 -0
  2. metadata +5 -4
data/lib/keydb.rb CHANGED
@@ -43,6 +43,11 @@ class KeyDB
43
43
  end
44
44
  end
45
45
 
46
+ def recall_key keyname
47
+ warn "WARNING: recall_key is deprecated, use get_key"
48
+ get_key keyname
49
+ end
50
+
46
51
  def access type
47
52
  File.open(@filename).each_line do |line|
48
53
  line = Marshal.load(line)
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.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-11 00:00:00.000000000 Z
12
+ date: 2012-05-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: ! 'A database acessible via keys, bugs fixed. Added delete_db method
15
- and more keyname validation. File to require: ''keydb'''
14
+ description: ! 'A database acessible via keys, bugs fixed. Added delete_db method.
15
+ Introduced more backwards compatibility with recall_key deprecation. File to require:
16
+ ''keydb'''
16
17
  email: slmnwise@gmail.com
17
18
  executables: []
18
19
  extensions: []