bulma_form_builder 0.4.0 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa2d8476549cce101f4a623ae2348637d0681747aaa5ff0fbb4522e330a13600
|
4
|
+
data.tar.gz: 2a49bb57aa562be10bcc0fc0ab4ffa6fa527f8b77dee437d07f81232ad9f393d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1d2d69ef635a2a19c78f67e677c480e44c689534686094dffd525e935907dc1267d605056d67ac11b22e17de8a9d6da9ce61b10d7a5465f4aac596aa189a01b
|
7
|
+
data.tar.gz: 74843ddf3d83f0ddd43ea90db24927aaee1ca1d178bc3a284924717d6699ca71172f27aef1759e6c3b4e4cae174ad7cfca2653eceb825b983fa84fd83e67eb57
|
data/CHANGELOG.md
CHANGED
data/bulma_form_builder.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "rails", ">= 6.0.
|
25
|
+
spec.add_dependency "rails", ">= 6.0.4.1"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.0"
|
28
28
|
spec.add_development_dependency "rake"
|
@@ -9,8 +9,12 @@ module BulmaFormBuilder
|
|
9
9
|
def select_with_bulma(method, choices = nil, options = {}, html_options = {}, &block)
|
10
10
|
html_options[:required] = options[:required]
|
11
11
|
|
12
|
+
div_class = ['select']
|
13
|
+
div_class.push('is-fullwidth') if options.delete(:fullwidth)
|
14
|
+
div_class.push('is-multiple') if html_options[:multiple]
|
15
|
+
|
12
16
|
form_field_builder(method, options, html_options) do
|
13
|
-
content_tag(:div, class: '
|
17
|
+
content_tag(:div, class: div_class.join(' ')) do
|
14
18
|
select_without_bulma(method, choices, options, html_options, &block)
|
15
19
|
end
|
16
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulma_form_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aki77
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 6.0.
|
19
|
+
version: 6.0.4.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 6.0.
|
26
|
+
version: 6.0.4.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|