Skip to content

Commit 074be2e

Browse files
committed
Updated dependencies to latest stable. Also bumped version to 1.0.1.
This was specifically done to address various CVEs in the development tools, and has no functional changes.
1 parent 3706c88 commit 074be2e

4 files changed

Lines changed: 66 additions & 64 deletions

File tree

Gemfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in rubytree.gemspec
44
gemspec
55

6-
group :development, :test do
7-
gem 'coveralls', '>= 0.8.23', require: false, platforms: :mri_21
8-
gem 'rake', '>= 13.0.1'
9-
gem 'rspec', '>= 3.9.0'
10-
gem 'rubocop'
11-
gem 'test-unit', '~> 3.3.6'
12-
end
13-
146
# Local Variables:
157
# mode: ruby
168
# End:

Gemfile.lock

Lines changed: 51 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,97 @@
11
PATH
22
remote: .
33
specs:
4-
rubytree (1.0.2)
5-
json (~> 2.3.1)
4+
rubytree (1.0.1)
5+
json (~> 2.6.1)
66
structured_warnings (~> 0.4.0)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
ast (2.4.1)
11+
ast (2.4.2)
1212
coveralls (0.8.23)
1313
json (>= 1.8, < 3)
1414
simplecov (~> 0.16.1)
1515
term-ansicolor (~> 1.3)
1616
thor (>= 0.19.4, < 2.0)
1717
tins (~> 1.6)
18-
diff-lcs (1.4.4)
19-
docile (1.3.2)
20-
json (2.3.1)
21-
parallel (1.19.2)
22-
parser (2.7.1.4)
18+
diff-lcs (1.5.0)
19+
docile (1.4.0)
20+
json (2.6.1)
21+
parallel (1.21.0)
22+
parser (3.0.3.2)
2323
ast (~> 2.4.1)
24-
power_assert (1.2.0)
24+
power_assert (2.0.1)
25+
psych (4.0.3)
26+
stringio
2527
rainbow (3.0.0)
26-
rake (13.0.1)
27-
rdoc (6.2.1)
28-
regexp_parser (1.7.1)
29-
rexml (3.2.4)
30-
rspec (3.9.0)
31-
rspec-core (~> 3.9.0)
32-
rspec-expectations (~> 3.9.0)
33-
rspec-mocks (~> 3.9.0)
34-
rspec-core (3.9.2)
35-
rspec-support (~> 3.9.3)
36-
rspec-expectations (3.9.2)
28+
rake (13.0.6)
29+
rdoc (6.4.0)
30+
psych (>= 4.0.0)
31+
regexp_parser (2.2.0)
32+
rexml (3.2.5)
33+
rspec (3.10.0)
34+
rspec-core (~> 3.10.0)
35+
rspec-expectations (~> 3.10.0)
36+
rspec-mocks (~> 3.10.0)
37+
rspec-core (3.10.1)
38+
rspec-support (~> 3.10.0)
39+
rspec-expectations (3.10.1)
3740
diff-lcs (>= 1.2.0, < 2.0)
38-
rspec-support (~> 3.9.0)
39-
rspec-mocks (3.9.1)
41+
rspec-support (~> 3.10.0)
42+
rspec-mocks (3.10.2)
4043
diff-lcs (>= 1.2.0, < 2.0)
41-
rspec-support (~> 3.9.0)
42-
rspec-support (3.9.3)
44+
rspec-support (~> 3.10.0)
45+
rspec-support (3.10.3)
4346
rtags (0.97)
4447
rtagstask (0.0.4)
4548
rtags (> 0.0.0)
46-
rubocop (0.90.0)
49+
rubocop (1.24.0)
4750
parallel (~> 1.10)
48-
parser (>= 2.7.1.1)
51+
parser (>= 3.0.0.0)
4952
rainbow (>= 2.2.2, < 4.0)
50-
regexp_parser (>= 1.7)
53+
regexp_parser (>= 1.8, < 3.0)
5154
rexml
52-
rubocop-ast (>= 0.3.0, < 1.0)
55+
rubocop-ast (>= 1.15.0, < 2.0)
5356
ruby-progressbar (~> 1.7)
54-
unicode-display_width (>= 1.4.0, < 2.0)
55-
rubocop-ast (0.3.0)
56-
parser (>= 2.7.1.4)
57-
ruby-progressbar (1.10.1)
57+
unicode-display_width (>= 1.4.0, < 3.0)
58+
rubocop-ast (1.15.1)
59+
parser (>= 3.0.1.1)
60+
ruby-progressbar (1.11.0)
5861
simplecov (0.16.1)
5962
docile (~> 1.1)
6063
json (>= 1.8, < 3)
6164
simplecov-html (~> 0.10.0)
6265
simplecov-html (0.10.2)
66+
stringio (3.0.1)
6367
structured_warnings (0.4.0)
6468
sync (0.5.0)
6569
term-ansicolor (1.7.1)
6670
tins (~> 1.0)
67-
test-unit (3.3.6)
71+
test-unit (3.5.3)
6872
power_assert
69-
thor (1.0.1)
70-
tins (1.25.0)
73+
thor (1.1.0)
74+
tins (1.30.0)
7175
sync
72-
unicode-display_width (1.7.0)
73-
yard (0.9.25)
76+
unicode-display_width (2.1.0)
77+
webrick (1.7.0)
78+
yard (0.9.27)
79+
webrick (~> 1.7.0)
7480

