From 3f89cd2262f975de8aeba3cf954becb98aba9afe Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Wed, 23 Jul 2025 10:20:14 +0100 Subject: [PATCH] Bumping thor to minor 1.4 due to CVE Fixes #208 Reference: https://github.com/rails/thor/pull/897 --- .ruby-version | 2 +- Gemfile.lock | 18 +++++++++++------- danger-swiftlint.gemspec | 4 ++-- lib/version.rb | 2 +- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.ruby-version b/.ruby-version index ec1cf33..4f5e697 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.3 +3.4.5 diff --git a/Gemfile.lock b/Gemfile.lock index 212677e..39afecb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,10 +1,10 @@ PATH remote: . specs: - danger-swiftlint (0.36.1) + danger-swiftlint (0.37.2) danger rake (> 10) - thor (~> 1.0.0) + thor (~> 1.4) GEM remote: https://rubygems.org/ @@ -48,16 +48,18 @@ GEM faraday (>= 0.8) faraday-net_http (3.0.2) ffi (1.16.3) - formatador (1.1.0) + formatador (1.1.1) git (1.18.0) addressable (~> 2.8) rchardet (~> 1.8) - guard (2.18.1) + guard (2.19.1) formatador (>= 0.2.4) listen (>= 2.7, < 4.0) + logger (~> 1.6) lumberjack (>= 1.0.12, < 2.0) nenv (~> 0.1) notiffany (~> 0.0) + ostruct (~> 0.6) pry (>= 0.13.0) shellany (~> 0.0) thor (>= 0.18.1) @@ -73,7 +75,8 @@ GEM listen (3.0.7) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) - lumberjack (1.2.10) + logger (1.7.0) + lumberjack (1.3.2) method_source (1.0.0) mocha (2.1.0) ruby2_keywords (>= 0.0.5) @@ -89,6 +92,7 @@ GEM faraday (>= 1, < 3) sawyer (~> 0.9) open4 (1.3.4) + ostruct (0.6.3) parallel (1.23.0) parser (2.7.2.0) ast (~> 2.4.1) @@ -135,7 +139,7 @@ GEM shellany (0.0.1) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - thor (1.0.1) + thor (1.4.0) unicode-display_width (1.8.0) PLATFORMS @@ -147,7 +151,7 @@ DEPENDENCIES danger danger-rubocop danger-swiftlint! - guard (~> 2.14) + guard (~> 2.19) guard-rspec (~> 4.7) listen (= 3.0.7) mocha diff --git a/danger-swiftlint.gemspec b/danger-swiftlint.gemspec index 7423afe..0d54c7d 100755 --- a/danger-swiftlint.gemspec +++ b/danger-swiftlint.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.3' spec.add_dependency 'danger' - spec.add_dependency 'thor', '~> 1.0.0' + spec.add_dependency 'thor', '~> 1.4' spec.add_dependency 'rake', '> 10' # General ruby development @@ -32,7 +32,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rspec', '~> 3.4' # Makes testing easy via `bundle exec guard` - spec.add_development_dependency 'guard', '~> 2.14' + spec.add_development_dependency 'guard', '~> 2.19' spec.add_development_dependency 'guard-rspec', '~> 4.7' # If you want to work on older builds of ruby diff --git a/lib/version.rb b/lib/version.rb index 8d7d199..8302154 100755 --- a/lib/version.rb +++ b/lib/version.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module DangerSwiftlint - VERSION = '0.37.1' + VERSION = '0.37.2' SWIFTLINT_VERSION = '0.57.0' SWIFTLINT_HASH = '100b4379098dc6760ef83424c2c2093b' end