Skip to content

Commit

Permalink
Update ruby gems; update rexml gem to patch CVE
Browse files Browse the repository at this point in the history
  • Loading branch information
gangelo committed Aug 3, 2024
1 parent f0715cd commit af624f1
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 43 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [3.0.3] - 2024-08-03

### Changes
[x] Update ruby gems.
[x] Update rexml gem to patch CVE.

## [3.0.2] - 2024-05-18

### Changes
Expand Down
9 changes: 5 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ gem 'rake', '>= 13.0', '< 14.0'

group :development do
gem 'reek', '>= 6.1', '< 7.0'
gem 'rubocop', '>= 1.35', '< 2.0'
gem 'rubocop-performance', '>= 1.14', '< 2.0'
gem 'rubocop', '>= 1.65', '< 2.0'
gem 'rubocop-factory_bot', '~> 2.26', '>= 2.26.1'
gem 'rubocop-performance', '>= 1.21.1', '< 2.0'
gem 'rubocop-rake', '>= 0.6', '< 1.0'
gem 'rubocop-rspec', '>= 2.12', '< 3.0'
gem 'rubocop-rspec', '~> 3.0', '>= 3.0.3'
end

group :test do
Expand All @@ -22,7 +23,7 @@ group :test do
end

group :development, :test do
gem 'dotenv', '>= 2.8', '< 4.0'
gem 'dotenv', '~> 3.1', '>= 3.1.2'
gem 'factory_bot', '~> 6.3'
gem 'ffaker', '~> 2.21'
gem 'pry-byebug', '>= 3.9', '< 4.0'
Expand Down
67 changes: 31 additions & 36 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dsu (3.0.2)
dsu (3.0.3)
activemodel (>= 7.0.8, < 8.0)
activesupport (>= 7.0.8, < 8.0)
colorize (>= 1.1, < 2.0)
Expand All @@ -13,9 +13,9 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (7.1.3.3)
activesupport (= 7.1.3.3)
activesupport (7.1.3.3)
activemodel (7.1.3.4)
activesupport (= 7.1.3.4)
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -31,25 +31,25 @@ GEM
byebug (11.1.3)
coderay (1.1.3)
colorize (1.1.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
diff-lcs (1.5.1)
docile (1.4.0)
docile (1.4.1)
dotenv (3.1.2)
drb (2.2.1)
dry-configurable (1.1.0)
dry-configurable (1.2.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-core (1.0.1)
concurrent-ruby (~> 1.0)
zeitwerk (~> 2.6)
dry-inflector (1.0.0)
dry-inflector (1.1.0)
dry-initializer (3.1.1)
dry-logic (1.5.0)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-schema (1.13.3)
dry-schema (1.13.4)
concurrent-ruby (~> 1.0)
dry-configurable (~> 1.0, >= 1.0.1)
dry-core (~> 1.0, < 2)
Expand All @@ -72,11 +72,11 @@ GEM
json (2.7.2)
language_server-protocol (3.17.0.3)
method_source (1.1.0)
minitest (5.23.0)
minitest (5.24.1)
mutex_m (0.2.0)
os (1.1.4)
parallel (1.24.0)
parser (3.3.1.0)
parallel (1.25.1)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -85,7 +85,7 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
racc (1.8.0)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
reek (6.3.0)
Expand All @@ -94,50 +94,43 @@ GEM
rainbow (>= 2.0, < 4.0)
rexml (~> 3.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rexml (3.3.4)
strscan
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)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.63.5)
rubocop (1.65.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.21.0)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.2)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
rubocop-rspec (3.0.3)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
Expand All @@ -147,16 +140,17 @@ GEM
simplecov_json_formatter (0.1.4)
strscan (3.1.0)
thor (1.3.1)
thor_nested_subcommand (1.0.8)
thor_nested_subcommand (1.0.9)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2024.1)
tzinfo (>= 1.0.0)
unicode-display_width (2.5.0)
zeitwerk (2.6.14)
zeitwerk (2.6.17)

PLATFORMS
arm64-darwin-22
arm64-darwin-23
x64-mingw-ucrt
x64-mingw32
x86_64-darwin-19
Expand All @@ -166,18 +160,19 @@ PLATFORMS

DEPENDENCIES
bundler (>= 2.5, < 3.0)
dotenv (>= 2.8, < 4.0)
dotenv (~> 3.1, >= 3.1.2)
dsu!
factory_bot (~> 6.3)
ffaker (~> 2.21)
pry-byebug (>= 3.9, < 4.0)
rake (>= 13.0, < 14.0)
reek (>= 6.1, < 7.0)
rspec (>= 3.12, < 4.0)
rubocop (>= 1.35, < 2.0)
rubocop-performance (>= 1.14, < 2.0)
rubocop (>= 1.65, < 2.0)
rubocop-factory_bot (~> 2.26, >= 2.26.1)
rubocop-performance (>= 1.21.1, < 2.0)
rubocop-rake (>= 0.6, < 1.0)
rubocop-rspec (>= 2.12, < 3.0)
rubocop-rspec (~> 3.0, >= 3.0.3)
simplecov (>= 0.22.0, < 1.0)

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion lib/dsu/presenters/project/list_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Presenters
module Project
class ListPresenter < BasePresenterEx
def initialize(options: {})
super(options: options)
super
end

def projects
Expand Down
2 changes: 1 addition & 1 deletion lib/dsu/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Dsu
VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|beta|rc)\.\d+)?\z/
VERSION = '3.0.2'
VERSION = '3.0.3'
end
2 changes: 1 addition & 1 deletion spec/support/custom_matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
end

failure_message_when_negated do |model|
"expected #{model.class} to not validate attribute #{attribute} with #{validator_class}" if on_attribute?
return "expected #{model.class} to not validate attribute #{attribute} with #{validator_class}" if on_attribute?

"expected #{model.class} to not validate with #{validator_class}"
end
Expand Down

0 comments on commit af624f1

Please sign in to comment.