Skip to content

Commit b229719

Browse files
committed
automate version and date for gem builds
1 parent a4343f7 commit b229719

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

email_reply_parser.gemspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
$LOAD_PATH.unshift '.'
2+
require 'lib/email_reply_parser'
3+
14
## This is the rakegem gemspec template. Make sure you read and understand
25
## all of the comments. Some sections require modification, and others can
36
## be deleted if you don't need them. Once you understand the contents of
@@ -13,8 +16,8 @@ Gem::Specification.new do |s|
1316
## If your rubyforge_project name is different, then edit it and comment out
1417
## the sub! line in the Rakefile
1518
s.name = 'email_reply_parser'
16-
s.version = '0.5.2'
17-
s.date = '2012-09-27'
19+
s.version = EmailReplyParser::VERSION
20+
s.date = Time.now.strftime('%Y-%m-%d')
1821
s.rubyforge_project = 'email_reply_parser'
1922

2023
## Make sure your summary is short. The description may be as long

0 commit comments

Comments
 (0)