Skip to content

Commit 3d2ac8a

Browse files
authored
Merge pull request rails#53342 from Earlopain/rubocop-guides-target-ruby
Infer rubocop ruby version for guides from the gemspec as well
2 parents 6e284f3 + 0b88988 commit 3d2ac8a

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

Gemfile.lock

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,18 +477,17 @@ GEM
477477
retriable (3.1.2)
478478
rexml (3.2.6)
479479
rouge (4.2.0)
480-
rubocop (1.64.0)
480+
rubocop (1.67.0)
481481
json (~> 2.3)
482482
language_server-protocol (>= 3.17.0)
483483
parallel (~> 1.10)
484484
parser (>= 3.3.0.2)
485485
rainbow (>= 2.2.2, < 4.0)
486-
regexp_parser (>= 1.8, < 3.0)
487-
rexml (>= 3.2.5, < 4.0)
488-
rubocop-ast (>= 1.31.1, < 2.0)
486+
regexp_parser (>= 2.4, < 3.0)
487+
rubocop-ast (>= 1.32.2, < 2.0)
489488
ruby-progressbar (~> 1.7)
490489
unicode-display_width (>= 2.4.0, < 3.0)
491-
rubocop-ast (1.31.3)
490+
rubocop-ast (1.32.3)
492491
parser (>= 3.3.1.0)
493492
rubocop-md (1.2.2)
494493
rubocop (>= 1.0)

guides/.rubocop.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
inherit_from:
22
- '../.rubocop.yml'
33

4-
AllCops:
5-
TargetRubyVersion: 3.0
6-
74
Style/StringLiterals:
85
Enabled: false
96

guides/rails_guides/generator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# frozen_string_literal: true
22

3-
require "set"
43
require "fileutils"
54
require "nokogiri"
65
require "securerandom"

0 commit comments

Comments
 (0)