Permalink
Browse files

gemspec uses Rocco::VERSION and current date for releases

  • Loading branch information...
1 parent 9b65c1c commit d98793dc7ec6915d0b344096d48c99dca8495e47 @defunkt defunkt committed May 30, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 rocco.gemspec
View
@@ -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

0 comments on commit d98793d

Please sign in to comment.