dropkiq 0.1.4 → 0.1.5

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: '059b0fc8166c29492a41e95145a67b01e0c8bbef'
4
- data.tar.gz: e5953122e3341a125c124702b59d12b973defd05
3
+ metadata.gz: b29aa33cb5696a6b569e4d7db891b71d8b554551
4
+ data.tar.gz: 33f3a5353cd519dbf1577aaed5e8a2738f39755b
5
5
  SHA512:
6
- metadata.gz: 4d252fc3a471dea6dbcfe3817055e05790aa530544b89369867f3b1635212773e9a70562ed09d3a9e6f0ce7b23dc3eed5465bd42141c573a53fdbf6f534c10a5
7
- data.tar.gz: a5d6809d1b29dda8188cfc4021e01b96934e18e97859022d0f02bc782aaa34f0b7b1b197dff67803bfce71fad5bf2237c39a8835d62061ae44e9bf0a2549a357
6
+ metadata.gz: cf739265bf1d2fac61eef26c0d5ed00a700e2ee9fe8f4597abfeac118e7f3eba3b9165f8fac5c3bd9b0c754cf554bc1ad926c6a410a5979172af4c9f1a407ae2
7
+ data.tar.gz: 8a3cd96c060f04f75a16f67c2b3a917715f4996015987d4330e653b782dc365666cf47ae3465e061f7b38d0fe7d3f99ab5d9f9822c651b14d209ce07ce154e38
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dropkiq (0.1.4)
4
+ dropkiq (0.1.5)
5
5
  activerecord (>= 4.2)
6
6
  liquid (~> 4.0)
7
7
 
@@ -39,7 +39,13 @@ module Dropkiq
39
39
 
40
40
  def relationship_to_dropkiq_type_classifier
41
41
  reflection = reflect_on_association_value
42
- self.foreign_table_name = reflection.class_name.constantize.table_name
42
+
43
+ begin
44
+ self.foreign_table_name = reflection.class_name.constantize.table_name
45
+ rescue
46
+ puts "Table not found for reflect_on_association value: #{reflection.inspect}"
47
+ raise
48
+ end
43
49
 
44
50
  case reflection
45
51
  when ActiveRecord::Reflection::BelongsToReflection
@@ -1,3 +1,3 @@
1
1
  module Dropkiq
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropkiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Darrah