Skip to content

Commit 5e357f8

Browse files
committed
Add Ruby 3.3 / 3.4 support
highline 3.0.1 removed the abbrev dependency. This was once a core lib, which was moved to a normal gem in Ruby 3.4. highline 2 still uses it. That means on Ruby 3.4 we need to either add abbrev or update highline. See https://github.com/search?q=repo%3AJEG2%2Fhighline%20abbrev&type=code
1 parent c9ce716 commit 5e357f8

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
puppet: '7'
3232
- ruby: '3.2'
3333
puppet: '8'
34+
- ruby: '3.3'
35+
puppet: '8'
36+
- ruby: '3.4'
37+
puppet: '8'
3438
env:
3539
PUPPET_VERSION: ${{ matrix.puppet }}
3640

kafo.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
3434
# CLI interface
3535
spec.add_dependency 'clamp', '>= 1.3.1', '< 2'
3636
# interactive mode
37-
spec.add_dependency 'highline', '>= 1.6.21', '< 3.0'
37+
spec.add_dependency 'highline', '>= 1.6.21', '< 4.0'
3838
# ruby progress bar
3939
spec.add_dependency 'powerbar'
4040
end

0 commit comments

Comments
 (0)