-
Notifications
You must be signed in to change notification settings - Fork 105
/
pdk.gemspec
54 lines (41 loc) · 1.8 KB
/
pdk.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pdk/version'
Gem::Specification.new do |spec|
spec.name = 'pdk'
spec.version = PDK::VERSION
spec.authors = ['Puppet, Inc.']
spec.email = ['pdk-maintainers@puppet.com']
spec.summary = 'A key part of the Puppet Development Kit, the shortest path to better modules'
spec.description = 'A CLI to facilitate easy, unified development workflows for Puppet modules.'
spec.homepage = 'https://github.com/puppetlabs/pdk'
spec.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE', 'lib/**/*', 'exe/**/*']
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.7.0'
# PDK Rubygems
spec.add_runtime_dependency 'ffi', '>= 1.15.5', '< 2.0.0'
spec.add_runtime_dependency 'minitar', '~> 0.8'
# Bundler
spec.add_runtime_dependency 'bundler', '>= 2.1.0', '< 3.0.0'
# Cri and deps
spec.add_runtime_dependency 'cri', '~> 2.15.11'
# Childprocess and deps
spec.add_runtime_dependency 'childprocess', '~> 5.0'
spec.add_runtime_dependency 'hitimes', '2.0.0'
## root tty gems
spec.add_runtime_dependency 'tty-prompt', '~> 0.23'
spec.add_runtime_dependency 'tty-spinner', '~> 0.9'
spec.add_runtime_dependency 'tty-which', '~> 0.5'
# json-schema and deps
spec.add_runtime_dependency 'json-schema', '~> 5.0'
# PDK build
spec.add_runtime_dependency 'puppet-modulebuilder', '~> 1.0'
# Other deps
spec.add_runtime_dependency 'deep_merge', '~> 1.2.2'
spec.add_runtime_dependency 'diff-lcs', '>= 1.5.0'
spec.add_runtime_dependency 'pathspec', '~> 1.1'
spec.add_runtime_dependency 'puppet_forge', '~> 5.0'
spec.metadata['rubygems_mfa_required'] = 'true'
end