Skip to content

Commit

Permalink
UPDATE gems (#191)
Browse files Browse the repository at this point in the history
* addressable 2.8.6 → 2.8.7
[changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.7)

* docile 1.4.0 → 1.4.1
[changelog](https://github.com/ms-ati/docile/blob/main/HISTORY.md#v141-may-12-2021)

* hashdiff 1.1.0 → 1.1.1
[changelog](https://github.com/liufengyun/hashdiff/blob/master/changelog.md)

* json 2.7.2 → 2.8.1
[changelog](https://github.com/ruby/json/blob/master/CHANGES.md#2024-11-06-281)

* nokogiri 1.16.5 → 1.16.7
[changelog](https://nokogiri.org/CHANGELOG.html)

* parallel 1.25.1 → 1.26.3

* parser 3.3.2.0 → 3.3.6.0
[changelog](https://github.com/whitequark/parser/blob/v3.3.6.0/CHANGELOG.md)

* public_suffix 5.0.5 → 6.0.1
[changelog](https://github.com/weppos/publicsuffix-ruby/blob/master/CHANGELOG.md#601)

* racc 1.8.0 → 1.8.1
[changelog](https://github.com/ruby/racc/releases)

* rexml 3.3.0 → 3.3.9
[changelog](https://github.com/ruby/rexml/releases/tag/v3.3.9)

* rspec-core 3.13.0 → 3.13.2
[changelog](https://github.com/rspec/rspec-core/blob/v3.13.2/Changelog.md)

* rspec-expectations 3.13.0 → 3.13.3
[changelog](https://github.com/rspec/rspec-expectations/blob/v3.13.3/Changelog.md#3133--2024-09-07)

* rspec-mocks 3.13.1 → 3.13.2
[changelog](https://github.com/rspec/rspec-mocks/blob/v3.13.2/Changelog.md#3132--2024-10-02)

* rubocop 1.64.1 → 1.68.0
[changelog](https://github.com/rubocop/rubocop/releases/tag/v1.68.0)

* rubocop-ast 1.31.3 → 1.34.1
[changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)

* rubocop-performance 1.21.0 → 1.22.1
[changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md#1221-2024-09-17)

* simplecov-html 0.12.3 → 0.13.1

* unicode-display_width 2.5.0 → 2.6.0
[changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md#260)

* vcr 6.2.0 → 6.3.1

* webmock 3.23.1 → 3.24.0
[changelog](https://github.com/bblimke/webmock/blob/v3.24.0/CHANGELOG.md#3240)
  • Loading branch information
MaximeD authored Nov 9, 2024
1 parent 6d8583f commit 943f7f7
Show file tree
Hide file tree
Showing 6 changed files with 896 additions and 1,008 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# master (unreleased)

Updates:
* gems

# v7.2.0 (June 12, 2024)

Enhancement:
Expand Down
51 changes: 25 additions & 26 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,65 +9,64 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
coderay (1.1.3)
crack (1.0.0)
bigdecimal
rexml
diff-lcs (1.5.1)
docile (1.4.0)
hashdiff (1.1.0)
json (2.7.2)
docile (1.4.1)
hashdiff (1.1.1)
json (2.8.1)
language_server-protocol (3.17.0.3)
method_source (1.1.0)
mini_portile2 (2.8.7)
nokogiri (1.16.5)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.25.1)
parser (3.3.2.0)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.5)
racc (1.8.0)
public_suffix (6.0.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.3.0)
strscan
rexml (3.3.9)
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-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.64.1)
rubocop (1.68.0)
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)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.34.1)
parser (>= 3.3.1.0)
rubocop-performance (1.21.0)
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
Expand All @@ -78,12 +77,12 @@ GEM
simplecov-cobertura (2.1.0)
rexml
simplecov (~> 0.19)
simplecov-html (0.12.3)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
strscan (3.1.0)
unicode-display_width (2.5.0)
vcr (6.2.0)
webmock (3.23.1)
unicode-display_width (2.6.0)
vcr (6.3.1)
base64
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down
6 changes: 3 additions & 3 deletions gem_updater.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 3.0.0'

s.add_runtime_dependency 'bundler', '< 3'
s.add_runtime_dependency 'json', '~> 2.6'
s.add_runtime_dependency 'nokogiri', '~> 1.13'
s.add_dependency 'bundler', '< 3'
s.add_dependency 'json', '~> 2.6'
s.add_dependency 'nokogiri', '~> 1.13'

s.add_development_dependency 'pry', '~> 0.14'
s.add_development_dependency 'rspec', '~> 3.12'
Expand Down
6 changes: 2 additions & 4 deletions lib/gem_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ def format_diff

# For each gem, retrieve its changelog
def fill_changelogs
[].tap do |threads|
gemfile.changes.each do |gem_changes, details|
threads << Thread.new { retrieve_changelog(gem_changes, details) }
end
gemfile.changes.map do |gem_changes, details|
Thread.new { retrieve_changelog(gem_changes, details) }
end.each(&:join)
end

Expand Down
43 changes: 21 additions & 22 deletions spec/acceptance/gem_update_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,40 @@

let(:diff) do
<<~OUTPUT
* activesupport 7.0.0 → 7.1.3.4
[changelog](https://github.com/rails/rails/blob/v7.1.2/activesupport/CHANGELOG.md)
* activesupport 7.0.0 → 8.0.0
[changelog](https://github.com/rails/rails/blob/v8.0.0/activesupport/CHANGELOG.md#rails-800-november-07-2024)
* concurrent-ruby 1.2.2 → 1.3.3
[changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md#release-v133-9-june-2024)
* concurrent-ruby 1.2.2 → 1.3.4
[changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md#release-v134-10-august-2024)
* i18n 1.14.1 → 1.14.5
* i18n 1.14.1 → 1.14.6
[changelog](https://github.com/ruby-i18n/i18n/releases)
* json 2.6.3 → 2.7.2
[changelog](https://github.com/flori/json/blob/master/CHANGES.md)
* json 2.6.3 → 2.8.1
[changelog](https://github.com/ruby/json/blob/master/CHANGES.md#2024-11-06-281)
* minitest 5.20.0 → 5.23.1
[changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
* minitest 5.20.0 → 5.25.1
[changelog](https://github.com/minitest/minitest/blob/master/History.rdoc#5251--2024-08-16-)
* parallel 1.23.0 → 1.25.1
* parallel 1.23.0 → 1.26.3
* parser 3.2.2.3 → 3.3.2.0
[changelog](https://github.com/whitequark/parser/blob/v3.2.2.4/CHANGELOG.md)
* parser 3.2.2.3 → 3.3.6.0
[changelog](https://github.com/whitequark/parser/blob/v3.3.6.0/CHANGELOG.md)
* racc 1.7.1 → 1.8.0
* racc 1.7.1 → 1.8.1
[changelog](https://github.com/ruby/racc/releases)
* regexp_parser 2.6.1 → 2.9.2
[changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
[changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md#292---2024-05-15---janosch-müller)
* rexml 3.2.6 → 3.3.0
* rubocop 1.38.0 → 1.68.0
[changelog](https://github.com/rubocop/rubocop/releases/tag/v1.68.0)
* rubocop 1.38.0 → 1.64.1
[changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
* rubocop-ast 1.29.0 → 1.34.1
[changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md#1341-2024-11-07)
* rubocop-ast 1.29.0 → 1.31.3
[changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
* unicode-display_width 2.4.2 → 2.5.0
[changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md#250)
* unicode-display_width 2.4.2 → 2.6.0
[changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md#260)
OUTPUT
end
Expand Down
Loading

0 comments on commit 943f7f7

Please sign in to comment.