diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 0c0be4d..7d465ff 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -14,7 +14,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 diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index a2d6b31..e68bd71 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -14,7 +14,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 tests diff --git a/.github/workflows/yard.yml b/.github/workflows/yard.yml index b3c9c3c..23ddfab 100644 --- a/.github/workflows/yard.yml +++ b/.github/workflows/yard.yml @@ -14,7 +14,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 Yard diff --git a/.rubocop.yml b/.rubocop.yml index a308413..a5eb260 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,4 @@ -require: +plugins: - rubocop-performance - rubocop-rake - rubocop-rspec @@ -7,7 +7,6 @@ AllCops: # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true - TargetRubyVersion: 3.0 Performance: Exclude: diff --git a/.tool-versions b/.tool-versions index 3f7cdb2..3294aed 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1 @@ -ruby 3.3.5 - +ruby 3.3.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 848443a..e471e91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.4.0] + +### Changed + +1. Update GH Workflows to use Ruby 3.3.0. (IN-2722) +1. Update .tool-versions to use Ruby 3.3.0. (IN-2722) +1. Update Rubocop. (IN-2722) + +## [4.3.0] + +### Changed + +1. Bump dependencies to address security vulnerabilities. (IN-2714) + ## [4.2.0] - 2025-02-18 ### Changed diff --git a/Gemfile.lock b/Gemfile.lock index e051752..0e064c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,12 +1,13 @@ PATH remote: . specs: - faithteams-api (4.2.0) + faithteams-api (4.4.0) activesupport (~> 7.2.2) http (~> 5.1) logger (~> 1.6.1) ostruct (~> 0.6.0) - rexml (~> 3.3.6) + rexml (~> 3.3.9) + thor (~> 1.4.0) GEM remote: https://rubygems.org/ @@ -25,7 +26,7 @@ GEM tzinfo (~> 2.0, >= 2.0.5) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) - ast (2.4.2) + ast (2.4.3) base64 (0.2.0) benchmark (0.4.0) bigdecimal (3.1.8) @@ -71,8 +72,9 @@ GEM http-form_data (2.3.0) i18n (1.14.6) concurrent-ruby (~> 1.0) - json (2.9.0) - language_server-protocol (3.17.0.3) + json (2.13.2) + language_server-protocol (3.17.0.5) + lint_roller (1.1.0) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -88,10 +90,11 @@ GEM nenv (~> 0.1) shellany (~> 0.0) ostruct (0.6.1) - parallel (1.26.3) - parser (3.3.6.0) + parallel (1.27.0) + parser (3.3.9.0) ast (~> 2.4.1) racc + prism (1.4.0) pry (0.15.0) coderay (~> 1.1) method_source (~> 1.0) @@ -102,7 +105,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - regexp_parser (2.9.3) + regexp_parser (2.11.2) rexml (3.3.9) rspec (3.13.0) rspec-core (~> 3.13.0) @@ -117,25 +120,30 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.2) - rubocop (1.69.2) + rubocop (1.73.2) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.36.2, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.37.0) - parser (>= 3.3.1.0) - rubocop-performance (1.23.0) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) - rubocop-rspec (1.42.0) - rubocop (>= 0.87.0) + rubocop-ast (1.46.0) + parser (>= 3.3.7.2) + prism (~> 1.4) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) + rubocop-rake (0.7.1) + lint_roller (~> 1.1) + rubocop (>= 1.72.1) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) ruby-progressbar (1.13.0) securerandom (0.4.1) shellany (0.0.1) @@ -145,10 +153,10 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - thor (1.3.2) + thor (1.4.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (3.1.2) + unicode-display_width (3.1.5) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) webmock (3.24.0) @@ -166,13 +174,13 @@ DEPENDENCIES guard-rspec (~> 4.7) rake (~> 13.0) rspec (~> 3.12) - rubocop (~> 1.42) - rubocop-performance (~> 1.17) - rubocop-rake (~> 0.6) - rubocop-rspec (~> 1.42) + rubocop (~> 1.73.2) + rubocop-performance (~> 1.24.0) + rubocop-rake (~> 0.7.1) + rubocop-rspec (~> 3.5.0) simplecov (~> 0.21) webmock (~> 3.18) - yard (~> 0.9) + yard (~> 0.9.36) BUNDLED WITH 2.5.7 diff --git a/faithteams-api.gemspec b/faithteams-api.gemspec index 22823e2..8083a5e 100644 --- a/faithteams-api.gemspec +++ b/faithteams-api.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = "Provides methods and utilities for interacting with the faithteams API." spec.homepage = "https://github.com/tithely/faithteams-api" spec.license = "MIT" - spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0") + spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0") spec.metadata["allowed_push_host"] = "https://rubygems.org" @@ -36,17 +36,18 @@ Gem::Specification.new do |spec| spec.add_dependency "http", "~> 5.1" spec.add_dependency "logger", "~> 1.6.1" spec.add_dependency "ostruct", "~> 0.6.0" - spec.add_dependency "rexml", "~> 3.3.6" # only needs to be specified to address security warning + spec.add_dependency "rexml", "~> 3.3.9" # only needs to be specified to address security warning + spec.add_dependency "thor", "~> 1.4.0" spec.add_development_dependency "byebug", "~> 11.1" spec.add_development_dependency "guard-rspec", "~> 4.7" spec.add_development_dependency "simplecov", "~> 0.21" spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.12" - spec.add_development_dependency "rubocop", "~> 1.42" - spec.add_development_dependency "rubocop-performance", "~> 1.17" - spec.add_development_dependency "rubocop-rake", "~> 0.6" - spec.add_development_dependency "rubocop-rspec", "~> 1.42" + spec.add_development_dependency "rubocop", "~> 1.73.2" + spec.add_development_dependency "rubocop-performance", "~> 1.24.0" + spec.add_development_dependency "rubocop-rake", "~> 0.7.1" + spec.add_development_dependency "rubocop-rspec", "~> 3.5.0" spec.add_development_dependency "webmock", "~> 3.18" - spec.add_development_dependency "yard", "~> 0.9" + spec.add_development_dependency "yard", "~> 0.9.36" end diff --git a/lib/faithteams/version.rb b/lib/faithteams/version.rb index 443b1af..9f84ac3 100644 --- a/lib/faithteams/version.rb +++ b/lib/faithteams/version.rb @@ -2,5 +2,5 @@ module FaithTeams # Current version number. - VERSION = "4.2.0" + VERSION = "4.4.0" end