Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (23 sloc) 1.234 kb
60aa1c7 Mislav Marohnić added "encoding: utf-8" to gemspec to appease Ruby 1.9
authored
1 # encoding: utf-8
af48602 Mislav Marohnić improve cross-platform git check in gemspec
authored
2 require 'rbconfig'
ec33678 Mislav Marohnić use File.expand_path to require "will_paginate/version" in gemspec
authored
3 require File.expand_path('../lib/will_paginate/version', __FILE__)
77bfb07 Mislav Marohnić change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
4
3334327 Mislav Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
5 Gem::Specification.new do |s|
6 s.name = 'will_paginate'
77bfb07 Mislav Marohnić change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
7 s.version = WillPaginate::VERSION::STRING
3334327 Mislav Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
8
c7768f5 Mislav Marohnić 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 Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
11
37b5bfa Mislav Marohnić pre-release v3.0.pre for Rails 3
authored
12 s.authors = ['Mislav Marohnić']
3334327 Mislav Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
13 s.email = 'mislav.marohnic@gmail.com'
c7768f5 Mislav Marohnić the big v3.0
authored
14 s.homepage = 'https://github.com/mislav/will_paginate/wiki'
0da1688 Jordi Massaguer Pla add license information to gemspec
jordimassaguerpla authored
15 s.license = 'MIT'
3334327 Mislav Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
16
c7768f5 Mislav Marohnić 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 Marohnić add gemspec file. change rake manifest to auto-update the gemspec. get r...
authored
19
fccbb0b Mislav Marohnić don't require git on the system for the gemspec
authored
20 s.files = Dir['Rakefile', '{bin,lib,test,spec}/**/*', 'README*', 'LICENSE*']
af48602 Mislav Marohnić 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 Marohnić change WillPaginate::VERSION to "3.0.pre"; cleanup gemspec
authored
30 end
Something went wrong with that request. Please try again.