Let kaminari-core be bundlable
This commit is contained in:
parent
63380896c1
commit
a0748cb68f
|
@ -9,20 +9,11 @@ Gem::Specification.new do |spec|
|
||||||
spec.authors = ["Akira Matsuda"]
|
spec.authors = ["Akira Matsuda"]
|
||||||
spec.email = ["ronnie@dio.jp"]
|
spec.email = ["ronnie@dio.jp"]
|
||||||
|
|
||||||
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
|
spec.summary = 'Kaminari core'
|
||||||
spec.description = %q{TODO: Write a longer description or delete this line.}
|
spec.description = 'Kaminari core'
|
||||||
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
spec.homepage = 'https://github.com/amatsuda/kaminari'
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
|
|
||||||
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
||||||
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
||||||
if spec.respond_to?(:metadata)
|
|
||||||
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
|
||||||
else
|
|
||||||
raise "RubyGems 2.0 or newer is required to protect against " \
|
|
||||||
"public gem pushes."
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
||||||
f.match(%r{^(test|spec|features)/})
|
f.match(%r{^(test|spec|features)/})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue