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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '080b03659b41c88ebbce90498ef35b440c8f41f557b290369a7193c3d8ae3e3e'
4
- data.tar.gz: 6659f30906b3c7ce3b01f276b7e12dc777ef8fdd0213977aeb42dccdd7b5ef0d
3
+ metadata.gz: aa203680f8530d072249fcb994bb9722cb02a88cca5a0150ab9094c8aec8209c
4
+ data.tar.gz: 94f1ea930050b77b6cf1d183aef058bbc3f5a0f89f59aab229a6a44e15203c5b
5
5
  SHA512:
6
- metadata.gz: 4a39ff618a9f881079640c35c345a1e64e376259bad7eeaf20442a22804083ec1661b2d2babb9ef4dbcf420eb7b5681f2907dc68df20688c3234bf1ebc776a98
7
- data.tar.gz: df4ce96547bd4e460d5e6960262c74619a377a7ae47d5dcac3e930c0a39f175a8853017e4536419a8e179c91c53930a8902a53be176c61dea2013a5cf9b492c6
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": "reid"
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("BUNDLE_GEMFILE= rake test:all")
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:-3.3}-sqlite-${DISTRO:-bookworm}
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:cached
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 = Rails.env.development? if config.bootstrap_form.group_around_collections.nil?
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BootstrapForm
4
- VERSION = "5.6.0"
4
+ VERSION = "5.6.1"
5
5
  REQUIRED_RAILS_VERSION = ">= 7.2"
6
6
  end
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.0
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: 2026-01-26 00:00:00.000000000 Z
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: 3.5.22
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: []