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