-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspec-puppet-yaml.gemspec
45 lines (39 loc) · 2.18 KB
/
rspec-puppet-yaml.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rspec-puppet-yaml/version"
Gem::Specification.new do |spec|
spec.name = "rspec-puppet-yaml"
spec.version = RSpec::Puppet::Yaml::VERSION
spec.authors = ["William W. Kimball, Jr., MBA, MSIS"]
spec.email = ["[email protected]"]
spec.summary = %q{Enables the use of YAML to specify rspec tests for Puppet projects}
spec.description = %q{rspec is effective but quite hard to learn for Puppet authors who don't wish to take up Ruby. YAML is comparatively easy to pick up and most Puppet authors are necessarily exposed to it. This extension enables Puppet code authors to define their rspec-puppet tests in YAML instead of Ruby.}
spec.homepage = "https://github.com/wwkimball/rspec-puppet-yaml"
spec.license = "MIT"
# It's not clear why I would want to disable pushing this public gem to RubyGems.org...
## Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
## to allow pushing to a single host or delete this section to allow pushing to any host.
#if spec.respond_to?(:metadata)
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
#else
# raise "RubyGems 2.0 or newer is required to protect against " \
# "public gem pushes."
#end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "yard", "~> 0.9"
spec.add_development_dependency "json", "~> 2.1"
spec.add_development_dependency "puppet", "~> 5"
spec.add_development_dependency "puppetlabs_spec_helper", "~> 2.3"
spec.add_development_dependency "puppet-strings", "~> 1"
spec.add_development_dependency "rspec-puppet-facts", "~> 1.8"
spec.add_dependency "rspec-puppet", "~> 2.6"
spec.add_dependency "deep_merge", "~> 1.1"
end