dropkiq 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dropkiq/drop_class_analyzer.rb +1 -1
- data/lib/dropkiq/drop_method_analyzer.rb +4 -2
- data/lib/dropkiq/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: 7325e9f9615a3dd0c4ebb7f1d867f40bb240e05e
|
4
|
+
data.tar.gz: 7397de313f3ed61d656a765310483260b145e24b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f07fb2afe3e42b4b58e2d7ff38d61e7b1ae345db1399b0fffcaa6c245c3bd625c1dbafa67da1316d0d1c545f8c73cff1e9cd2d8399d4944b676faf1fe1a38ed3
|
7
|
+
data.tar.gz: 90bfd0ff73c3ef824300ffb61acecce5e4971254dddc460c8796285d5d00ddb40d2992d21f4f3a585c1ddf535b0b5ff960562ea9cb89c29c6e7d8095fdbed08e
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module Dropkiq
|
|
12
12
|
self.active_record_class ||= find_active_record_class_from_shim
|
13
13
|
|
14
14
|
if active_record_class.blank?
|
15
|
-
puts "WARNING: No ActiveRecord Class found for #{liquid_drop_class.name}"
|
15
|
+
puts "WARNING: No ActiveRecord Class found for #{liquid_drop_class.name} (skipping)"
|
16
16
|
return
|
17
17
|
end
|
18
18
|
|
@@ -19,6 +19,8 @@ module Dropkiq
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def to_param
|
22
|
+
return {} if dropkiq_type.blank?
|
23
|
+
|
22
24
|
{
|
23
25
|
"#{drop_method}" => {
|
24
26
|
"type" => dropkiq_type,
|
@@ -43,8 +45,8 @@ module Dropkiq
|
|
43
45
|
begin
|
44
46
|
self.foreign_table_name = reflection.class_name.constantize.table_name
|
45
47
|
rescue
|
46
|
-
puts "
|
47
|
-
|
48
|
+
puts "WARNING: Could not find #{drop_method} on #{active_record_class.name} (skipping)"
|
49
|
+
return
|
48
50
|
end
|
49
51
|
|
50
52
|
case reflection
|
data/lib/dropkiq/version.rb
CHANGED