Skip to content

Commit

Permalink
Add ActiveSupport 7.1 as default setup (#537)
Browse files Browse the repository at this point in the history
* Update main Gemfile to Rails 7.1

* Update other Gemfiles
- Move 7.0 Gemfile to the gemfiles folder

* Add Rails 7.1 to the CI

* Add changelog entry

* Use new cache  format for Rails 7.1
- Update changelog
  • Loading branch information
tomascco committed Oct 7, 2023
1 parent 5f9cc4e commit 7aee5a8
Show file tree
Hide file tree
Showing 8 changed files with 416 additions and 70 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ updates:
schedule:
interval: monthly
versioning-strategy: lockfile-only
- package-ecosystem: bundler
directory: /gemfiles/rails_70
schedule:
interval: monthly
versioning-strategy: lockfile-only
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ jobs:
deps:
- rails_61
- rails_70
- rails_71
steps:
- uses: actions/checkout@v4
- name: Configure bundler (default)
run: |
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
if: matrix.deps == 'rails_70'
if: matrix.deps == 'rails_71'
- name: Configure bundler (alternative)
run: |
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.deps }}/Gemfile" >> "$GITHUB_ENV"
if: matrix.deps != 'rails_70'
if: matrix.deps != 'rails_71'
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Master (unreleased)

