bootstrap_form 5.2.3 → 5.3.0
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 +4 -4
- data/.github/workflows/ruby.yml +2 -5
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +3 -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 +24 -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: d815f47ba50f0e5df245d8f35dd3fb82cae105ad478082421a7194f9122a18db
|
4
|
+
data.tar.gz: 044ec8a6f93f1b9bcff51e5d6b221654cbb3a9a229923497ddbc6afc69da564e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79f7846a394e99f14b1067ee2f0df6f9e9ab7ccdbf61d4a2b6fae5b566d92fde24b93eb6330009a2eea939eaee3693b92584996564b0e0174d19a010eccabab
|
7
|
+
data.tar.gz: fd4eeaf87ba9341c0f8b91693f054a40b8a9b3ae3be430e152a435290ce56c78c443bed78dd1e2767dcf22c28bd46ea338680668f75dc409533368ce3dda0891
|
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,8 @@ https://github.com/bootstrap-ruby/bootstrap_form/releases
|
|
6
6
|
|
7
7
|
## Diffs
|
8
8
|
|
9
|
+
- [5.3.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.3...v5.3.0)
|
10
|
+
[Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-06-18T07%3A00..2023-09-15T16%3A00)
|
9
11
|
- [5.2.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.2...v5.2.3)
|
10
12
|
[Closed issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-05-28T16%3A00..2023-06-18T07%3A00)
|
11
13
|
- [5.2.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.1...v5.2.2)
|
@@ -310,7 +312,7 @@ Features:
|
|
310
312
|
- Added support for time_zone_select
|
311
313
|
- Accept multiple values, and objects as well, on `collection_check_boxes`
|
312
314
|
checked option (#114)
|
313
|
-
- Added support for
|
315
|
+
- Added support for hiding attribute name in errors_on helper (@datWav)
|
314
316
|
- Added support for additional class to the wrapper form_group by a field (@datWav)
|
315
317
|
- Support showing error summaries when inline_errors is enabled (@rosswilson)
|
316
318
|
- 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
|
|