Permalink
Browse files

don't store date in gemspec, that way regenerating doesn't necessaril…

…y cause a new commit

Conflicts:

	sinatra.gemspec
  • Loading branch information...
rkh committed May 28, 2011
1 parent d478324 commit 7d2eaccd20c91b903787d2d38c54bdc39d6f3c7c
Showing with 1 addition and 3 deletions.
  1. +1 −2 Rakefile
  2. +0 −1 sinatra.gemspec
View
@@ -147,9 +147,8 @@ if defined?(Gem)
# read spec file and split out manifest section
spec = File.read(f.name)
head, manifest, tail = spec.split(" # = MANIFEST =\n")
- # replace version and date
+ # replace version
head.sub!(/\.version = '.*'/, ".version = '#{source_version}'")
- head.sub!(/\.date = '.*'/, ".date = '#{Date.today.to_s}'")
# determine file list from git ls-files
files = `git ls-files`.
split("\n").
View
@@ -4,7 +4,6 @@ Gem::Specification.new do |s|
s.name = 'sinatra'
s.version = '1.2.7'
- s.date = '2011-05-17'
s.description = "Classy web-development dressed in a DSL"
s.summary = "Classy web-development dressed in a DSL"

0 comments on commit 7d2eacc

Please sign in to comment.