Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (28 sloc) 0.892 kb
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
require 'rubygems'
require 'rubygems/package_task'
require 'rspec/core/rake_task'
require 'tasks/release'

spec = Gem::Specification.new do |s|
  s.name = "hiera-json"
  s.version = described_version
  s.author = "Puppet Labs"
  s.email = "info@puppetlabs.com"
  s.homepage = "https://github.com/puppetlabs/hiera-json/"
  s.summary = "JSON backend for the Hiera hierarcical data store"
  s.description = "Store Hiera data in JSON"
  s.files = FileList["lib/**/*"].to_a
  s.require_path = "lib"
  s.test_files = FileList["spec/**/*.rb"].to_a
  s.has_rdoc = true
  s.add_dependency 'hiera', '~>0.3.0'
  s.add_dependency 'json'
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]
Something went wrong with that request. Please try again.