From 352826060eda6f66b52e6e1ba6e0d1fdd3a4c1b4 Mon Sep 17 00:00:00 2001 From: Simon Neutert Date: Mon, 16 Sep 2024 12:42:18 +0200 Subject: [PATCH] minimum ruby version >= 3.0 --- .github/workflows/test.yml | 4 +++- .rubocop.yml | 2 +- CHANGELOG.md | 5 +++-- lib/strava/version.rb | 2 +- strava-ruby-client.gemspec | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e78b049..e93f177 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,9 +6,11 @@ jobs: strategy: matrix: ruby-version: - - "2.7" - "3.0" - "3.1" + - "3.2" + - "3.3" + - "jruby-9.4" steps: - uses: actions/checkout@v2 - name: Set up Ruby diff --git a/.rubocop.yml b/.rubocop.yml index f68c1d1..af5f7ca 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 NewCops: enable Exclude: - vendor/**/* diff --git a/CHANGELOG.md b/CHANGELOG.md index aee115e..aa32374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ -### 2.1.1 (Next) +### 3.0.0 (Next) -* [#84](https://github.com/dblock/strava-ruby-client/pull/84): Adds back activity photos (finished PR #83) - [@simonneutert](https://github.com/simonneutert). * [#83](https://github.com/dblock/strava-ruby-client/pull/83): Adds back activity photos - [@dillon-co](https://github.com/dillon-co). +* [#84](https://github.com/dblock/strava-ruby-client/pull/84): Adds back activity photos (finished PR #83) - [@simonneutert](https://github.com/simonneutert). +* [#85](https://github.com/dblock/strava-ruby-client/pull/85): Lays groundwork to v3.0.0 of the gem (ruby3, newest rubocop, rubocop-rake and rubocop-rspec) - [@simonneutert](https://github.com/simonneutert). * Your contribution here. ### 2.1.0 (2024/3/20) diff --git a/lib/strava/version.rb b/lib/strava/version.rb index f749206..13d4a3e 100644 --- a/lib/strava/version.rb +++ b/lib/strava/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Strava - VERSION = '2.1.1' + VERSION = '3.0.0' end diff --git a/strava-ruby-client.gemspec b/strava-ruby-client.gemspec index a5427b8..86d4c5e 100644 --- a/strava-ruby-client.gemspec +++ b/strava-ruby-client.gemspec @@ -11,8 +11,8 @@ Gem::Specification.new do |s| s.authors = ['Daniel Doubrovkine'] s.email = 'dblock@dblock.org' s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.7' - s.required_rubygems_version = '>= 1.3.6' + s.required_ruby_version = '>= 3.0' + s.required_rubygems_version = '>= 2.5' s.files = Dir['{bin,lib}/**/*'] + ['README.md', 'LICENSE.md', 'CHANGELOG.md'] s.require_paths = ['lib'] s.homepage = 'http://github.com/dblock/strava-ruby-client'