Skip to content

Commit

Permalink
Update rubocop gems versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaherrera07 committed Nov 22, 2024
1 parent 8c58c9e commit 50da90d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
test:
docker:
- image: cimg/ruby:3.2.2
- image: cimg/ruby:3.3.6
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_TOKEN
Expand All @@ -12,7 +12,10 @@ jobs:
- run:
name: Install Ruby gems
command: |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
gem install bundler
bundle config set --local path 'vendor/bundle'
bundle config set --local without pronto
bundle check || bundle install --jobs=`nproc` --retry=3
- run:
name: Set up test output directory
command: sudo install -o circleci -d ~/rspec
Expand All @@ -32,7 +35,7 @@ jobs:

push_to_rubygems:
docker:
- image: cimg/ruby:3.2.2
- image: cimg/ruby:3.3.6
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_TOKEN
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pronto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 100
- run: git fetch --no-tags --prune --depth=100 origin "+refs/heads/$GITHUB_BASE_REF:refs/remotes/origin/$GITHUB_BASE_REF"

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
ruby-version: "3.3.6"
bundler-cache: true

- name: Setup pronto
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ source "https://rubygems.org"

gemspec

gem "bundler", "~> 2.4"
gem "bundler", "~> 2.5"
gem "byebug"
gem "rake", "~> 13.1"
gem "rake", "~> 13.2"
gem "rspec", ">= 3.13"
gem "rspec_junit_formatter"
2 changes: 1 addition & 1 deletion lib/rf/stylez/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Rf
module Stylez
VERSION = "1.2.1"
VERSION = "1.2.2"
end
end
8 changes: 4 additions & 4 deletions rf-stylez.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "pronto", "~> 0.11.2"
spec.add_runtime_dependency "pronto-rubocop", "~> 0.11.5"
spec.add_runtime_dependency "reek", "~> 6.2"
spec.add_runtime_dependency "rubocop", "1.65.1"
spec.add_runtime_dependency "rubocop-performance", "1.21.1"
spec.add_runtime_dependency "rubocop-rails", "2.25.1"
spec.add_runtime_dependency "rubocop-rspec", "3.0.4"
spec.add_runtime_dependency "rubocop", "1.68.0"
spec.add_runtime_dependency "rubocop-performance", "1.23.0"
spec.add_runtime_dependency "rubocop-rails", "2.27.0"
spec.add_runtime_dependency "rubocop-rspec", "3.2.0"
spec.add_runtime_dependency "unparser", "~> 0.6"
end
2 changes: 1 addition & 1 deletion ruby/rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.2
TargetRubyVersion: 3.3
NewCops: enable
SuggestExtensions: false
Include:
Expand Down

0 comments on commit 50da90d

Please sign in to comment.