bootstrap_concerns 0.5.4 → 0.5.6

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: 2c462b0648718081a4f8a1bd1669b1c3e3f9707ff2b5320f71fcefaabc7481cb
4
+ data.tar.gz: 3b51a9f3f0612d7fd98507ccc5b3718bfbff2cf404d32939a926a0f009da9c23
5
5
  SHA512:
6
- metadata.gz: 0d376dbb5e5226d219941d60958ce4e644a7ab886b16d8e5176f39c1ae038713d80343abded298a732bacd9b239be261dd68f2f75fa1a8fdfb6438829f11c930
7
- data.tar.gz: 607193eb563ca7f5a6d6e583e7759311bf71e9f965d5f92b135909c8529662a629d60c054f971fb9bed846aeae18833201891ed6711a92f4f118e155e6eedea4
6
+ metadata.gz: 72ae80b00c79d9bd8429cb4bec74545d877a1c414e8482dc9d3e4146d0aa40cb3e78b5871712506e222a0885e4470f374bfc8efbdff955c17394a952759aa548
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,15 +1,30 @@
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Brooks
8
8
  - Robert Keresnyei
9
+ - Yuriy Kharchenko
9
10
  bindir: bin
10
11
  cert_chain: []
11
12
  date: 1980-01-02 00:00:00.000000000 Z
12
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '8'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '8'
13
28
  - !ruby/object:Gem::Dependency
14
29
  name: actionview
15
30
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
93
  - !ruby/object:Gem::Version
79
94
  version: '0'
80
95
  requirements: []
81
- rubygems_version: 3.6.7
96
+ rubygems_version: 4.0.3
82
97
  specification_version: 4
83
98
  summary: Concerns for building Bootstrap components with Ruby on Rails.
84
99
  test_files: []