Skip to content

Commit

Permalink
dep: add getoptlong as a runtime dependency
Browse files Browse the repository at this point in the history
because it's no longer part of the stdlib in ruby 3.4

Closes #28
  • Loading branch information
flavorjones committed May 23, 2024
1 parent 39c2456 commit c8c3810
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
=== next / unrelesaed

==== Dependencies

- Added `getoptlong` as an explicit dependency since Ruby 3.4 removes it from the standard library.


=== 1.0.7 / 2019-08-06

* Security
Expand Down
10 changes: 9 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
PATH
remote: .
specs:
rexical (1.0.7)
getoptlong

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
getoptlong (0.2.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
minitest (5.23.0)
minitest (5.23.1)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -39,6 +46,7 @@ PLATFORMS
DEPENDENCIES
minitest
rake
rexical!
rubocop

BUNDLED WITH
Expand Down
2 changes: 2 additions & 0 deletions rexical.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Gem::Specification.new do |s|
s.files = File.read("Manifest.txt").split("\n")

s.licenses = ["LGPL-2.1-only"]

s.add_dependency "getoptlong"
end

0 comments on commit c8c3810

Please sign in to comment.