index-tanked 0.1.4 → 0.1.5

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.
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module IndexTanked
2
- GEM_VERSION = '0.1.4'
2
+ GEM_VERSION = '0.1.5'
3
3
  end
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Kittelson