Permalink
Browse files

added WillPaginate::VERSION

  • Loading branch information...
1 parent 3bda0ba commit 9afc5e83dc2e6cd0ce49b184a50ba6858524e474 @mislav committed Apr 7, 2008
Showing with 17 additions and 3 deletions.
  1. +2 −2 .gitignore
  2. +1 −0 .manifest
  3. +5 −1 Rakefile
  4. +9 −0 lib/will_paginate/version.rb
View
@@ -1,3 +1,3 @@
-/pkg/
-/doc/
+/doc
/rails
+*.gem
View
@@ -17,6 +17,7 @@ lib/will_paginate/core_ext.rb
lib/will_paginate/finder.rb
lib/will_paginate/named_scope.rb
lib/will_paginate/named_scope_patch.rb
+lib/will_paginate/version.rb
lib/will_paginate/view_helpers.rb
test
test/boot.rb
View
@@ -54,7 +54,11 @@ end
desc 'Generate RDoc documentation for the will_paginate plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
files = ['README.rdoc', 'LICENSE']
- files << FileList.new('lib/**/*.rb').exclude('lib/will_paginate/named_scope*').exclude('lib/will_paginate/array.rb')
+ files << FileList.new('lib/**/*.rb').
+ exclude('lib/will_paginate/named_scope*').
+ exclude('lib/will_paginate/array.rb').
+ exclude('lib/will_paginate/version.rb')
+
rdoc.rdoc_files.add(files)
rdoc.main = "README.rdoc" # page to start on
rdoc.title = "will_paginate documentation"
@@ -0,0 +1,9 @@
+module WillPaginate #:nodoc:
+ module VERSION #:nodoc:
+ MAJOR = 2
+ MINOR = 2
+ TINY = 0
+
+ STRING = [MAJOR, MINOR, TINY].join('.')
+ end
+end

0 comments on commit 9afc5e8

Please sign in to comment.