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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.3
- name: Install dependencies
run: bundle install
- name: Run RuboCop against BASE..HEAD changes
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
strategy:
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
Expand All @@ -17,14 +16,8 @@ jobs:
- gemfiles/Gemfile.rails72
- gemfiles/Gemfile.rails80
exclude:
# rails 7.2 requires ruby >= 3.1
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
- ruby-version: '3.0'
gemfile: 'gemfiles/Gemfile.rails72'
# rails 8.0 requires ruby >= 3.2
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
- ruby-version: '3.0'
gemfile: 'gemfiles/Gemfile.rails80'
- ruby-version: '3.1'
gemfile: 'gemfiles/Gemfile.rails80'

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## [Unreleased]
### Fixed
* Update rubocop version dependency
* rake bundle:update should package gems for all platforms

## Changed
* Drop support for Ruby 3.0

## 7.3.2 / 2025-05-01
### Fixed
Expand Down
5 changes: 3 additions & 2 deletions lib/tasks/audit_bundle.rake
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,12 @@ namespace :bundle do
end

# Retrieve binary gems for platforms listed in Gemfile.lock
platforms = `bundle platform`.split("\n").grep(/^[*] x86_64-/).collect { |s| s[2..] }
Dir.chdir('vendor/cache') do
platforms = `bundle platform`.split("\n").grep(/^[*] x86_64-/).collect { |s| s[2..] }
platforms.each do |platform|
system("gem fetch #{gem} --version=#{new_gem_version2} --platform=#{platform}")
end
system('bundle package --all-platforms')
end if Dir.exist?('vendor/cache')

if gem == 'webpacker'
Expand Down Expand Up @@ -206,7 +207,7 @@ namespace :bundle do

$ ( git rm #{files_to_git_rm.join(' ')}
git add #{files_to_git_add.join(' ')}
git commit -m '# Bump #{gem} to #{new_gem_version2}'
git commit -m 'Bump #{gem} to #{new_gem_version2}'
)
MSG
end
Expand Down
2 changes: 1 addition & 1 deletion ndr_dev_support.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 3.0'
spec.required_ruby_version = '>= 3.1'

spec.add_dependency 'pry'

Expand Down