active_mocker 1.2.pre.2 → 1.2.pre.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_mocker/generate.rb +1 -1
- data/lib/active_mocker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd140facc45978c16690d5960e7163d87d943355
|
4
|
+
data.tar.gz: 22f4b8e3387f8eef35af328d062dac4c84f67807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5d6e76d2c5fae2a38f595c4a15bee4de97d04755833f58f3f7f7af11a409cafe8d79d213f1e7bbd2a0357102477dbed034d34fb37ba1fe760f4bfc9a8a278e
|
7
|
+
data.tar.gz: e50c7525cc7e49a6a968800123675e5d72ee0e4f822fe3904cbd57ee23e5412ebe27c555127f672be33063945a999e3b13fbd9d44997d250b58c2a101a586362
|
@@ -76,7 +76,7 @@ class Generate
|
|
76
76
|
FileUtils::mkdir_p mock_dir unless File.directory? mock_dir
|
77
77
|
File.open(File.join(mock_dir,"#{table.name.singularize}_mock.rb"), 'w').write(klass_str)
|
78
78
|
rescue
|
79
|
-
puts "failed to load #{table_to_model_file(table)} model"
|
79
|
+
puts "failed to load #{table_to_model_file(table.name)} model"
|
80
80
|
next
|
81
81
|
end
|
82
82
|
end
|