Skip to content

Commit

Permalink
Bump the development-dependencies group with 5 updates (#10)
Browse files Browse the repository at this point in the history
* Bump the development-dependencies group with 5 updates

Updates the requirements on [reek](https://github.com/troessner/reek), [rubocop](https://github.com/rubocop/rubocop), [rubocop-performance](https://github.com/rubocop/rubocop-performance), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [simplecov](https://github.com/simplecov-ruby/simplecov) to permit the latest version.

Updates `reek` from 6.1.1 to 6.1.4
- [Changelog](https://github.com/troessner/reek/blob/master/CHANGELOG.md)
- [Commits](troessner/reek@v6.1.1...v6.1.4)

Updates `rubocop` from 1.38.0 to 1.56.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.38.0...v1.56.0)

Updates `rubocop-performance` from 1.15.0 to 1.19.0
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.15.0...v1.19.0)

Updates `rubocop-rspec` from 2.15.0 to 2.23.2
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v2.15.0...v2.23.2)

Updates `simplecov` from 0.21.2 to 0.22.0
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](simplecov-ruby/simplecov@v0.21.2...v0.22.0)

---
updated-dependencies:
- dependency-name: reek
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: rubocop-performance
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: simplecov
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update ruby gems

* Fix rubocop erros and exclude specs for now

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gangelo <web.gma@gmail.com>
  • Loading branch information
dependabot[bot] and gangelo authored Aug 17, 2023
1 parent 38bafda commit 239fdf3
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 64 deletions.
18 changes: 6 additions & 12 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://docs.rubocop.org/rubocop/configuration
require:
- rubocop-performance
- rubocop-rspec
Expand All @@ -23,7 +13,8 @@ AllCops:
- '*.gemspec'
- 'spec/**/*'
- 'vendor/**/*'
- 'scratch.rb'
- 'scratch*.rb'
- 'snippets*.rb'

# Align the elements of a hash literal if they span more than one line.
Layout/HashAlignment:
Expand Down Expand Up @@ -126,7 +117,7 @@ Layout/LineLength:
# Avoid methods longer than 15 lines of code.
Metrics/MethodLength:
Max: 20
IgnoredMethods:
AllowedMethods:
- swagger_path
- operation

Expand All @@ -135,6 +126,9 @@ Metrics/MethodLength:
Metrics/PerceivedComplexity:
Max: 10

NestedGroups:
Max: 4

# Naming/FileName:
# Exclude:
# - 'lib/file.rb'
Expand Down
68 changes: 45 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,58 @@

### [1.0.1] 2023-08-17

Changes

- Various ruby gem updates

### 1.0.0
* Changes (not really a breaking change, but just wanted to bump to 1.0.0)
* Limit required ruby version to ~> 3.0.
* Update ruby gems.

Changes (not really a breaking change, but just wanted to bump to 1.0.0)

- Limit required ruby version to ~> 3.0.
- Update ruby gems.

### 0.3.0
* Changes
* Update README.md file with the correct gem name.

Changes

- Update README.md file with the correct gem name.

### 0.2.3
* Bug fix
* Fix bug in specs that failed to add criteria for passing tests (e.g. ".to eq true/false") so tests could not fail.

Bug fixes

- Fix bug in specs that failed to add criteria for passing tests (e.g. ".to eq true/false") so tests could not fail.

### 0.2.2
* Changes
* Restructure modules under lib/immutable_structure_ex folder.
* Make codez to create struct a little cleaner/tighter.
* Ignore .vscode folder in .gitignore file.
* Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
* Fix rubocop violations.

Changes

- Restructure modules under lib/immutable_structure_ex folder.
- Make codez to create struct a little cleaner/tighter.
- Ignore .vscode folder in .gitignore file.
- Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
- Fix rubocop violations.

### 0.2.1
* Enhancements
* General refactors/cleanup.
* Added Immutable module; when extended on a struct, makes it immutable.
* Added Comparable module; when extended on a struct, makes it comparable to other structs and hashes.

Changes

- General refactors/cleanup.
- Added Immutable module; when extended on a struct, makes it immutable.
- Added Comparable module; when extended on a struct, makes it comparable to other structs and hashes.

### 0.1.1
* Enhancements
* Added this CHANGELOG.md.
* Bug fix
* Equality method #== did not work when comparing objects whose underlying hashes were equal.
* Added #== method to compare underlying hashes by calling a.to_h == b.to_h.

Changes

- Added this CHANGELOG.md.

Bug fixes

- Equality method #== did not work when comparing objects whose underlying hashes were equal.
- Added #== method to compare underlying hashes by calling a.to_h == b.to_h.

### 0.1.0
* Initial release.

Initial release.
63 changes: 38 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,77 +1,90 @@
PATH
remote: .
specs:
immutable_struct_ex (1.0.0)
immutable_struct_ex (1.0.1)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
base64 (0.1.1)
byebug (11.1.3)
coderay (1.1.3)
diff-lcs (1.5.0)
docile (1.4.0)
json (2.6.2)
json (2.6.3)
kwalify (0.7.2)
language_server-protocol (3.17.0.3)
method_source (1.0.0)
parallel (1.22.1)
parser (3.1.2.1)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
pry (0.14.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
racc (1.7.1)
rainbow (3.1.1)
rake (13.0.6)
reek (6.1.1)
reek (6.1.4)
kwalify (~> 0.7.0)
parser (~> 3.1.0)
parser (~> 3.2.0)
rainbow (>= 2.0, < 4.0)
regexp_parser (2.6.0)
rexml (3.2.5)
regexp_parser (2.8.1)
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.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.38.0)
rspec-support (3.12.1)
rubocop (1.56.0)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.2.1)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.23.0, < 2.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.23.0)
parser (>= 3.1.1.0)
rubocop-performance (1.15.0)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.15.0)
rubocop-rspec (2.23.2)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
simplecov (0.21.2)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
unicode-display_width (2.3.0)
unicode-display_width (2.4.2)

PLATFORMS
x86_64-darwin-19
x86_64-linux

DEPENDENCIES
bundler (~> 2.2, >= 2.2.17)
Expand All @@ -83,7 +96,7 @@ DEPENDENCIES
rubocop (~> 1.35)
rubocop-performance (~> 1.14, >= 1.14.3)
rubocop-rspec (~> 2.12, >= 2.12.1)
simplecov (~> 0.21.2)
simplecov (~> 0.22.0)

BUNDLED WITH
2.3.22
2 changes: 1 addition & 1 deletion immutable_struct_ex.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 1.35'
spec.add_development_dependency 'rubocop-performance', '~> 1.14', '>= 1.14.3'
spec.add_development_dependency 'rubocop-rspec', '~> 2.12', '>= 2.12.1'
spec.add_development_dependency 'simplecov', '~> 0.21.2'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
end
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.0'
VERSION = '1.0.1'
end
2 changes: 1 addition & 1 deletion spec/immutable_struct_ex_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
describe '#new' do
context 'with a valid hash' do
it 'does not raise an error' do
expect { subject }.to_not raise_error
expect { subject }.not_to raise_error
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
end

require 'immutable_struct_ex'
Dir[File.join(Dir.pwd, "spec/support/**/*.rb")].each {|f| require f}
Dir[File.join(Dir.pwd, 'spec/support/**/*.rb')].each { |f| require f }

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand Down

0 comments on commit 239fdf3

Please sign in to comment.