Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (23 sloc) 1.234 kB
60aa1c7 @mislav added "encoding: utf-8" to gemspec to appease Ruby 1.9
authored
1 # encoding: utf-8
af48602 @mislav improve cross-platform git check in gemspec
authored
2 require 'rbconfig'
ec33678 @mislav use File.expand_path to require "will_paginate/version" in gemspec
authored
3 require File.expand_path('../lib/will_paginate/version', __FILE__)
77bfb07 @mislav change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
4
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
5 Gem::Specification.new do |s|
6 s.name = 'will_paginate'
77bfb07 @mislav change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
7 s.version = WillPaginate::VERSION::STRING
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
8
c7768f5 @mislav the big v3.0
authored
9 s.summary = "Pagination plugin for web frameworks and other apps"
10 s.description = "will_paginate provides a simple API for performing paginated queries with Active Record, DataMapper and Sequel, and includes helpers for rendering pagination links in Rails, Sinatra and Merb web apps."
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
11
37b5bfa @mislav pre-release v3.0.pre for Rails 3
authored
12 s.authors = ['Mislav Marohnić']
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
13 s.email = 'mislav.marohnic@gmail.com'
c7768f5 @mislav the big v3.0
authored
14 s.homepage = 'https://github.com/mislav/will_paginate/wiki'
0da1688 @jordimassaguerpla add license information to gemspec
jordimassaguerpla authored
15 s.license = 'MIT'
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
16
c7768f5 @mislav the big v3.0
authored
17 s.rdoc_options = ['--main', 'README.md', '--charset=UTF-8']
18 s.extra_rdoc_files = ['README.md', 'LICENSE']
3334327 @mislav add gemspec file. change rake manifest to auto-update the gemspec. ge…
authored
19
fccbb0b @mislav don't require git on the system for the gemspec
authored
20 s.files = Dir['Rakefile', '{bin,lib,test,spec}/**/*', 'README*', 'LICENSE*']
af48602 @mislav improve cross-platform git check in gemspec
authored
21
22 # include only files in version control
23 git_dir = File.expand_path('../.git', __FILE__)
24 void = defined?(File::NULL) ? File::NULL :
25 RbConfig::CONFIG['host_os'] =~ /msdos|mswin|djgpp|mingw/ ? 'NUL' : '/dev/null'
26
27 if File.directory?(git_dir) and system "git --version >>#{void} 2>&1"
28 s.files &= `git --git-dir='#{git_dir}' ls-files -z`.split("\0")
29 end
77bfb07 @mislav change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
30 end
Something went wrong with that request. Please try again.