index-tanked 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,11 +43,12 @@ module IndexTanked
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def dependent_fields_for_select(*additional_fields)
|
46
|
-
if additional_fields.empty?
|
46
|
+
fields = if additional_fields.empty?
|
47
47
|
dependent_fields_as_strings
|
48
48
|
else
|
49
49
|
(dependent_fields_as_strings + additional_fields.map(&:to_s)).uniq
|
50
50
|
end
|
51
|
+
fields.join(', ')
|
51
52
|
end
|
52
53
|
|
53
54
|
def retry_on_error(options={}, &block)
|
data/lib/index-tanked/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: index-tanked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adam Kittelson
|