Skip to content

Commit

Permalink
feat: bump up ruby version to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dinomh committed Dec 11, 2024
1 parent 6fe051b commit 391255b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.1

- name: Install Bundler
run: gem install bundler -v 2.5.23
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.1

- name: Install Bundler
run: gem install bundler -v 2.4.22
run: gem install bundler -v 2.5.23

- name: Install dependencies
run: bundle _2.4.22_ install
run: bundle _2.5.23_ install

- name: Release Gem
if: contains(github.ref, 'refs/tags/v')
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 3.1
SuggestExtensions: false
NewCops: enable

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [2.0.0] - 2024-12-11
- *BREAKING CHANGE* - Please check the README file, dotenv is now optional
- *BREAKING CHANGE* - Updated the required Ruby version from 2.5 to 3.1

## [1.0.6] - 2024-12-06
- Page parameter to cursor pagination fix
Expand Down
4 changes: 2 additions & 2 deletions mailerlite-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.description = "MailerLite's official Ruby SDK. Interacts with all endpoints at MailerLite API."
spec.homepage = 'https://www.MailerLite.com'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.5.0'
spec.required_ruby_version = '>= 3.1'

spec.metadata['allowed_push_host'] = 'https://rubygems.org'

Expand All @@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 2.5'
spec.add_development_dependency 'rake', '~> 13.2'
spec.add_development_dependency 'rubocop', '~> 1.69'
spec.add_dependency 'dotenv', '~> 2.7'
spec.add_dependency 'dotenv', '~> 3.1'
spec.add_dependency 'http', '~> 5.2'
spec.add_dependency 'json', '~> 2.9'
spec.add_dependency 'uri', '~> 1.0'
Expand Down

0 comments on commit 391255b

Please sign in to comment.