bootstrap_concerns 0.5.4 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcf43d672222428784e925103bce5b8adf0aed6edafbd7409526b6bca10cc0a2
4
- data.tar.gz: 962871c8f5b78c9d80a8642f291645e9ac08af5a34870debfb867fb3848ae66f
3
+ metadata.gz: ebd29a3241d20980ce99866726de6fee7aac0b318e90070b74e9f0e301c0b9ed
4
+ data.tar.gz: 3b51a9f3f0612d7fd98507ccc5b3718bfbff2cf404d32939a926a0f009da9c23
5
5
  SHA512:
6
- metadata.gz: 0d376dbb5e5226d219941d60958ce4e644a7ab886b16d8e5176f39c1ae038713d80343abded298a732bacd9b239be261dd68f2f75fa1a8fdfb6438829f11c930
7
- data.tar.gz: 607193eb563ca7f5a6d6e583e7759311bf71e9f965d5f92b135909c8529662a629d60c054f971fb9bed846aeae18833201891ed6711a92f4f118e155e6eedea4
6
+ metadata.gz: 6eeecf1fc605973c9439ab7dbfd1116d0e146322e61058cd87e272dd9ee41328087a18b139c3f625d40e6e5a6a525540a5d05556ca54d2b9d458f15bc93afc93
7
+ data.tar.gz: 7172244a7b5e848aa726e9bc2c8407ee86dc20c7a3a2a2a7f02bd52af80ca9752298ac0430c0184d64d745024616e92bd7122ba8586bdcfa880116b6c2c27301
@@ -9,7 +9,7 @@ module BootstrapConcerns
9
9
 
10
10
  def bs_button(value = nil, options = {}, &)
11
11
  normalized_options = value.is_a?(Hash) ? value : options
12
- normalized_options.merge!(Option.options_with_button_class(normalized_options))
12
+ normalized_options.deep_merge!(Option.options_with_button_class(normalized_options))
13
13
 
14
14
  button(value, options, &)
15
15
  end
@@ -20,7 +20,7 @@ module BootstrapConcerns
20
20
 
21
21
  def bs_check_label(method, text = nil, options = {}, &)
22
22
  normalized_options = text.is_a?(Hash) ? text : options
23
- normalized_options.merge!(options_with_form_label_class(normalized_options))
23
+ normalized_options.deep_merge!(options_with_form_label_class(normalized_options))
24
24
 
25
25
  label(method, text, options, &)
26
26
  end
@@ -85,7 +85,7 @@ module BootstrapConcerns
85
85
 
86
86
  def bs_label(method, text = nil, options = {}, &)
87
87
  normalized_options = text.is_a?(Hash) ? text : options
88
- normalized_options.merge!(options_with_form_label_class(normalized_options))
88
+ normalized_options.deep_merge!(options_with_form_label_class(normalized_options))
89
89
 
90
90
  label(method, text, options, &)
91
91
  end
@@ -105,7 +105,7 @@ module BootstrapConcerns
105
105
  direct-upload:end->direct-upload-field#end
106
106
  ACTION
107
107
  }
108
- }.merge(options)
108
+ }.deep_merge(options)
109
109
  )
110
110
  end
111
111
 
@@ -135,7 +135,7 @@ module BootstrapConcerns
135
135
 
136
136
  def bs_submit(value = nil, options = {})
137
137
  normalized_options = value.is_a?(Hash) ? value : options
138
- normalized_options.merge!(Option.options_with_button_class(normalized_options))
138
+ normalized_options.deep_merge!(Option.options_with_button_class(normalized_options))
139
139
 
140
140
  submit(value, options)
141
141
  end
@@ -147,7 +147,7 @@ module BootstrapConcerns
147
147
  def bs_readonly_plain_text_field(method, options = {})
148
148
  text_field(
149
149
  method,
150
- Option.options_with_base_class(options, FORM_CONTROL_PLAIN_TEXT_BASE_CLASS).merge(readonly: true)
150
+ Option.options_with_base_class(options, FORM_CONTROL_PLAIN_TEXT_BASE_CLASS).deep_merge(readonly: true)
151
151
  )
152
152
  end
153
153
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_concerns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Brooks
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '8'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: actionview
15
29
  requirement: !ruby/object:Gem::Requirement