Skip to content

Commit

Permalink
Update ruby gems, use rubocop-rake gem and add rubocop to default Rak…
Browse files Browse the repository at this point in the history
…e tasks
  • Loading branch information
gangelo committed Feb 18, 2024
1 parent a8d89f4 commit 2f51b25
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 22 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require:
- rubocop-performance
- rubocop-rspec
- rubocop-rake

AllCops:
TargetRubyVersion: 3.0.1
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### [1.0.9] 2024-02-18

Changes

- Update ruby gems.
- Use rubocop-rake gem to run rubocop checks.
- Add rubocop to default rake tasks in Rakefile.

### [1.0.8] 2024-01-19

Changes
Expand Down
39 changes: 21 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GEM
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.2.3)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
docile (1.4.0)
dry-configurable (1.1.0)
dry-core (~> 1.0, < 2)
Expand Down Expand Up @@ -44,7 +44,7 @@ GEM
language_server-protocol (3.17.0.3)
method_source (1.0.0)
parallel (1.24.0)
parser (3.2.2.4)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -56,31 +56,31 @@ GEM
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
reek (6.2.0)
reek (6.3.0)
dry-schema (~> 1.13.0)
parser (~> 3.2.0)
parser (~> 3.3.0)
rainbow (>= 2.0, < 4.0)
rexml (~> 3.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.59.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.60.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
Expand All @@ -96,6 +96,8 @@ GEM
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.26.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
Expand All @@ -108,7 +110,7 @@ GEM
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
unicode-display_width (2.5.0)
zeitwerk (2.6.12)
zeitwerk (2.6.13)

PLATFORMS
x86_64-darwin-19
Expand All @@ -124,6 +126,7 @@ DEPENDENCIES
rspec (>= 3.10)
rubocop (~> 1.35)
rubocop-performance (~> 1.14, >= 1.14.3)
rubocop-rake (~> 0.6.0)
rubocop-rspec (~> 2.12, >= 2.12.1)
simplecov (~> 0.22.0)

Expand Down
10 changes: 7 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task default: :spec
require "rubocop/rake_task"

RuboCop::RakeTask.new

task default: %i[spec rubocop]
1 change: 1 addition & 0 deletions immutable_struct_ex.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '>= 3.10'
spec.add_development_dependency 'rubocop', '~> 1.35'
spec.add_development_dependency 'rubocop-performance', '~> 1.14', '>= 1.14.3'
spec.add_development_dependency 'rubocop-rake', '~> 0.6.0'
spec.add_development_dependency 'rubocop-rspec', '~> 2.12', '>= 2.12.1'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
Expand Down
2 changes: 1 addition & 1 deletion lib/immutable_struct_ex/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ImmutableStructEx
VERSION = '1.0.8'
VERSION = '1.0.9'
end

0 comments on commit 2f51b25

Please sign in to comment.