diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 248e046..18946da 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.1.2", "3.1.4"] + ruby: ["3.2", "3.3.7"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/Gemfile.lock b/Gemfile.lock index 1d889eb..b96774d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ PATH remote: . specs: - easy_style (0.6.2) - rubocop (~> 1.60.0) - rubocop-rails (~> 2.23.1) + easy_style (0.7.0) + rubocop (~> 1.73) + rubocop-rails (~> 2.30) GEM remote: https://rubygems.org/ @@ -28,6 +28,7 @@ GEM concurrent-ruby (~> 1.0) json (2.7.2) language_server-protocol (3.17.0.3) + lint_roller (1.1.0) minitest (5.22.3) mutex_m (0.2.0) parallel (1.24.0) @@ -38,26 +39,26 @@ GEM rack (3.0.10) rainbow (3.1.1) rake (12.3.3) - regexp_parser (2.9.0) - rexml (3.2.6) - rubocop (1.60.2) + regexp_parser (2.10.0) + 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 (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.38.1) parser (>= 3.3.1.0) - rubocop-rails (2.23.1) + rubocop-rails (2.30.3) activesupport (>= 4.2.0) + lint_roller (~> 1.1) rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (1.13.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -67,6 +68,7 @@ PLATFORMS arm64-darwin-22 arm64-darwin-23 x86_64-darwin-21 + x86_64-darwin-22 x86_64-linux DEPENDENCIES @@ -74,4 +76,4 @@ DEPENDENCIES rake (~> 12.0) BUNDLED WITH - 2.5.9 + 2.6.5 diff --git a/default.yml b/default.yml index f1e470a..98e769b 100644 --- a/default.yml +++ b/default.yml @@ -1,4 +1,4 @@ -require: +plugins: - rubocop-rails inherit_mode: @@ -7,7 +7,7 @@ inherit_mode: Rails: Enabled: true AllCops: - TargetRubyVersion: 3.1.2 + TargetRubyVersion: 3.2 NewCops: enable SuggestExtensions: false @@ -27,8 +27,6 @@ Layout/EmptyLinesAroundModuleBody: EnforcedStyle: empty_lines_except_namespace Layout/LineLength: Enabled: false -Layout/MultilineMethodCallIndentation: - EnforcedStyle: indented_relative_to_receiver Lint/SuppressedException: AllowComments: true diff --git a/easy_style.gemspec b/easy_style.gemspec index ae0b436..3e1bc69 100644 --- a/easy_style.gemspec +++ b/easy_style.gemspec @@ -10,9 +10,7 @@ Gem::Specification.new do |spec| spec.description = "Rubocop configs" spec.homepage = "https://github.com/easysoftware/easy_style" spec.license = "MIT" - spec.required_ruby_version = ">= 3.1.2" - - # spec.metadata['allowed_push_host'] = 'TODO: Set to \'http://mygemserver.com\'' + spec.required_ruby_version = ">= 3.2" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage @@ -27,6 +25,6 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "rubocop", "~> 1.60.0" - spec.add_dependency "rubocop-rails", "~> 2.23.1" + spec.add_dependency "rubocop", "~> 1.73" + spec.add_dependency "rubocop-rails", "~> 2.30" end diff --git a/lib/easy_style/version.rb b/lib/easy_style/version.rb index 4e18ce9..5f169bf 100644 --- a/lib/easy_style/version.rb +++ b/lib/easy_style/version.rb @@ -1,5 +1,5 @@ module EasyStyle - VERSION = "0.6.2" + VERSION = "0.7.0" end