forked from puppetlabs/bolt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbolt.gemspec
50 lines (42 loc) · 1.85 KB
/
bolt.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'bolt/version'
# --recurse-submodules only available in newer git
output = `git submodule -q foreach 'git ls-files lib | sed "s|^|$path/|"'`
vendored_files = output.split
bolt_files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
Gem::Specification.new do |spec|
spec.name = "bolt"
spec.version = Bolt::VERSION
spec.authors = ["Puppet"]
spec.email = ["[email protected]"]
spec.summary = "Execute commands remotely over SSH and WinRM"
spec.description = "Execute commands remotely over SSH and WinRM"
spec.homepage = "https://github.com/puppetlabs/bolt"
spec.license = "Apache-2.0"
spec.files = bolt_files + vendored_files
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = "~> 2.0"
spec.add_dependency "net-ssh", "~> 4.0"
spec.add_dependency "net-sftp", "~> 2.0"
spec.add_dependency "winrm", "~> 2.0"
spec.add_dependency "winrm-fs", "~> 1.0"
spec.add_dependency "concurrent-ruby", "~> 1.0"
spec.add_dependency "orchestrator_client", "~> 0.2.1"
# Dependencies of our vendored puppet, etc
spec.add_dependency "gettext-setup", "< 1", ">= 0.10"
spec.add_dependency "locale", "~> 2.1"
spec.add_dependency "minitar", "~> 0.6.1"
spec.add_dependency "win32-dir", "= 0.4.9"
spec.add_dependency "win32-process", "= 0.7.5"
spec.add_dependency "win32-security", "= 0.2.5"
spec.add_dependency "win32-service", "= 0.8.8"
spec.add_dependency "CFPropertyList", "~> 2.2"
spec.add_development_dependency "bundler", "~> 1.14"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
end