Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Ruby 2.7, bump bundler #11

Merged
merged 1 commit into from
Feb 13, 2025
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/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2']
ruby: ['3.0', '3.1', '3.2']
lockfile: ['activerecord-6.1', 'activerecord-7.0', 'Gemfile.lock']

services:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inherit_gem:

AllCops:
TargetRailsVersion: 6.1
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
Exclude:
- 'bin/*'
- 'gemfiles/*'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG RUBY_VERSION=2.7
ARG RUBY_VERSION=3.2
FROM ruby:${RUBY_VERSION}

WORKDIR /app

RUN /bin/bash -lc "gem install bundler -v 2.4.22"
RUN /bin/bash -lc "gem install bundler -v 2.5.23"

RUN echo "gem: --no-document" >> ~/.gemrc

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.activerecord-6.1.lock
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ DEPENDENCIES
switchman-inst-jobs!

BUNDLED WITH
2.4.22
2.5.23
2 changes: 1 addition & 1 deletion Gemfile.activerecord-7.0.lock
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ DEPENDENCIES
switchman-inst-jobs!

BUNDLED WITH
2.4.22
2.5.23
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ DEPENDENCIES
switchman-inst-jobs!

BUNDLED WITH
2.4.22
2.5.23
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Some high-level features this gem provides to make this work:

## Requirements

* Ruby 2.7+
* Ruby 3.0+
* Rails 6.1+


Expand Down Expand Up @@ -70,7 +70,7 @@ docker-compose run --rm app
```

This will install the gem in a docker image with all versions of Ruby installed,
and install all gem dependencies in the Ruby 2.7 set of gems. It will also
and install all gem dependencies in the Ruby 3.2 set of gems. It will also
download and spin up a PostgreSQL container for use with specs.

The first build will take a long time, however, docker images and gems are
Expand Down
2 changes: 1 addition & 1 deletion switchman-inst-jobs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
"rubygems_mfa_required" => "true"
}

s.required_ruby_version = ">= 2.7"
s.required_ruby_version = ">= 3.0"

s.add_dependency "inst-jobs", ">= 2.4.9", "< 4.0"
s.add_dependency "parallel", ">= 1.19"
Expand Down