summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-14 18:27:07 +0900
committerGitHub <noreply@github.com>2023-11-14 09:27:07 +0000
commit031d05ccf2a45363143cae9d06fba0a09c8e2ef2 (patch)
treea99da3b9773070f35c7e46bd19278c48bb2e9c64
parent22e1d54f5bc71af4836c6724e817dee9abf35256 (diff)
Lock gem versions for C ext dependencies (#8918)
* Lock rubocop and standard versions for json dependencies https://github.com/ruby/actions/actions/runs/6854220854/job/18636881910 current directory: /home/runner/work/actions/actions/snapshot-ruby_3_1/tmp/7/gems/rubocop/ruby/3.1.0/gems/json-2.6.1/ext/json/ext/generator /usr/local/bin/ruby -I /home/runner/work/actions/actions/snapshot-ruby_3_1/lib extconf.rb extconf failed No such file or directory - /usr/local/bin/ruby * Lock parser version to remove racc dependency
-rw-r--r--tool/bundler/rubocop_gems.rb3
-rw-r--r--tool/bundler/rubocop_gems.rb.lock21
-rw-r--r--tool/bundler/standard_gems.rb3
-rw-r--r--tool/bundler/standard_gems.rb.lock41
4 files changed, 22 insertions, 46 deletions
diff --git a/tool/bundler/rubocop_gems.rb b/tool/bundler/rubocop_gems.rb
index 84cb226330..25408b70f3 100644
--- a/tool/bundler/rubocop_gems.rb
+++ b/tool/bundler/rubocop_gems.rb
@@ -2,7 +2,8 @@
source "https://rubygems.org"
-gem "rubocop", "~> 1.7"
+gem "rubocop", "1.31.0"
+gem "parser", "3.2.2.2"
gem "minitest"
gem "rake"
diff --git a/tool/bundler/rubocop_gems.rb.lock b/tool/bundler/rubocop_gems.rb.lock
index 63bb0e39a1..fd7a290019 100644
--- a/tool/bundler/rubocop_gems.rb.lock
+++ b/tool/bundler/rubocop_gems.rb.lock
@@ -3,17 +3,11 @@ GEM
specs:
ast (2.4.2)
diff-lcs (1.5.0)
- json (2.6.1)
- json (2.6.1-java)
- language_server-protocol (3.17.0.3)
minitest (5.20.0)
parallel (1.23.0)
- parser (3.2.2.4)
+ parser (3.2.2.2)
ast (~> 2.4.1)
- racc
power_assert (2.0.3)
- racc (1.7.1)
- racc (1.7.1-java)
rainbow (3.1.1)
rake (13.1.0)
rake-compiler (1.2.5)
@@ -33,17 +27,15 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
- rubocop (1.57.2)
- json (~> 2.3)
- language_server-protocol (>= 3.17.0)
+ rubocop (1.31.0)
parallel (~> 1.10)
- parser (>= 3.2.2.4)
+ parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
- rubocop-ast (>= 1.28.1, < 2.0)
+ rubocop-ast (>= 1.18.0, < 2.0)
ruby-progressbar (~> 1.7)
- unicode-display_width (>= 2.4.0, < 3.0)
+ unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
@@ -67,10 +59,11 @@ PLATFORMS
DEPENDENCIES
minitest
+ parser (= 3.2.2.2)
rake
rake-compiler
rspec
- rubocop (~> 1.7)
+ rubocop (= 1.31.0)
test-unit
BUNDLED WITH
diff --git a/tool/bundler/standard_gems.rb b/tool/bundler/standard_gems.rb
index 1cd189742d..34cdfa2a61 100644
--- a/tool/bundler/standard_gems.rb
+++ b/tool/bundler/standard_gems.rb
@@ -2,7 +2,8 @@
source "https://rubygems.org"
-gem "standard", "~> 1.0"
+gem "standard", "1.12.1"
+gem "parser", "3.2.2.2"
gem "minitest"
gem "rake"
diff --git a/tool/bundler/standard_gems.rb.lock b/tool/bundler/standard_gems.rb.lock
index 4ce71dff82..b3861729e6 100644
--- a/tool/bundler/standard_gems.rb.lock
+++ b/tool/bundler/standard_gems.rb.lock
@@ -2,20 +2,12 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
- base64 (0.1.1)
diff-lcs (1.5.0)
- json (2.6.1)
- json (2.6.1-java)
- language_server-protocol (3.17.0.3)
- lint_roller (1.1.0)
minitest (5.20.0)
parallel (1.23.0)
- parser (3.2.2.4)
+ parser (3.2.2.2)
ast (~> 2.4.1)
- racc
power_assert (2.0.3)
- racc (1.7.1)
- racc (1.7.1-java)
rainbow (3.1.1)
rake (13.1.0)
rake-compiler (1.2.5)
@@ -35,36 +27,24 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
- rubocop (1.56.4)
- base64 (~> 0.1.1)
- json (~> 2.3)
- language_server-protocol (>= 3.17.0)
+ rubocop (1.29.1)
parallel (~> 1.10)
- parser (>= 3.2.2.3)
+ parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
- rubocop-ast (>= 1.28.1, < 2.0)
+ rubocop-ast (>= 1.17.0, < 2.0)
ruby-progressbar (~> 1.7)
- unicode-display_width (>= 2.4.0, < 3.0)
+ unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
- rubocop-performance (1.19.1)
+ rubocop-performance (1.13.3)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.13.0)
- standard (1.31.2)
- language_server-protocol (~> 3.17.0.2)
- lint_roller (~> 1.0)
- rubocop (~> 1.56.4)
- standard-custom (~> 1.0.0)
- standard-performance (~> 1.2)
- standard-custom (1.0.2)
- lint_roller (~> 1.0)
- rubocop (~> 1.50)
- standard-performance (1.2.1)
- lint_roller (~> 1.1)
- rubocop-performance (~> 1.19.1)
+ standard (1.12.1)
+ rubocop (= 1.29.1)
+ rubocop-performance (= 1.13.3)
test-unit (3.6.1)
power_assert
unicode-display_width (2.5.0)
@@ -85,10 +65,11 @@ PLATFORMS
DEPENDENCIES
minitest
+ parser (= 3.2.2.2)
rake
rake-compiler
rspec
- standard (~> 1.0)
+ standard (= 1.12.1)
test-unit
BUNDLED WITH