bitzesty-safe 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/safe/keys.rb +1 -1
  3. data/safe.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/safe/keys.rb CHANGED
@@ -42,7 +42,7 @@ module Safe
42
42
  object_id = self.id
43
43
  pass = self.password
44
44
  raise Safe::KeygenError if object_id.nil? || pass.nil?
45
- dir_class = root_dir + "/#{self.class.tableize}/"
45
+ dir_class = root_dir + "/#{self.class.to_s.tableize}/"
46
46
  dir = dir_class + "#{object_id}/"
47
47
  if File.exists?(root_dir) && File.directory?(root_dir)
48
48
  Dir.mkdir(dir_class) unless File.exists?(dir_class)
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.3"
8
+ s.version = "0.1.4"
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ford