bitzesty-safe 0.1.5 → 0.1.6

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -44,7 +44,7 @@ class SafeCabinet < ActiveRecord::Base
44
44
  end
45
45
 
46
46
  def lock_for name
47
- lock_options[name] = options.merge(:key_pair => File.join(SAFE_KEYS_DIR, self.encryptable_class.to_s.tableize, self.encryptable_id.to_s, "keypair.pem"))
47
+ lock_options[name] = options.merge(:key_pair => File.join(SAFE_KEYS_DIR, self.encryptable_type.to_s.tableize, self.encryptable_id.to_s, "keypair.pem"))
48
48
  @_locks ||= {}
49
49
  @_locks[name] ||= Lock.new(name, self, self.class.lock_options[name])
50
50
  end
data/safe.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{safe}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matthew Ford"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitzesty-safe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ford