Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: bccaddc11f
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.975 kB
require 'rubygems'
require 'rubygems/package_task'
require 'rspec/core/rake_task'
Dir['tasks/**/*.rake'].each { |t| load t }
spec = Gem::Specification.new do |s|
s.name = "hiera-puppet"
s.version = described_version
s.author = "Puppet Labs"
s.email = "info@puppetlabs.com"
s.homepage = "https://github.com/puppetlabs/hiera-puppet"
s.platform = Gem::Platform::RUBY
s.summary = "Puppet query interface and backend for Hiera"
s.description = "Store and query Hiera data from Puppet"
s.files = FileList["{bin,lib}/**/*"].to_a
s.require_path = "lib"
s.test_files = FileList["spec/**/*.rb"].to_a
s.has_rdoc = true
s.add_dependency 'hiera', '~> 1.0'
s.executables = "extlookup2hiera"
end
Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
desc "Run all specs"
RSpec::Core::RakeTask.new(:test) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rspec_opts = File.read("spec/spec.opts").chomp || ""
end
task :default => [:test, :repackage]
Jump to Line
Something went wrong with that request. Please try again.