* Allow Active Support 7.1. [#537][] by [@tomascco][]

## 1.6.0 [](https://github.com/activeadmin/arbre/compare/v1.5.0...v1.6.0)

* Drop support for Ruby 2.6. [#345][] by [@alejandroperea][]
Expand Down Expand Up @@ -120,6 +122,7 @@ Initial release and extraction from Active Admin
[#345]: https://github.com/activeadmin/arbre/pull/345
[#451]: https://github.com/activeadmin/arbre/pull/451
[#456]: https://github.com/activeadmin/arbre/pull/456
[#537]: https://github.com/activeadmin/arbre/pull/537

[@aramvisser]: https://github.com/aramvisser
[@LTe]: https://github.com/LTe
Expand All @@ -141,3 +144,4 @@ Initial release and extraction from Active Admin
[@mynnx]: https://github.com/mynnx
[@Ikariusrb]: https://github.com/Ikariusrb
[@ngan]: https://github.com/ngan
[@tomascco]: https://github.com/tomascco
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ group :rubocop do
end

group :rails do
gem 'rails', '~> 7.0.2'
gem 'rails', '~> 7.1.0'
gem 'rspec-rails'
gem 'combustion'
gem 'capybara'
Expand Down
166 changes: 101 additions & 65 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,75 +8,85 @@ PATH
GEM
remote: http://rubygems.org/
specs:
actioncable (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
actioncable (7.1.0)
actionpack (= 7.1.0)
activesupport (= 7.1.0)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
zeitwerk (~> 2.6)
actionmailbox (7.1.0)
actionpack (= 7.1.0)
activejob (= 7.1.0)
activerecord (= 7.1.0)
activestorage (= 7.1.0)
activesupport (= 7.1.0)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.8)
actionpack (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activesupport (= 7.0.8)
actionmailer (7.1.0)
actionpack (= 7.1.0)
actionview (= 7.1.0)
activejob (= 7.1.0)
activesupport (= 7.1.0)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.8)
actionview (= 7.0.8)
activesupport (= 7.0.8)
rack (~> 2.0, >= 2.2.4)
rails-dom-testing (~> 2.2)
actionpack (7.1.0)
actionview (= 7.1.0)
activesupport (= 7.1.0)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.8)
actionpack (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.0)
actionpack (= 7.1.0)
activerecord (= 7.1.0)
activestorage (= 7.1.0)
activesupport (= 7.1.0)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.8)
activesupport (= 7.0.8)
actionview (7.1.0)
activesupport (= 7.1.0)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.8)
activesupport (= 7.0.8)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.0)
activesupport (= 7.1.0)
globalid (>= 0.3.6)
activemodel (7.0.8)
activesupport (= 7.0.8)
activerecord (7.0.8)
activemodel (= 7.0.8)
activesupport (= 7.0.8)
activestorage (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activesupport (= 7.0.8)
activemodel (7.1.0)
activesupport (= 7.1.0)
activerecord (7.1.0)
activemodel (= 7.1.0)
activesupport (= 7.1.0)
timeout (>= 0.4.0)
activestorage (7.1.0)
actionpack (= 7.1.0)
activejob (= 7.1.0)
activerecord (= 7.1.0)
activesupport (= 7.1.0)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.8)
activesupport (7.1.0)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.1.1)
bigdecimal (3.1.4)
bigdecimal (3.1.4-java)
builder (3.2.4)
capybara (3.39.2)
addressable
Expand All @@ -93,17 +103,26 @@ GEM
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.3)
date (3.3.3-java)
diff-lcs (1.5.0)
docile (1.4.0)
drb (2.1.1)
ruby2_keywords
erubi (1.12.0)
ffi (1.16.3-java)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
io-console (0.6.0-java)
irb (1.8.1)
rdoc
reline (>= 0.3.8)
jar-dependencies (0.4.1)
json (2.6.3)
json (2.6.3-java)
language_server-protocol (3.17.0.3)
Expand All @@ -121,6 +140,7 @@ GEM
mini_mime (1.1.5)
mini_portile2 (2.8.4)
minitest (5.20.0)
mutex_m (0.1.2)
net-imap (0.4.0)
date
net-protocol
Expand Down Expand Up @@ -148,43 +168,57 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
psych (5.1.0)
stringio
psych (5.1.0-java)
jar-dependencies (>= 0.1.7)
public_suffix (5.0.3)
racc (1.7.1)
racc (1.7.1-java)
rack (2.2.8)
rack-session (1.0.1)
rack (< 3)
rack-test (2.1.0)
rack (>= 1.3)
rails (7.0.8)
actioncable (= 7.0.8)
actionmailbox (= 7.0.8)
actionmailer (= 7.0.8)
actionpack (= 7.0.8)
actiontext (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activemodel (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
rackup (1.0.0)
rack (< 3)
webrick
rails (7.1.0)
actioncable (= 7.1.0)
actionmailbox (= 7.1.0)
actionmailer (= 7.1.0)
actionpack (= 7.1.0)
actiontext (= 7.1.0)
actionview (= 7.1.0)
activejob (= 7.1.0)
activemodel (= 7.1.0)
activerecord (= 7.1.0)
activestorage (= 7.1.0)
activesupport (= 7.1.0)
bundler (>= 1.15.0)
railties (= 7.0.8)
railties (= 7.1.0)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
method_source
railties (7.1.0)
actionpack (= 7.1.0)
activesupport (= 7.1.0)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.0.6)
rdoc (6.5.0)
psych (>= 4.0.0)
regexp_parser (2.8.1)
reline (0.3.9)
io-console (~> 0.5)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
Expand Down Expand Up @@ -236,11 +270,13 @@ GEM
simplecov_json_formatter (0.1.4)
spoon (0.0.6)
ffi
stringio (3.0.8)
thor (1.2.2)
timeout (0.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webrick (1.8.1)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-driver (0.7.6-java)
Expand All @@ -259,7 +295,7 @@ DEPENDENCIES
capybara
combustion
pry
rails (~> 7.0.2)
rails (~> 7.1.0)
rake
rspec
rspec-rails
Expand Down
25 changes: 25 additions & 0 deletions gemfiles/rails_70/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# frozen_string_literal: true
source 'http://rubygems.org'

gem 'rake'

group :test do
gem 'rspec'
gem 'simplecov', require: false
gem 'simplecov-cobertura'
gem 'pry'
end

group :rubocop do
gem 'rubocop'
gem 'rubocop-packaging'
end

group :rails do
gem 'rails', '~> 7.0.8'
gem 'rspec-rails'
gem 'combustion'
gem 'capybara'
end

gemspec path: "../.."
Loading

0 comments on commit 7aee5a8

Please sign in to comment.