From 9b65c1cd9931d8333fa3172857beac88abf9b717 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 30 May 2011 16:57:26 -0700 Subject: [PATCH 1/2] bump Rocco::VERSION (0.7 was released) --- lib/rocco.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rocco.rb b/lib/rocco.rb index 035f944..d505691 100644 --- a/lib/rocco.rb +++ b/lib/rocco.rb @@ -73,7 +73,7 @@ end # to `nil` (that is, Mustache will use `./lib/rocco/layout.mustache`)_. # class Rocco - VERSION = '0.6' + VERSION = '0.7' def initialize(filename, sources=[], options={}, &block) @file = filename From d98793dc7ec6915d0b344096d48c99dca8495e47 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 30 May 2011 16:57:59 -0700 Subject: [PATCH 2/2] gemspec uses Rocco::VERSION and current date for releases --- rocco.gemspec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rocco.gemspec b/rocco.gemspec index 168e798..490194b 100644 --- a/rocco.gemspec +++ b/rocco.gemspec @@ -1,10 +1,13 @@ +$LOAD_PATH.unshift 'lib' +require "rocco" + Gem::Specification.new do |s| 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.name = 'rocco' - s.version = '0.6' - s.date = '2011-03-05' + s.version = Rocco::VERSION + s.date = Time.now.strftime('%Y-%m-%d') s.description = "Docco in Ruby" s.summary = s.description