mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
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.
39 lines
971 B
Ruby
39 lines
971 B
Ruby
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
|
|
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'
|
|
end
|
|
|
|
# Test deps
|
|
group :test do
|
|
gem 'mock_redis', '>= 0.17.0'
|
|
gem 'rack-test', '>= 0.6'
|
|
gem 'rspec', '>= 3.2'
|
|
gem 'simplecov', '>= 0.11.2'
|
|
gem 'yarjuf', '>= 2.0'
|
|
# Rubocop would be ok jruby but for now we only use it on
|
|
# MRI or Windows platforms
|
|
gem "rubocop", :platforms => [:ruby, :x64_mingw]
|
|
end
|
|
|
|
# Evaluate Gemfile.local if it exists
|
|
if File.exists? "#{__FILE__}.local"
|
|
instance_eval(File.read("#{__FILE__}.local"))
|
|
end
|
|
|
|
# Evaluate ~/.gemfile if it exists
|
|
if File.exists?(File.join(Dir.home, '.gemfile'))
|
|
instance_eval(File.read(File.join(Dir.home, '.gemfile')))
|
|
end
|