nested_form_fields 0.6.1 → 0.6.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af179df78241f65dc54725b434303052e162b93a
4
- data.tar.gz: f4a8b1c8590a307cf7518ac56c0914390ea3ca5b
3
+ metadata.gz: 1946ea1089df972ab56caf9bc1c375eea103dd8d
4
+ data.tar.gz: 969fa5a62bb63ce36273c01a368ca75c2f80773c
5
5
  SHA512:
6
- metadata.gz: a84704f681204e122cd58e285af477ed0f87eb531d352a420dfe43ffa8002fdb74844b7ed15493340da51eaa760f39a1063a17cb35d268e6023f924ab2f52c9a
7
- data.tar.gz: 2c7d7d4ec8c595bf1fe6f24826e1001e8cfbd7f18828da8d08d428c1385509a283be80634971529fbf027e2c6e976a2da3d4ca769dc4fb946354fa3b5a3cf1ba
6
+ metadata.gz: 672badae02a7f04afda68746a49f6a15b99a4e4929ce37e0334b3bf3a74950acb2741511058346a1570c9b2fc7af9dfad6899ce02daf2c800b082dd1eb9bb0f3
7
+ data.tar.gz: 1d108f7fc29d6925c4f9baae4deec59ae9e5efaae5a261bb0d37bfe7053b4569ab1118d7659137013e2488a0492019ed23b1826cd5265b3a1032cecd926f5d19
@@ -106,7 +106,7 @@ module ActionView::Helpers
106
106
  end
107
107
 
108
108
  def nested_fields_wrapper(association_name, wrapper_element_type, legend, wrapper_options)
109
- wrapper_options = add_default_classes_to_wrapper_options(association_name, wrapper_options)
109
+ wrapper_options = add_default_classes_to_wrapper_options(association_name, wrapper_options.clone)
110
110
  @template.content_tag wrapper_element_type, wrapper_options do
111
111
  (wrapper_element_type==:fieldset && !legend.nil?)? ( @template.content_tag(:legend, legend, class: "nested_fields") + yield ) : yield
112
112
  end
@@ -1,3 +1,3 @@
1
1
  module NestedFormFields
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_form_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Ritsche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails