-
Notifications
You must be signed in to change notification settings - Fork 87
/
train.gemspec
55 lines (47 loc) · 2.25 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
45
46
47
48
49
50
51
52
53
54
55
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 = ["inspec@chef.io"]
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.7"
spec.files = %w{LICENSE} + Dir.glob("lib/**/*")
.grep(%r{transports/(azure|clients|docker|podman|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"
if Gem.ruby_version >= Gem::Version.new("3.1.0")
spec.add_dependency "activesupport", ">= 6.0.3.1"
else
spec.add_dependency "activesupport", ">= 6.0.3.1", "< 7.2.0"
end
# azure, docker, gcp dependencies
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 "googleauth", ">= 0.16.2", "< 1.9.0"
spec.add_dependency "google-apis-admin_directory_v1", "~> 0.46.0"
spec.add_dependency "google-apis-cloudkms_v1", "~> 0.41.0"
spec.add_dependency "google-apis-monitoring_v3", "~> 0.51.0"
spec.add_dependency "google-apis-compute_v1", "~> 0.83.0"
spec.add_dependency "google-apis-cloudresourcemanager_v1", "~> 0.35.0"
spec.add_dependency "google-apis-storage_v1", "~> 0.30.0"
spec.add_dependency "google-apis-iam_v1", "~> 0.50.0"
end