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.
- data/VERSION +1 -1
- data/lib/safe/keys.rb +1 -1
- data/safe.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
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