Skip to content

Commit c741f8e

Browse files
authored
Merge pull request #107 from evolve75/rexml_update
Updated the library versions and bumped version to 2.1.0. No longer supporting Ruby Version 2.6
2 parents ceb7eea + 773e4ba commit c741f8e

File tree

9 files changed

+77
-59
lines changed

9 files changed

+77
-59
lines changed

.github/workflows/coveralls.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
ruby: ["2.6", "2.7", "3.0", "3.1"]
19+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
2020
runs-on: ubuntu-latest
2121

2222
steps:

.github/workflows/ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
ruby: ["2.6", "2.7", "3.0", "3.1"]
12+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inherit_from: .rubocop_todo.yml
55

66
AllCops:
77
NewCops: enable
8-
TargetRubyVersion: 2.6
8+
TargetRubyVersion: 2.7
99

1010
Lint/UselessAssignment:
1111
Exclude:

API-CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ _Note_: API changes are expected to reduce significantly after the `1.x`
77
release. In most cases, an alternative will be provided to ensure relatively
88
smooth transition to the new APIs.
99

10+
## Release 2.1.0 Changes
11+
12+
* Minimum Ruby version has been bumped to 2.7 and above
13+
14+
* Updated all upstream dependencies to their latest stable versions
15+
1016
## Release 2.0.0 Changes
1117

1218
* The _minimum_ required Ruby version is now `2.6` (or higher).

Gemfile.lock

+49-44
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,96 @@
11
PATH
22
remote: .
33
specs:
4-
rubytree (2.0.3)
4+
rubytree (2.1.0)
55
json (~> 2.0, > 2.3.1)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
1010
ast (2.4.2)
11-
diff-lcs (1.5.0)
12-
docile (1.4.0)
13-
json (2.6.2)
14-
parallel (1.22.1)
15-
parser (3.1.2.0)
11+
diff-lcs (1.5.1)
12+
docile (1.4.1)
13+
json (2.7.2)
14+
language_server-protocol (3.17.0.3)
15+
parallel (1.26.2)
16+
parser (3.3.4.2)
1617
ast (~> 2.4.1)
17-
power_assert (2.0.1)
18+
racc
19+
power_assert (2.0.3)
1820
psych (5.1.2)
1921
stringio
22+
racc (1.8.1)
2023
rainbow (3.1.1)
21-
rake (13.0.6)
22-
rdoc (6.4.1.1)
24+
rake (13.2.1)
25+
rdoc (6.7.0)
2326
psych (>= 4.0.0)
24-
regexp_parser (2.5.0)
25-
rexml (3.2.8)
26-
strscan (>= 3.0.9)
27-
rspec (3.11.0)
28-
rspec-core (~> 3.11.0)
29-
rspec-expectations (~> 3.11.0)
30-
rspec-mocks (~> 3.11.0)
31-
rspec-core (3.11.0)
32-
rspec-support (~> 3.11.0)
33-
rspec-expectations (3.11.0)
27+
regexp_parser (2.9.2)
28+
rexml (3.3.5)
29+
strscan
30+
rspec (3.13.0)
31+
rspec-core (~> 3.13.0)
32+
rspec-expectations (~> 3.13.0)
33+
rspec-mocks (~> 3.13.0)
34+
rspec-core (3.13.0)
35+
rspec-support (~> 3.13.0)
36+
rspec-expectations (3.13.1)
3437
diff-lcs (>= 1.2.0, < 2.0)
35-
rspec-support (~> 3.11.0)
36-
rspec-mocks (3.11.1)
38+
rspec-support (~> 3.13.0)
39+
rspec-mocks (3.13.1)
3740
diff-lcs (>= 1.2.0, < 2.0)
38-
rspec-support (~> 3.11.0)
39-
rspec-support (3.11.0)
41+
rspec-support (~> 3.13.0)
42+
rspec-support (3.13.1)
4043
rtags (0.97)
4144
rtagstask (0.0.4)
4245
rtags (> 0.0.0)
43-
rubocop (1.30.1)
46+
rubocop (1.65.1)
47+
json (~> 2.3)
48+
language_server-protocol (>= 3.17.0)
4449
parallel (~> 1.10)
45-
parser (>= 3.1.0.0)
50+
parser (>= 3.3.0.2)
4651
rainbow (>= 2.2.2, < 4.0)
47-
regexp_parser (>= 1.8, < 3.0)
52+
regexp_parser (>= 2.4, < 3.0)
4853
rexml (>= 3.2.5, < 4.0)
49-
rubocop-ast (>= 1.18.0, < 2.0)
54+
rubocop-ast (>= 1.31.1, < 2.0)
5055
ruby-progressbar (~> 1.7)
51-
unicode-display_width (>= 1.4.0, < 3.0)
52-
rubocop-ast (1.18.0)
53-
parser (>= 3.1.1.0)
56+
unicode-display_width (>= 2.4.0, < 3.0)
57+
rubocop-ast (1.32.0)
58+
parser (>= 3.3.1.0)
5459
rubocop-rake (0.6.0)
5560
rubocop (~> 1.0)
56-
rubocop-rspec (2.11.1)
57-
rubocop (~> 1.19)
58-
ruby-progressbar (1.11.0)
59-
simplecov (0.21.2)
61+
rubocop-rspec (3.0.4)
62+
rubocop (~> 1.61)
63+
ruby-progressbar (1.13.0)
64+
simplecov (0.22.0)
6065
docile (~> 1.1)
6166
simplecov-html (~> 0.11)
6267
simplecov_json_formatter (~> 0.1)
6368
simplecov-html (0.12.3)
6469
simplecov-lcov (0.8.0)
6570
simplecov_json_formatter (0.1.4)
66-
stringio (3.0.6)
71+
stringio (3.1.1)
6772
strscan (3.1.0)
68-
test-unit (3.5.3)
73+
test-unit (3.6.2)
6974
power_assert
70-
unicode-display_width (2.1.0)
75+
unicode-display_width (2.5.0)
7176
yard (0.9.36)
7277

