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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 086e96a5612addb22e4eea632520099b138de8d1
4
- data.tar.gz: e0658178ae38b981e17fc9f45b62725c84aeadd6
3
+ metadata.gz: bd140facc45978c16690d5960e7163d87d943355
4
+ data.tar.gz: 22f4b8e3387f8eef35af328d062dac4c84f67807
5
5
  SHA512:
6
- metadata.gz: 4389ce464e807d5798f9806cf1e2a2e1118edaddd2c01806f9960268d89383cf5c32f78dbf2f53f78a4ed32cefdb856139241c469812a31ebc8dd2834ac9035a
7
- data.tar.gz: d5d086d46b5728b13764e4bb3341dbc7e012476cd2866eedb0be888da34211ea4da57549b7826ff98a27c380050d55a5fab87655e2fe1c3f1a869218487fb488
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
@@ -1,3 +1,3 @@
1
1
  module ActiveMocker
2
- VERSION = "1.2.pre.2"
2
+ VERSION = "1.2.pre.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.pre.2
4
+ version: 1.2.pre.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler