Skip to content

Commit

Permalink
Merge pull request #107 from evolve75/rexml_update
Browse files Browse the repository at this point in the history
Updated the library versions and bumped version to 2.1.0. No longer supporting Ruby Version 2.6
  • Loading branch information
evolve75 authored Aug 12, 2024
2 parents ceb7eea + 773e4ba commit c741f8e
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1"]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1"]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inherit_from: .rubocop_todo.yml

AllCops:
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7

Lint/UselessAssignment:
Exclude:
Expand Down
6 changes: 6 additions & 0 deletions API-CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ _Note_: API changes are expected to reduce significantly after the `1.x`
release. In most cases, an alternative will be provided to ensure relatively
smooth transition to the new APIs.

## Release 2.1.0 Changes

* Minimum Ruby version has been bumped to 2.7 and above

* Updated all upstream dependencies to their latest stable versions

## Release 2.0.0 Changes

* The _minimum_ required Ruby version is now `2.6` (or higher).
Expand Down
93 changes: 49 additions & 44 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,91 +1,96 @@
PATH
remote: .
specs:
rubytree (2.0.3)
rubytree (2.1.0)
json (~> 2.0, > 2.3.1)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
diff-lcs (1.5.0)
docile (1.4.0)
json (2.6.2)
parallel (1.22.1)
parser (3.1.2.0)
diff-lcs (1.5.1)
docile (1.4.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
parallel (1.26.2)
parser (3.3.4.2)
ast (~> 2.4.1)
power_assert (2.0.1)
racc
power_assert (2.0.3)
psych (5.1.2)
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rdoc (6.4.1.1)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
regexp_parser (2.5.0)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
regexp_parser (2.9.2)
rexml (3.3.5)
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.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.1)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rtags (0.97)
rtagstask (0.0.4)
rtags (> 0.0.0)
rubocop (1.30.1)
rubocop (1.65.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
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.18.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.18.0)
parser (>= 3.1.1.0)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.0)
parser (>= 3.3.1.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.11.1)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
simplecov (0.21.2)
rubocop-rspec (3.0.4)
rubocop (~> 1.61)
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-lcov (0.8.0)
simplecov_json_formatter (0.1.4)
stringio (3.0.6)
stringio (3.1.1)
strscan (3.1.0)
test-unit (3.5.3)
test-unit (3.6.2)
power_assert
unicode-display_width (2.1.0)
unicode-display_width (2.5.0)
yard (0.9.36)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 2.3)
rake (~> 13.0)
rdoc (~> 6.0)
rake (~> 13.2)
rdoc (~> 6.7)
rspec (~> 3.0, > 3.10)
rtagstask (~> 0.0.4)
rubocop (~> 1.0)
rubocop-rake (~> 0.0)
rubocop-rspec (~> 2.0)
rubocop (~> 1.65)
rubocop-rake (~> 0.6)
rubocop-rspec (~> 3.0)
rubytree!
simplecov (~> 0.21)
simplecov (~> 0.22)
simplecov-lcov (~> 0.8)
test-unit (~> 3.0)
test-unit (~> 3.6)
yard (~> 0.0, >= 0.9.36)

BUNDLED WITH
Expand Down
7 changes: 7 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# History of Changes

### 2.1.0 / 2024-08-12

* Minimum Ruby version has been bumped to 2.7. This is needed to use the
upstream gems, many of which no longer support 2.6.

* Updated all dependencies to their latest stable versions.

### 2.0.0 / 2022-06-21

* A major release with significant modernization to the code base and removal of
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ This example can also be found at

## REQUIREMENTS: ##

* [Ruby][] 2.6.x and above.
* [Ruby][] 2.7.x and above.


* Run-time Dependencies:
Expand Down
4 changes: 2 additions & 2 deletions lib/tree/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# Author:: Anupam Sengupta ([email protected])
#
# Copyright (c) 2012-2023 Anupam Sengupta. All rights reserved.
# Copyright (c) 2012-2024 Anupam Sengupta. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -35,5 +35,5 @@

module Tree
# Rubytree Package Version
VERSION = '2.0.3'
VERSION = '2.1.0'
end
18 changes: 9 additions & 9 deletions rubytree.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Author:: Anupam Sengupta ([email protected])
#
# Copyright (c) 2012-2023 Anupam Sengupta. All rights reserved.
# Copyright (c) 2012-2024 Anupam Sengupta. All rights reserved.
#
# frozen_string_literal: true

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

s.required_ruby_version = '>=2.6'
s.required_ruby_version = '>=2.7'

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

Expand Down Expand Up @@ -67,16 +67,16 @@ Gem::Specification.new do |s|

# NOTE: Rake is added as a development and test dependency in the Gemfile.
s.add_development_dependency 'bundler', '~> 2.3'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rdoc', '~> 6.0'
s.add_development_dependency 'rake', '~> 13.2'
s.add_development_dependency 'rdoc', '~> 6.7'
s.add_development_dependency 'rspec', '~> 3.0', '> 3.10'
s.add_development_dependency 'rtagstask', '~> 0.0.4'
s.add_development_dependency 'rubocop', '~> 1.0'
s.add_development_dependency 'rubocop-rake', '~> 0.0'
s.add_development_dependency 'rubocop-rspec', '~> 2.0'
s.add_development_dependency 'simplecov', '~> 0.21'
s.add_development_dependency 'rubocop', '~> 1.65'
s.add_development_dependency 'rubocop-rake', '~> 0.6'
s.add_development_dependency 'rubocop-rspec', '~> 3.0'
s.add_development_dependency 'simplecov', '~> 0.22'
s.add_development_dependency 'simplecov-lcov', '~> 0.8'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'test-unit', '~> 3.6'
s.add_development_dependency 'yard', '~> 0.0', '>= 0.9.36'

s.post_install_message = <<-END_MESSAGE
Expand Down

0 comments on commit c741f8e

Please sign in to comment.