Skip to content

Commit

Permalink
read version number from "will_paginate/version.rb" when building gem
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jan 22, 2010
1 parent 262419f commit 3d531e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion will_paginate.gemspec
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 3d531e1

Please sign in to comment.