7378
PLATFORMS
7479
ruby
7580

7681
DEPENDENCIES
7782
bundler (~> 2.3)
78-
rake (~> 13.0)
79-
rdoc (~> 6.0)
83+
rake (~> 13.2)
84+
rdoc (~> 6.7)
8085
rspec (~> 3.0, > 3.10)
8186
rtagstask (~> 0.0.4)
82-
rubocop (~> 1.0)
83-
rubocop-rake (~> 0.0)
84-
rubocop-rspec (~> 2.0)
87+
rubocop (~> 1.65)
88+
rubocop-rake (~> 0.6)
89+
rubocop-rspec (~> 3.0)
8590
rubytree!
86-
simplecov (~> 0.21)
91+
simplecov (~> 0.22)
8792
simplecov-lcov (~> 0.8)
88-
test-unit (~> 3.0)
93+
test-unit (~> 3.6)
8994
yard (~> 0.0, >= 0.9.36)
9095

9196
BUNDLED WITH

History.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# History of Changes
22

3+
### 2.1.0 / 2024-08-12
4+
5+
* Minimum Ruby version has been bumped to 2.7. This is needed to use the
6+
upstream gems, many of which no longer support 2.6.
7+
8+
* Updated all dependencies to their latest stable versions.
9+
310
### 2.0.0 / 2022-06-21
411

512
* A major release with significant modernization to the code base and removal of

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ This example can also be found at
118118

119119
## REQUIREMENTS: ##
120120

121-
* [Ruby][] 2.6.x and above.
121+
* [Ruby][] 2.7.x and above.
122122

123123

124124
* Run-time Dependencies:

lib/tree/version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Author:: Anupam Sengupta ([email protected])
66
#
7-
# Copyright (c) 2012-2023 Anupam Sengupta. All rights reserved.
7+
# Copyright (c) 2012-2024 Anupam Sengupta. All rights reserved.
88
#
99
# Redistribution and use in source and binary forms, with or without
1010
# modification, are permitted provided that the following conditions are met:
@@ -35,5 +35,5 @@
3535

3636
module Tree
3737
# Rubytree Package Version
38-
VERSION = '2.0.3'
38+
VERSION = '2.1.0'
3939
end

rubytree.gemspec

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Author:: Anupam Sengupta ([email protected])
55
#
6-
# Copyright (c) 2012-2023 Anupam Sengupta. All rights reserved.
6+
# Copyright (c) 2012-2024 Anupam Sengupta. All rights reserved.
77
#
88
# frozen_string_literal: true
99

@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
1919
s.email = '[email protected]'
2020
s.homepage = 'http://rubytree.anupamsg.me'
2121

22-
s.required_ruby_version = '>=2.6'
22+
s.required_ruby_version = '>=2.7'
2323

2424
s.summary = 'A generic tree data structure for Ruby.'
2525

@@ -67,16 +67,16 @@ Gem::Specification.new do |s|
6767

6868
# NOTE: Rake is added as a development and test dependency in the Gemfile.
6969
s.add_development_dependency 'bundler', '~> 2.3'
70-
s.add_development_dependency 'rake', '~> 13.0'
71-
s.add_development_dependency 'rdoc', '~> 6.0'
70+
s.add_development_dependency 'rake', '~> 13.2'
71+
s.add_development_dependency 'rdoc', '~> 6.7'
7272
s.add_development_dependency 'rspec', '~> 3.0', '> 3.10'
7373
s.add_development_dependency 'rtagstask', '~> 0.0.4'
74-
s.add_development_dependency 'rubocop', '~> 1.0'
75-
s.add_development_dependency 'rubocop-rake', '~> 0.0'
76-
s.add_development_dependency 'rubocop-rspec', '~> 2.0'
77-
s.add_development_dependency 'simplecov', '~> 0.21'
74+
s.add_development_dependency 'rubocop', '~> 1.65'
75+
s.add_development_dependency 'rubocop-rake', '~> 0.6'
76+
s.add_development_dependency 'rubocop-rspec', '~> 3.0'
77+
s.add_development_dependency 'simplecov', '~> 0.22'
7878
s.add_development_dependency 'simplecov-lcov', '~> 0.8'
79-
s.add_development_dependency 'test-unit', '~> 3.0'
79+
s.add_development_dependency 'test-unit', '~> 3.6'
8080
s.add_development_dependency 'yard', '~> 0.0', '>= 0.9.36'
8181

8282
s.post_install_message = <<-END_MESSAGE

0 commit comments

Comments
 (0)