dynamic_fieldsets 0.0.14 → 0.0.15

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.0.15
2
+
3
+ * Fixed a bug when displaying field options in a view.
4
+
1
5
  == 0.0.14
2
6
 
3
7
  * Fixed a bug with a closing span tag in field_show_renderer.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.14
1
+ 0.0.15
@@ -33,10 +33,10 @@ module DynamicFieldsetsHelper
33
33
  if values
34
34
  if field.field_type == "multiple_select" || field.field_type == "checkbox"
35
35
  values.each do |value|
36
- lines.push field.options.select { |opt| opt.id = value }.first.name + "<br />"
36
+ lines.push field.options.select { |opt| opt.id == value }.first.name + "<br />"
37
37
  end
38
38
  elsif field.field_type == "select" || field.field_type == "radio"
39
- lines.push field.options.select { |opt| opt.id = values }.first.name
39
+ lines.push field.options.select { |opt| opt.id == values }.first.name
40
40
  # this might be easier on the db
41
41
  # lines.push DynamicFieldsets::FieldOption.find(values).name
42
42
  else
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dynamic_fieldsets"
8
- s.version = "0.0.14"
8
+ s.version = "0.0.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremiah Hemphill", "Ethan Pemble", "John Carter"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynamic_fieldsets
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.14
5
+ version: 0.0.15
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeremiah Hemphill
@@ -351,7 +351,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
351
351
  requirements:
352
352
  - - ">="
353
353
  - !ruby/object:Gem::Version
354
- hash: 168862572230651736
354
+ hash: -1331530060703642871
355
355
  segments:
356
356
  - 0
357
357
  version: "0"