Update gemspec in preparation for vmpooler release

This commit updates gemspec and Gemfile in preparation of a vmpooler release. To support this change the vmpooler executable is placed into a bin directory for inclusion in the gem. The license in gemspec is updated to Apache 2.0 to reflect the vmpooler project license.
This commit is contained in:
kirby@puppetlabs.com 2018-07-13 09:31:42 -07:00
parent fcb3880852
commit 4788693749
4 changed files with 39 additions and 111 deletions

35
Gemfile
View file

@ -1,29 +1,16 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
gem 'puma', '>= 3.6.0'
# Rack 2.x requires ruby 2.2 or above.
# As VMPooler should work in older jruby, we need to be Ruby 1.9.3 compatible.
gem 'rack', '~> 1.6'
gem 'rake', '>= 10.4'
gem 'rbvmomi', '>= 1.8'
gem 'sinatra', '>= 1.4'
gem 'net-ldap', '>= 0.16.1'
gem 'statsd-ruby', '>= 1.3.0', :require => 'statsd'
gem 'connection_pool', '>= 2.2.1'
gem 'nokogiri', '>= 1.8.2'
gem 'vmpooler', path: './'
# Pin gems against Ruby version
# Note we can't use platform restrictions easily so use
# lowest version range any platform
# ----
# redis
if RUBY_VERSION =~ /^2\.[1]/
gem 'redis', '~> 3.0'
elsif RUBY_VERSION =~ /^2\.2\.[01]/
gem 'redis', '~> 3.0'
else
gem 'redis', '>= 3.2'
end
gem 'json', '>= 1.8'
gem 'puma', '~> 3.11'
gem 'rack', '~> 2.0'
gem 'rake', '~> 12.3'
gem 'redis', '~> 4.0'
gem 'rbvmomi', '~> 1.13'
gem 'sinatra', '~> 2.0'
gem 'net-ldap', '~> 0.16'
gem 'statsd-ruby', '~> 1.4.0', :require => 'statsd'
gem 'connection_pool', '~> 2.2'
gem 'nokogiri', '~> 1.8'
group :development do
gem 'pry'