bootstrap_form 5.6.0 → 5.6.1
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/.devcontainer.json +2 -2
- data/.gitignore +2 -0
- data/RELEASING.md +2 -0
- data/Rakefile +8 -3
- data/compose.yml +8 -3
- data/lib/bootstrap_form/engine.rb +1 -1
- data/lib/bootstrap_form/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa203680f8530d072249fcb994bb9722cb02a88cca5a0150ab9094c8aec8209c
|
|
4
|
+
data.tar.gz: 94f1ea930050b77b6cf1d183aef058bbc3f5a0f89f59aab229a6a44e15203c5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88409320c9927c147dff24249c6b57e2d0c070c54869cb4b784971ec907b4593c0d7e68b04dfde633160ee8b2e0f0a169adc930c7abb6a38a488b72cc59fa71c
|
|
7
|
+
data.tar.gz: 5cfdbb31b93222fd286625bc2b32b2d59d02e63df3ce3319a42d99acb3a6bdd173d778d9e1df9c1c982bd7e52bfdc02c3c28347375dcff2dca0d6f8c8e03aa57
|
data/.devcontainer.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
// The optional 'workspaceFolder' property is the path VS Code should open by default when
|
|
14
14
|
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
|
|
15
|
-
"workspaceFolder": "/app",
|
|
15
|
+
"workspaceFolder": "/home/dev/app",
|
|
16
16
|
// "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
|
|
17
17
|
|
|
18
18
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
// "customizations": {},
|
|
35
35
|
|
|
36
36
|
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
|
37
|
-
// "remoteUser": "
|
|
37
|
+
// "remoteUser": "devcontainer"
|
|
38
38
|
}
|
data/.gitignore
CHANGED
|
@@ -52,10 +52,12 @@ demo/.yarn-integrity
|
|
|
52
52
|
demo/vendor/bundle
|
|
53
53
|
|
|
54
54
|
# For stuff that gets created if using the Dockerfile image
|
|
55
|
+
# These are likely no longer needed.
|
|
55
56
|
/.bundle/
|
|
56
57
|
.cache/
|
|
57
58
|
vendor/bundle
|
|
58
59
|
|
|
60
|
+
# Neither are many of these, I think.
|
|
59
61
|
# or .local/share/pry/pry_history if you need to be more exact
|
|
60
62
|
.local/
|
|
61
63
|
.irb_history
|
data/RELEASING.md
CHANGED
|
@@ -28,6 +28,7 @@ In the `bootstrap_form` repository (not a fork):
|
|
|
28
28
|
|
|
29
29
|
7. Update the installation instructions in `README.md` to use the new version.
|
|
30
30
|
8. Commit the CHANGELOG and version changes in a single commit; the message should be "Preparing vX.Y.Z" where `X.Y.Z` is the version being released.
|
|
31
|
+
8. If you did the above on a branch, merge it to `main`.
|
|
31
32
|
9. Tag, push to GitHub, and publish to rubygems.org:
|
|
32
33
|
|
|
33
34
|
bundle exec rake release
|
|
@@ -35,6 +36,7 @@ In the `bootstrap_form` repository (not a fork):
|
|
|
35
36
|
10. Go to https://github.com/bootstrap-ruby/bootstrap_form/releases and create the new release and add release notes by clicking the "Generate release notes" button.
|
|
36
37
|
Add the link of closed issues from CHANGELOG.
|
|
37
38
|
Group the commits in sections:
|
|
39
|
+
|
|
38
40
|
* ### New features
|
|
39
41
|
* ### Bugfixes
|
|
40
42
|
* ### Performance
|
data/Rakefile
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
begin
|
|
2
|
-
require "bundler/setup"
|
|
3
2
|
require "bundler/gem_tasks"
|
|
4
3
|
require "minitest/test_task"
|
|
5
4
|
require "rdoc/task"
|
|
@@ -29,12 +28,18 @@ task default: %i[test rubocop:autocorrect]
|
|
|
29
28
|
namespace :test do
|
|
30
29
|
desc "Run tests for all supported Rails versions, with current Ruby version"
|
|
31
30
|
task :all do
|
|
31
|
+
# I _think_ we have to run `bundle exec rake...` here. But that doesn't mean we have
|
|
32
|
+
# to run `bundle exec rake...` when we're just running commands in the shell.
|
|
33
|
+
# I believe this is because `rake` will load some gems, and the tests, depending on
|
|
34
|
+
# the Rails version, may need to load conflicting versions of the gems.
|
|
35
|
+
# When you run a single test in the shell, it hasn't had the intermediate `rake` task
|
|
36
|
+
# to load gems, so the problem doesn't arise there.
|
|
32
37
|
gemfiles.each do |gemfile|
|
|
33
|
-
system("BUNDLE_GEMFILE=#{gemfile} rake test")
|
|
38
|
+
system("BUNDLE_GEMFILE=#{gemfile} bundle exec rake test")
|
|
34
39
|
end
|
|
35
40
|
|
|
36
41
|
Dir.chdir("demo")
|
|
37
|
-
system("
|
|
42
|
+
system("bin/rails test:all")
|
|
38
43
|
end
|
|
39
44
|
end
|
|
40
45
|
|
data/compose.yml
CHANGED
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
# https://medium.com/@retrorubies/chrome-as-a-service-for-rails-testing-b1a45e70fec1
|
|
5
5
|
services:
|
|
6
6
|
web:
|
|
7
|
-
image: lenchoreyes/jade:rails-app-${RUBY_VERSION:-
|
|
7
|
+
image: lenchoreyes/jade:rails-app-${RUBY_VERSION:-4.0}-sqlite-trixie
|
|
8
8
|
stdin_open: true
|
|
9
9
|
tty: true
|
|
10
|
+
user: "dev:dev"
|
|
10
11
|
volumes:
|
|
11
|
-
- .:/app
|
|
12
|
+
- .:/home/dev/app
|
|
13
|
+
- dev_home:/home/dev
|
|
12
14
|
environment:
|
|
13
|
-
- HISTFILE=/app/.bash_history
|
|
14
15
|
- SELENIUM_HOST=selenium
|
|
15
16
|
- SELENIUM_PORT=4444
|
|
16
17
|
- TEST_APP_HOST=web
|
|
@@ -18,6 +19,7 @@ services:
|
|
|
18
19
|
ports:
|
|
19
20
|
- "3000"
|
|
20
21
|
- "3001"
|
|
22
|
+
- "5990"
|
|
21
23
|
command: /bin/bash
|
|
22
24
|
|
|
23
25
|
selenium:
|
|
@@ -34,3 +36,6 @@ services:
|
|
|
34
36
|
- LANG_WHICH=en
|
|
35
37
|
ports:
|
|
36
38
|
- "7900"
|
|
39
|
+
|
|
40
|
+
volumes:
|
|
41
|
+
dev_home:
|
|
@@ -9,7 +9,7 @@ module BootstrapForm
|
|
|
9
9
|
|
|
10
10
|
config.bootstrap_form = BootstrapForm.config
|
|
11
11
|
config.bootstrap_form.default_form_attributes ||= {}
|
|
12
|
-
config.bootstrap_form.group_around_collections
|
|
12
|
+
config.bootstrap_form.group_around_collections ||= false
|
|
13
13
|
|
|
14
14
|
initializer "bootstrap_form.configure" do |app|
|
|
15
15
|
BootstrapForm.config = app.config.bootstrap_form
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap_form
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.6.
|
|
4
|
+
version: 5.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen Potenza
|
|
8
8
|
- Carlos Lopes
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: actionpack
|
|
@@ -129,7 +128,6 @@ licenses:
|
|
|
129
128
|
- MIT
|
|
130
129
|
metadata:
|
|
131
130
|
rubygems_mfa_required: 'true'
|
|
132
|
-
post_install_message:
|
|
133
131
|
rdoc_options: []
|
|
134
132
|
require_paths:
|
|
135
133
|
- lib
|
|
@@ -144,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
144
142
|
- !ruby/object:Gem::Version
|
|
145
143
|
version: '0'
|
|
146
144
|
requirements: []
|
|
147
|
-
rubygems_version:
|
|
148
|
-
signing_key:
|
|
145
|
+
rubygems_version: 4.0.6
|
|
149
146
|
specification_version: 4
|
|
150
147
|
summary: Rails form builder that makes it easy to style forms using Bootstrap 5
|
|
151
148
|
test_files: []
|