Sha256: ab481510eee0faeabdc5d9f2e82f6a9bea4f1ad812fe5179b7034eb7424fc745

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

lib = File.expand_path('../lib', __FILE__) # __dir__ not supported on ruby-1.9 # rubocop:disable Style/ExpandPathArguments
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'puppet/resource_api/version'

Gem::Specification.new do |spec|
  spec.name          = 'puppet-resource_api'
  spec.version       = Puppet::ResourceApi::VERSION
  spec.authors       = ['David Schmitt']
  spec.email         = ['david.schmitt@puppet.com']

  spec.summary       = 'This library provides a simple way to write new native resources for puppet.'
  spec.homepage      = 'https://github.com/puppetlabs/puppet-resource_api'

  # on out internal jenkins, there is no `.git` directory, but since it is a clean machine, we don't need to worry about anything else
  spec.files         = if Dir.exist?('.git')
                         `git ls-files -z`.split("\x0")
                       else
                         Dir.glob('**/*')
                       end.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_runtime_dependency 'hocon', '>= 1.0'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-resource_api-1.1.0 puppet-resource_api.gemspec