Sha256: f2e22f6b345bdac99e60b9cc76abed24821d279b302b7199440e0693c7a5ec37

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

require "tvd-<%= node[:tvd][:name] %>/version"

Gem::Specification.new do |s|
  s.name        = "tvd-<%= node[:tvd][:name] %>"
  s.version     = ENV['EDIT_<%= node[:tvd][:name].gsub(/[-]/,"_") %>'] ? "#{TVDinner::<%= node[:tvd][:class] %>::VERSION}.rc#{%x(git log --max-count=1 --pretty=format:%ct)}" : TVDinner::<%= node[:tvd][:class] %>::VERSION
  s.homepage    = "<%= node[:tvd][:homepage] %>"
  s.license     = "<%= node[:tvd][:license] %>"
  s.author      = "<%= node[:tvd][:author] %>"
  s.email       = "<%= node[:tvd][:email] %>"
  s.summary     = "<%= node[:tvd][:summary] %>"
  s.description = "<%= node[:tvd][:description] %>"

  s.executables  = []
  s.test_files   = `git ls-files -- {spec,tasks}/*`.split("\n")
  s.files        = `git ls-files -- lib/* cookbooks/*`.split("\n") 

  s.files       += s.test_files
  s.files       += s.executables.map {|f| File.join("bin", f) }
  s.files       +=  %w(LICENSE NOTICE VERSION README.md)

  s.require_path = "lib"

  s.add_dependency "tvd-tvdinner"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tvd-tvdinner-0.0.27 cookbooks/tvdinner/templates/default/gemspec.erb