bootstrap_form 5.2.3 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -5
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +5 -1
- data/CONTRIBUTING.md +2 -2
- data/README.md +339 -155
- data/lib/bootstrap_form/action_view_extensions/form_helper.rb +10 -0
- data/lib/bootstrap_form/components/labels.rb +6 -2
- data/lib/bootstrap_form/components/layout.rb +1 -5
- data/lib/bootstrap_form/components/validation.rb +27 -15
- data/lib/bootstrap_form/form_builder.rb +5 -10
- data/lib/bootstrap_form/form_group.rb +2 -4
- data/lib/bootstrap_form/helpers/bootstrap.rb +0 -30
- data/lib/bootstrap_form/helpers/field.rb +1 -2
- data/lib/bootstrap_form/inputs/base.rb +10 -0
- data/lib/bootstrap_form/inputs/check_box.rb +16 -4
- data/lib/bootstrap_form/inputs/collection_check_boxes.rb +9 -1
- data/lib/bootstrap_form/inputs/inputs_collection.rb +13 -0
- data/lib/bootstrap_form/inputs/submit.rb +42 -0
- data/lib/bootstrap_form/inputs.rb +1 -0
- data/lib/bootstrap_form/version.rb +2 -2
- metadata +7 -7
- data/gemfiles/6.0.gemfile +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24a6f3e912fb97478e9708a92c7e58ad761f3c7f2dc9dee8d3cac006df650f8b
|
4
|
+
data.tar.gz: eabd38d5e11860969242574152a5f607a6afe734c0c4f88ed85f5ad252a793bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e092508b6cb801f0780258cabaa16b02e43483ccb4e7a04ddb76ffd56e6887ffdeccfb55a82e44a7112934f296aa6a2a61bebd10f1af7ef28a835887052948d
|
7
|
+
data.tar.gz: 133a7779e317214e68c7b8118369931107ab9f9e63a6f384185d5e512338e8c941db5018619e6bbfa6e4936ae0f23aeba5d9681f74e7d13e8cb10495825f2c0c
|
data/.github/workflows/ruby.yml
CHANGED
@@ -8,7 +8,7 @@ jobs:
|
|
8
8
|
Lint:
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
env:
|
11
|
-
BUNDLE_GEMFILE: gemfiles/6.
|
11
|
+
BUNDLE_GEMFILE: gemfiles/6.1.gemfile
|
12
12
|
steps:
|
13
13
|
- uses: actions/checkout@v3
|
14
14
|
with:
|
@@ -32,10 +32,7 @@ jobs:
|
|
32
32
|
fail-fast: false
|
33
33
|
matrix:
|
34
34
|
ruby-version: [ '3.2', '3.1', '3.0' ]
|
35
|
-
gemfile: [ '7.0', '6.1', '
|
36
|
-
exclude:
|
37
|
-
- { ruby-version: '3.2', gemfile: "6.0" }
|
38
|
-
- { ruby-version: '3.1', gemfile: "6.0" }
|
35
|
+
gemfile: [ '7.0', '6.1', 'edge' ]
|
39
36
|
env:
|
40
37
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
41
38
|
steps:
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ https://github.com/bootstrap-ruby/bootstrap_form/releases
|
|
6
6
|
|
7
7
|
## Diffs
|
8
8
|
|
9
|
+
- [5.3.1](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.3.0...v5.3.1)
|
10
|
+
[Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-09-15T15%3A00..2023-09-15T16%3A00)
|
11
|
+
- [5.3.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.3...v5.3.0)
|
12
|
+
[Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-06-18T07%3A00..2023-09-15T15%3A00)
|
9
13
|
- [5.2.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.2...v5.2.3)
|
10
14
|
[Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-05-28T16%3A00..2023-06-18T07%3A00)
|
11
15
|
- [5.2.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.1...v5.2.2)
|
@@ -310,7 +314,7 @@ Features:
|
|
310
314
|
- Added support for time_zone_select
|
311
315
|
- Accept multiple values, and objects as well, on `collection_check_boxes`
|
312
316
|
checked option (#114)
|
313
|
-
- Added support for
|
317
|
+
- Added support for hiding attribute name in errors_on helper (@datWav)
|
314
318
|
- Added support for additional class to the wrapper form_group by a field (@datWav)
|
315
319
|
- Support showing error summaries when inline_errors is enabled (@rosswilson)
|
316
320
|
- Name is now optional when creating static controls
|
data/CONTRIBUTING.md
CHANGED
@@ -48,7 +48,7 @@ You may find the [demo application](#the-demo-application) useful for developmen
|
|
48
48
|
|
49
49
|
- If you've never made a pull request (PR) before, read [this](https://help.github.com/articles/about-pull-requests/).
|
50
50
|
- If your PR fixes an issues, be sure to put "Fixes #nnn" in the description of the PR (where `nnn` is the issue number). Github will automatically close the issue when the PR is merged.
|
51
|
-
- When the PR is submitted, check if
|
51
|
+
- When the PR is submitted, check if GitHub Actions ran all the tests successfully, and didn't raise any issues.
|
52
52
|
|
53
53
|
### 7. Done
|
54
54
|
|
@@ -79,7 +79,7 @@ This repository offers experimental support support for a couple of ways to deve
|
|
79
79
|
- Using `docker-compose`. This way is less tested, and is an attempt to make the Docker container a more complete environment where you can conveniently develop and release the gem.
|
80
80
|
- Using just a simple Dockerfile. This way works for simple testing, but doesn't make it easy to release the gem, among other things.
|
81
81
|
|
82
|
-
Docker is _not_
|
82
|
+
Docker is _not_ required to work on this gem.
|
83
83
|
|
84
84
|
#### Using `docker-compose`
|
85
85
|
|