From a8a73c176aeaa1a911f3689750b1d959400b4fe7 Mon Sep 17 00:00:00 2001 From: Robert Brodie Date: Sat, 6 Apr 2024 19:43:46 -0400 Subject: [PATCH] Add supported Ruby versions, deprecate EOL --- .github/workflows/CI.yml | 11 ++++------- Gemfile | 2 +- jira-ruby.gemspec | 12 ++++++------ 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 76ff2fc2..2e1387f7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,6 +1,6 @@ name: Ruby -on: [push] +on: [push, pull_request] jobs: test: @@ -10,14 +10,11 @@ jobs: fail-fast: false matrix: ruby: + - '3.3' + - '3.2' - '3.1' - - '3.0' - - '2.7' - - '2.6' - - '2.5' - - '2.4' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 diff --git a/Gemfile b/Gemfile index 04597bf0..4912c25c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source 'http://rubygems.org' +source 'https://rubygems.org' group :development do gem 'guard' diff --git a/jira-ruby.gemspec b/jira-ruby.gemspec index dc156bc4..03a7fdd8 100644 --- a/jira-ruby.gemspec +++ b/jira-ruby.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] s.metadata = { 'source_code_uri' => 'https://github.com/sumoheavy/jira-ruby' } - s.required_ruby_version = '>= 1.9.3' + s.required_ruby_version = '>= 3.1.0' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") @@ -25,11 +25,11 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'oauth', '~> 1.0' # Development Dependencies - s.add_development_dependency 'guard', '~> 2.13', '>= 2.13.0' - s.add_development_dependency 'guard-rspec', '~> 4.6', '>= 4.6.5' - s.add_development_dependency 'pry', '~> 0.10', '>= 0.10.3' + s.add_development_dependency 'guard', '~> 2.18', '>= 2.18.1' + s.add_development_dependency 'guard-rspec', '~> 4.7', '>= 4.7.3' + s.add_development_dependency 'pry', '~> 0.14', '>= 0.14.3' s.add_development_dependency 'railties' - s.add_development_dependency 'rake', '~> 10.3', '>= 10.3.2' - s.add_development_dependency 'rspec', '~> 3.0', '>= 3.0.0' + s.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1' + s.add_development_dependency 'rspec', '~> 3.0', '>= 3.13' s.add_development_dependency 'webmock', '~> 1.18', '>= 1.18.0' end