Skip to content

Commit 89631f7

Browse files
committed
Remove timestamp from non-release versions
1 parent 575566a commit 89631f7

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/doc/
22
/pkg/
33
/tmp/
4+
.rbx
45
.#*
56
.DS_Store
67
*.dSYM

History.rdoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
=== 0.4.3 / 2012-??-??
2+
3+
* The gemspec no longer includes the timestamp in the version, so that bundler can pull from github. (Reported by corneverbruggen)
4+
15
=== 0.4.2 / 2012-02-22
26

37
* Some compatibility fixes for Rails 3.2. (Reported by Nicholas Zaillian and Ryan Williams with implementation help from Radek Paviensky.)

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ RAKEFILE_CONFIG = {} unless defined?(::RAKEFILE_CONFIG)
4646
require 'rubygems'
4747
gemspec_ = eval(::File.read(::Dir.glob('*.gemspec').first))
4848
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$/, '')
5050

5151

5252
# Platform info
@@ -149,6 +149,7 @@ clean_files_ = [doc_directory_, pkg_directory_, tmp_directory_] +
149149
::Dir.glob('ext/**/Makefile*') +
150150
::Dir.glob('ext/**/*.{o,class,log,dSYM}') +
151151
::Dir.glob("**/*.{bundle,so,dll,rbc,jar}") +
152+
::Dir.glob('**/.rbx') +
152153
(::RAKEFILE_CONFIG[:extra_clean_files] || [])
153154
task :clean do
154155
clean_files_.each{ |path_| rm_rf path_ }

Version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.2
1+
0.4.3

activerecord-mysql2spatial-adapter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
s_.name = 'activerecord-mysql2spatial-adapter'
3838
s_.summary = 'An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and the mysql2 gem.'
3939
s_.description = "This is an ActiveRecord connection adapter for MySQL Spatial Extensions. It is based on the stock MySQL2 adapter, but provides built-in support for spatial columns. It uses the RGeo library to represent spatial data in Ruby."
40-
s_.version = "#{::File.read('Version').strip}.build#{::Time.now.utc.strftime('%Y%m%d%H%M%S')}"
40+
s_.version = "#{::File.read('Version').strip}.nonrelease"
4141
s_.author = 'Daniel Azuma'
4242
s_.email = 'dazuma@gmail.com'
4343
s_.homepage = "http://dazuma.github.com/activerecord-mysql2spatial-adapter"

0 commit comments

Comments
 (0)