mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
34 lines
1.4 KiB
Ruby
34 lines
1.4 KiB
Ruby
|
|
lib = File.expand_path("../lib", __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require "database_cleaner/data_mapper/version"
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "database_cleaner-data_mapper"
|
|
spec.version = DatabaseCleaner::DataMapper::VERSION
|
|
spec.authors = ["Ernesto Tagwerker"]
|
|
spec.email = ["ernesto@ombulabs.com"]
|
|
|
|
spec.summary = "Strategies for cleaning databases using DataMapper. Can be used to ensure a clean state for testing."
|
|
spec.description = "Strategies for cleaning databases using DataMapper. Can be used to ensure a clean state for testing."
|
|
spec.homepage = "https://github.com/DatabaseCleaner/database_cleaner-data_mapper"
|
|
spec.license = "MIT"
|
|
|
|
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_dependency "database_cleaner", "~> 1.8.0"
|
|
spec.add_dependency "datamapper"
|
|
spec.add_dependency "dm-transactions"
|
|
|
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
spec.add_development_dependency "bundler", "~> 1.16"
|
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
|
|
spec.add_development_dependency "dm-sqlite-adapter"
|
|
# spec.add_development_dependency "dm-migrations"
|
|
end
|