7581
PLATFORMS
7682
ruby
7783

7884
DEPENDENCIES
79-
bundler (~> 2.1.4)
85+
bundler (~> 2.3.4)
8086
coveralls (>= 0.8.23)
81-
rake (>= 13.0.1)
82-
rdoc (~> 6.2.1)
83-
rspec (>= 3.9.0)
87+
rake (>= 13.0.6)
88+
rdoc (>= 6.4.0)
89+
rspec (~> 3.10.0)
8490
rtagstask (~> 0.0.4)
85-
rubocop
91+
rubocop (>= 1.24.0)
8692
rubytree!
87-
test-unit (~> 3.3.6)
88-
yard (~> 0.9.25)
93+
test-unit (>= 3.5.3)
94+
yard (~> 0.9.27)
8995

9096
BUNDLED WITH
91-
2.1.4
97+
2.3.4

lib/tree/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636

3737
module Tree
3838
# Rubytree Package Version
39-
VERSION = '1.0.2'.freeze
39+
VERSION = '1.0.1'.freeze
4040
end

rubytree.gemspec

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
#
55
# Author:: Anupam Sengupta (anupamsg@gmail.com)
66
#
7-
# Copyright (c) 2012, 2013, 2014, 2015, 2017, 2020 Anupam Sengupta
7+
# Copyright (c) 2012, 2013, 2014, 2015, 2017, 2020, 2021 Anupam Sengupta
88
# All rights reserved.
99

1010
require './lib/tree/version'
1111

1212
Gem::Specification.new do |s|
1313
s.name = 'rubytree'
14-
s.date = '2021-03-01'
14+
s.date = '2021-12-29'
1515
s.version = Tree::VERSION
1616
s.license = 'BSD-3-Clause-Clear'
1717

@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020
s.email = 'anupamsg@gmail.com'
2121
s.homepage = 'http://rubytree.anupamsg.me'
2222

23-
s.required_ruby_version = '>=2.4'
23+
s.required_ruby_version = '>=2.7'
2424

2525
s.summary = 'A generic tree data structure.'
2626
s.description = <<-END_OF_TEXT
@@ -65,21 +65,25 @@ Gem::Specification.new do |s|
6565
s.extra_rdoc_files = %w[README.md LICENSE.md API-CHANGES.rdoc History.rdoc]
6666
s.rdoc_options = ['--title', 'Rubytree Documentation', '--quiet']
6767

68-
s.add_runtime_dependency 'json', '~> 2.3.1'
68+
s.add_runtime_dependency 'json', '~> 2.6.1'
6969
s.add_runtime_dependency 'structured_warnings', '~> 0.4.0'
7070

71-
# Note: Rake is added as a development and test dependency in the Gemfile.
72-
s.add_development_dependency 'bundler', '~> 2.1.4'
73-
s.add_development_dependency 'rdoc', '~> 6.2.1'
74-
s.add_development_dependency 'rspec', '~> 3.9.0'
71+
# Development dependencies.
72+
s.add_development_dependency 'bundler', '~> 2.3.4'
73+
s.add_development_dependency 'rake', '>= 13.0.6'
74+
s.add_development_dependency 'test-unit', '>= 3.5.3'
75+
s.add_development_dependency 'rdoc', '>= 6.4.0'
76+
s.add_development_dependency 'rspec', '~> 3.10.0'
7577
s.add_development_dependency 'rtagstask', '~> 0.0.4'
76-
s.add_development_dependency 'yard', '~> 0.9.25'
78+
s.add_development_dependency 'yard', '~> 0.9.27'
79+
s.add_development_dependency 'coveralls', '>= 0.8.23'
80+
s.add_development_dependency 'rubocop', '>= 1.24.0'
7781

7882
s.post_install_message = <<-END_OF_TEXT
7983
========================================================================
8084
Thank you for installing RubyTree.
8185
82-
Note:: As of 1.0.0, RubyTree can only support MRI Ruby >= 2.2.x
86+
Note:: As of 1.0.1, RubyTree can only support MRI Ruby >= 2.7.x
8387
8488
Details of the API changes are documented in the API-CHANGES file.
8589
========================================================================

0 commit comments

Comments
 (0)