Skip to content

Commit 9e4e995

Browse files
committed
Preparing v5.1.0
1 parent d904d06 commit 9e4e995

File tree

4 files changed

+36
-17
lines changed

4 files changed

+36
-17
lines changed

CHANGELOG.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# Change Log
2+
3+
## Apology
4+
5+
The tooling to support our old way of doing the change log doesn't work anymore, and we don't have a better solution, so this change log has become unreliable since version 4.5.0. Please refer to the commit history if you need to debug changes.
6+
7+
8+
- [Pending Release](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.1.0...HEAD)
9+
- [5.1.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...v5.1.0)
10+
- [5.0.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.5.0...v5.0.0)
11+
- [4.5.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.4.0...v4.5.0)
12+
- [4.4.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.3.0...v4.4.0)
13+
- [4.3.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.2.0...v4.3.0)
14+
- [4.2.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.1.0...v4.2.0)
15+
- [4.1.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.0.0...v4.1.0)
16+
- [4.0.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.0.0.alpha1...v4.0.0)
17+
- [4.0.0.alpha1](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.7.0...v4.0.0.alpha1)
18+
- [2.7.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.6.0...v2.7.0)
19+
- [2.6.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.3...v2.6.0)
20+
- [2.5.3](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.2...v2.5.3)
21+
- [2.5.2](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.1...v2.5.2)
22+
- [2.5.1](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.0...v2.5.1)
23+
- [2.5.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.4.0...v2.5.0)
24+
- [2.4.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.3.0...v2.4.0)
25+
126
## [Pending Release][]
227

328
### Breaking changes
@@ -339,7 +364,8 @@ Features:
339364
- Added support for bootstrap_form_tag (@baldwindavid)
340365

341366

342-
[Pending Release]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...HEAD
367+
[Pending Release]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.1.0...HEAD
368+
[5.1.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...v5.1.0
343369
[5.0.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.5.0...v5.0.0
344370
[4.5.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.4.0...v4.5.0
345371
[4.4.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.3.0...v4.4.0

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,18 @@ Some other nice things that `bootstrap_form` does for you are:
3131

3232
## Installation
3333

34-
Install Bootstrap 5. There are many ways to do this, depending on the asset pipeline you're using in your Rails application. There is a gem that works with Sprockets. So in a brand new Rails 7.0 application created _without_ the `--webpacker` option, add the `bootstrap` gem to your `Gemfile`:
34+
Install Bootstrap 5. There are many ways to do this, depending on the asset pipeline you're using in your Rails application. One way is to use the gem that works with Sprockets. To do so, in a brand new Rails 7.0 application created _without_ the `--webpacker` option, add the `bootstrap` gem to your `Gemfile`:
3535

3636
```ruby
3737
gem "bootstrap", "~> 5.0"
3838
```
3939

4040
And follow the remaining instructions in the [official bootstrap installation guide](https://github.com/twbs/bootstrap-rubygem#a-ruby-on-rails) for setting up `application.scss` and `application.js`.
4141

42-
You also need to use the SASS preprocessor, so uncomment the following line in your `Gemfile`:
43-
4442
Add the `bootstrap_form` gem to your `Gemfile`:
4543

4644
```ruby
47-
gem "bootstrap_form", "~> 5.0"
45+
gem "bootstrap_form", "~> 5.1"
4846
```
4947

5048
Then:
@@ -1136,7 +1134,7 @@ This generates:
11361134
</div>
11371135
</div>
11381136
</div>
1139-
1137+
11401138
<div class="mb-3 row">
11411139
<div class="col-sm-10 offset-sm-2">
11421140
<input class="btn btn-secondary" data-disable-with="Create User" name="commit" type="submit" value="Create User">

RELEASING.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,15 @@ Follow these steps to release a new version of bootstrap_form to rubygems.org.
66

77
* You must have commit rights to the bootstrap_form repository.
88
* You must have push rights for the bootstrap_form gem on rubygems.org.
9-
* You must be using Ruby >= 2.5.
10-
* Your GitHub credentials must be available to Chandler via `~/.netrc` or an environment variable, [as explained here](https://github.com/mattbrictson/chandler#2-configure-credentials).
9+
* You must be using a Ruby version that is not end-of-life.
1110

1211
## How to release
1312

14-
1. Run `bundle install` to make sure that you have all the gems necessary for testing and releasing.
15-
2. **Ensure the tests are passing by running `bundle exec rake`.**
13+
1. Run `BUNDLE_GEMFILE=gemfiles/7.0.gemfile bundle update` to make sure that you have all the gems necessary for testing and releasing.
14+
2. **Ensure the tests are passing by running `BUNDLE_GEMFILE=gemfiles/7.0.gemfile bundle update`.** (Currently this step shows a lot of warnings about method redefinitions, but otherwise everything must be green before release.)
1615
3. Determine which would be the correct next version number according to [semver](http://semver.org/).
1716
4. Update the version in `./lib/bootstrap_form/version.rb`.
18-
5. Update the `CHANGELOG.md` (for an illustration of these steps, refer to the [4.0.0.alpha1 commit](https://github.com/bootstrap-ruby/bootstrap_form/commit/8aac3667931a16537ab68038ec4cebce186bd596#diff-4ac32a78649ca5bdd8e0ba38b7006a1e) as an example):
19-
* Rename the Pending Release section to `[version][] (date)` with appropriate values `version` and `date`
20-
* Remove the "Your contribution here!" bullets from the release notes
21-
* Add a new Pending Release section at the top of the file with a template for contributors to fill in, including "Your contribution here!" bullets
22-
* Add the appropriate GitHub diff links to the footer of the document
17+
5. Update the GitHub diff links at the beginning of `CHANGELOG.md` (The pattern should be obvious when you look at them).
2318
6. Update the installation instructions in `README.md` to use the new version.
2419
7. 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.
25-
8. Run `bundle exec rake release`; this will tag, push to GitHub, publish to rubygems.org, and upload the latest CHANGELOG entry to the [GitHub releases page](https://github.com/bootstrap-ruby/bootstrap_form/releases).
20+
8. Run `bundle exec rake release`; this will tag, push to GitHub, and publish to rubygems.org.

lib/bootstrap_form/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module BootstrapForm
2-
VERSION = "5.0.0".freeze
2+
VERSION = "5.1.0".freeze
33
end

0 commit comments

Comments
 (0)