-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain-vsphere.gemspec
34 lines (27 loc) · 1.19 KB
/
train-vsphere.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'train-vsphere/version'
Gem::Specification.new do |spec|
# Importantly, all Train plugins must be prefixed with `train-`
spec.name = 'train-vsphere'
# It is polite to namespace your plugin under InspecPlugins::YourPluginInCamelCase
spec.version = TrainPlugins::Vsphere::VERSION
spec.authors = ['Sjors Robroek']
spec.email = ['s.robroek@vxsan.com']
spec.summary = 'Train Transport for vSphere'
spec.description = 'Allows applications using Train to speak to vSphere'
spec.homepage = 'https://github.com/srobroek/train-vsphere'
spec.license = 'Apache-2.0'
# Though complicated-looking, this is pretty standard for a gemspec.
# It just filters what will actually be packaged in the gem (leaving
# out tests, etc)
spec.files = %w{
README.md train-vsphere.gemspec Gemfile
} + Dir.glob(
'lib/**/*', File::FNM_DOTMATCH
).reject { |f| File.directory?(f) }
spec.require_paths = ['lib']
spec.add_dependency 'train', '~> 1.4'
spec.add_dependency 'vsphere-automation-sdk', '~> 0.1.0'
spec.add_dependency 'rbvmomi', '~> 2.1.0'
end