mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-05-30 23:25:20 -04:00
In Ruby 3.4, abbrev was promoted from a default gem to a bundled gem. highline 1.x/2.x require abbrev and now fail to load under Ruby 3.4 unless an explicit dependency on it is declared. highline 3.0 removed that dependency. commander pins highline transitively: 4.x requires highline ~> 2.0, and only commander 5.0 requires highline ~> 3.0. Relaxing the upper bound to '< 6' lets vmfloaty resolve to highline 3.x on Ruby 3.4+ while still allowing commander 4.x for older consumers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
771 B
Ruby
27 lines
771 B
Ruby
# frozen_string_literal: true
|
|
|
|
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
|
require 'vmfloaty/version'
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = 'vmfloaty'
|
|
s.version = Vmfloaty::VERSION
|
|
s.authors = [
|
|
'Brian Cain',
|
|
'Puppet'
|
|
]
|
|
s.email = 'info@puppet.com'
|
|
s.license = 'Apache-2.0'
|
|
s.homepage = 'https://github.com/puppetlabs/vmfloaty'
|
|
s.description = 'A helper tool for vmpooler to help you stay afloat'
|
|
s.summary = 'CLI application to interface with vmpooler'
|
|
|
|
s.executables = ['floaty']
|
|
s.files = Dir['LICENSE', 'README.md', 'lib/**/*', 'extras/**/*']
|
|
s.test_files = Dir['spec/**/*']
|
|
s.require_path = 'lib'
|
|
s.required_ruby_version = '>= 3.0'
|
|
|
|
s.add_dependency 'commander', '>= 4.4.3', '< 6'
|
|
s.add_dependency 'faraday', '~> 2'
|
|
end
|