gemspec uses Rocco::VERSION and current date for releases

This commit is contained in:
Chris Wanstrath 2011-05-30 16:57:59 -07:00
parent 9b65c1cd99
commit d98793dc7e

View File

@ -1,10 +1,13 @@
$LOAD_PATH.unshift 'lib'
require "rocco"
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version= s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.name = 'rocco' s.name = 'rocco'
s.version = '0.6' s.version = Rocco::VERSION
s.date = '2011-03-05' s.date = Time.now.strftime('%Y-%m-%d')
s.description = "Docco in Ruby" s.description = "Docco in Ruby"
s.summary = s.description s.summary = s.description