Permalink
Browse files

read version number from "will_paginate/version.rb" when building gem

  • Loading branch information...
1 parent 262419f commit 3d531e169db92a16a9a8974f0ae6edf52e52659e @mislav mislav committed Jan 22, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 will_paginate.gemspec
View
@@ -1,6 +1,8 @@
+require File.expand_path('../lib/will_paginate/version', __FILE__)
+
Gem::Specification.new do |gem|
gem.name = 'will_paginate'
- gem.version = '2.3.12'
+ gem.version = WillPaginate::VERSION::STRING
gem.date = Date.today.to_s
gem.summary = "Pagination for Rails"

0 comments on commit 3d531e1

Please sign in to comment.