Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 9 additions & 16 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
Lint:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: gemfiles/6.1.gemfile
BUNDLE_GEMFILE: gemfiles/7.1.gemfile
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.6
ruby-version: 3.2.7
bundler-cache: true
# Disabled since it requires access not granted by GitHub Actions for PRs
# - name: Danger
Expand All @@ -32,15 +32,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [ '3.3', '3.2', '3.1', '3.0', 'ruby-head' ]
gemfile: [ '7.2', '7.1', '7.0', '6.1', 'edge' ]
exclude:
- ruby-version: '3.1'
gemfile: 'edge'
- ruby-version: '3.0'
gemfile: 'edge'
- ruby-version: '3.0'
gemfile: '7.2'
ruby-version: [ '3.4', '3.3', '3.2', 'ruby-head' ]
gemfile: [ '7.2', '7.1', 'edge' ]
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
Expand All @@ -61,12 +54,12 @@ jobs:
with:
working-directory: demo
bundler-cache: true
ruby-version: 3.3.2
ruby-version: 3.4.2
- name: Run tests
working-directory: demo
run: bundle exec rake test:all
- name: Commit changed screenshots and other files
if: failure()
working-directory: demo
run: bundle exec rake commit
# - name: Commit changed screenshots and other files
# if: failure()
# working-directory: demo
# run: bundle exec rake commit

6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require:
plugins:
- rubocop-performance
- rubocop-rails

AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
TargetRubyVersion: 3.0
TargetRailsVersion: 6.1
TargetRubyVersion: 3.2
TargetRailsVersion: 7.1
NewCops: enable
Exclude:
- bin/*
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Some other nice things that `bootstrap_form` does for you are:

`bootstrap_form` supports at a minimum the currently supported versions of Ruby and Rails:

* Ruby 3.0+ (https://www.ruby-lang.org/en/downloads/branches/)
* Rails 6.1+ (https://guides.rubyonrails.org/maintenance_policy.html)
* Ruby 3.2+ (https://www.ruby-lang.org/en/downloads/branches/)
* Rails 7.1+ (https://guides.rubyonrails.org/maintenance_policy.html)
* Bootstrap 5.0+

## Installation
Expand Down
2 changes: 1 addition & 1 deletion bootstrap_form.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
s.bindir = "exe"
s.require_paths = ["lib"]

s.required_ruby_version = ">= 3.0"
s.required_ruby_version = ">= 3.2"

s.add_dependency("actionpack", BootstrapForm::REQUIRED_RAILS_VERSION)
s.add_dependency("activemodel", BootstrapForm::REQUIRED_RAILS_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion demo/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.0.6
ruby-3.2.7
Loading
Loading