forked from inspec/train
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.gemspec
44 lines (37 loc) · 1.75 KB
/
train.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
35
36
37
38
39
40
41
42
43
44
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "train/version"
Gem::Specification.new do |spec|
spec.name = "train"
spec.version = Train::VERSION
spec.authors = ["Chef InSpec Team"]
spec.email = ["[email protected]"]
spec.summary = "Transport interface to talk to different backends."
spec.description = "Transport interface to talk to different backends."
spec.license = "Apache-2.0"
spec.metadata = {
"homepage_uri" => "https://github.com/inspec/train",
"changelog_uri" => "https://github.com/inspec/train/blob/master/CHANGELOG.md",
"source_code_uri" => "https://github.com/inspec/train",
"bug_tracker_uri" => "https://github.com/inspec/train/issues",
}
spec.required_ruby_version = ">= 2.5"
spec.files = %w{LICENSE} + Dir.glob("lib/**/*")
.grep(%r{transports/(azure|clients|docker|gcp|helpers|vmware)})
.reject { |f| File.directory?(f) }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "train-core", "= #{Train::VERSION}"
spec.add_dependency "train-winrm", "~> 0.2"
# azure, docker, gcp dependencies
spec.add_dependency "activesupport", ">= 6.0.3.1"
spec.add_dependency "inifile", "~> 3.0"
spec.add_dependency "azure_graph_rbac", "~> 0.16"
spec.add_dependency "azure_mgmt_key_vault", "~> 0.17"
spec.add_dependency "azure_mgmt_resources", "~> 0.15"
spec.add_dependency "azure_mgmt_security", "~> 0.18"
spec.add_dependency "azure_mgmt_storage", "~> 0.18"
spec.add_dependency "docker-api", ">= 1.26", "< 3.0"
spec.add_dependency "google-api-client", ">= 0.23.9", "<= 0.52.0"
spec.add_dependency "googleauth", ">= 0.6.6", "<= 0.14.0"
end