Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove timestamp from non-release versions

  • Loading branch information...
commit 7e76eb3c10b7e1f3c5a634e827c15c9f55d516ef 1 parent e2c16d4
Daniel Azuma authored July 05, 2012
4  History.rdoc
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+=== 0.4.5 / 2012-??-??
  2
+
  3
+* The gemspec no longer includes the timestamp in the version, so that bundler can pull from github. (Reported by corneverbruggen)
  4
+
1 5
 === 0.4.4 / 2012-06-27
2 6
 
3 7
 * Tried to be a little more robust against incomplete psych installations.
2  Rakefile
@@ -46,7 +46,7 @@ RAKEFILE_CONFIG = {} unless defined?(::RAKEFILE_CONFIG)
46 46
 require 'rubygems'
47 47
 gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
48 48
 release_gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
49  
-release_gemspec_.version = gemspec_.version.to_s.sub(/\.build\d+$/, '')
  49
+release_gemspec_.version = gemspec_.version.to_s.sub(/\.nonrelease$/, '')
50 50
 
51 51
 
52 52
 # Platform info
2  Version
... ...
@@ -1 +1 @@
1  
-0.4.4
  1
+0.4.5
2  versionomy.gemspec
@@ -40,7 +40,7 @@
40 40
   s_.name = 'versionomy'
41 41
   s_.summary = 'Versionomy is a generalized version number library.'
42 42
   s_.description = 'Versionomy is a generalized version number library. It provides tools to represent, manipulate, parse, and compare version numbers in the wide variety of versioning schemes in use.'
43  
-  s_.version = "#{::File.read('Version').strip}.build#{::Time.now.utc.strftime('%Y%m%d%H%M%S')}"
  43
+  s_.version = "#{::File.read('Version').strip}.nonrelease"
44 44
   s_.author = 'Daniel Azuma'
45 45
   s_.email = 'dazuma@gmail.com'
46 46
   s_.homepage = 'http://dazuma.github.com/versionomy'

0 notes on commit 7e76eb3

Please sign in to comment.
Something went wrong with that request. Please try again.