modernize gemspec.

This commit is contained in:
Micah Geisel 2020-02-01 14:48:34 -08:00 committed by Micah Geisel
parent 17b292b13e
commit fbab24e50f
2 changed files with 5 additions and 19 deletions

3
TODO
View file

@ -1,3 +0,0 @@
Could be more Datamapper
MongoMapper multiple db support
CouchDB multiple db support

View file

@ -14,22 +14,11 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/DatabaseCleaner/database_cleaner"
spec.license = "MIT"
spec.files = [
"CONTRIBUTE.markdown",
"Gemfile.lock",
"History.rdoc",
"README.markdown",
"Rakefile",
"cucumber.yml"]
spec.files += Dir['lib/**/*.rb']
spec.files += Dir['adapters/**/lib/**/*.rb']
spec.extra_rdoc_files = [
"LICENSE",
"README.markdown",
"TODO"
]
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "rake"