2009-03-04 23:48:20 -05:00
|
|
|
Gem::Specification.new do |s|
|
2012-10-11 11:56:57 -04:00
|
|
|
s.name = "database_cleaner"
|
2014-12-22 04:39:47 -05:00
|
|
|
s.version = "1.4.0"
|
2009-03-04 23:48:20 -05:00
|
|
|
|
2013-05-13 23:22:49 -04:00
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
2014-12-22 04:39:47 -05:00
|
|
|
s.require_paths = ["lib"]
|
2012-06-03 00:48:43 -04:00
|
|
|
s.authors = ["Ben Mabey"]
|
2015-01-02 15:14:04 -05:00
|
|
|
s.date = "2015-01-02"
|
2012-10-11 11:56:57 -04:00
|
|
|
s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
|
|
|
|
s.email = "ben@benmabey.com"
|
2009-04-30 23:35:23 -04:00
|
|
|
s.extra_rdoc_files = [
|
|
|
|
"LICENSE",
|
2012-12-10 22:53:03 -05:00
|
|
|
"README.markdown",
|
2012-10-11 11:56:57 -04:00
|
|
|
"TODO"
|
2009-04-30 23:35:23 -04:00
|
|
|
]
|
|
|
|
s.files = [
|
2014-12-22 04:39:47 -05:00
|
|
|
"CONTRIBUTE.markdown",
|
2010-08-22 17:14:50 -04:00
|
|
|
"Gemfile.lock",
|
2013-05-15 10:49:59 -04:00
|
|
|
"History.rdoc",
|
2012-12-10 22:53:03 -05:00
|
|
|
"README.markdown",
|
2012-10-11 11:56:57 -04:00
|
|
|
"Rakefile",
|
|
|
|
"VERSION.yml",
|
|
|
|
"cucumber.yml",
|
|
|
|
"examples/Gemfile",
|
|
|
|
"examples/Gemfile.lock",
|
|
|
|
"examples/config/database.yml.example",
|
2013-05-13 23:22:49 -04:00
|
|
|
"examples/config/redis.yml",
|
2012-10-11 11:56:57 -04:00
|
|
|
"examples/db/sqlite_databases_go_here",
|
|
|
|
"examples/features/example.feature",
|
|
|
|
"examples/features/example_multiple_db.feature",
|
|
|
|
"examples/features/example_multiple_orm.feature",
|
|
|
|
"examples/features/step_definitions/activerecord_steps.rb",
|
|
|
|
"examples/features/step_definitions/couchpotato_steps.rb",
|
|
|
|
"examples/features/step_definitions/datamapper_steps.rb",
|
|
|
|
"examples/features/step_definitions/mongoid_steps.rb",
|
|
|
|
"examples/features/step_definitions/mongomapper_steps.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"examples/features/step_definitions/neo4j_steps.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"examples/features/step_definitions/translation_steps.rb",
|
|
|
|
"examples/features/support/env.rb",
|
|
|
|
"examples/lib/activerecord_models.rb",
|
|
|
|
"examples/lib/couchpotato_models.rb",
|
|
|
|
"examples/lib/datamapper_models.rb",
|
|
|
|
"examples/lib/mongoid_models.rb",
|
|
|
|
"examples/lib/mongomapper_models.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"examples/lib/neo4j_models.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"examples/lib/ohm_models.rb",
|
|
|
|
"examples/lib/redis_models.rb",
|
2015-01-02 15:14:04 -05:00
|
|
|
"examples/lib/sequel_models.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"features/cleaning.feature",
|
|
|
|
"features/cleaning_default_strategy.feature",
|
|
|
|
"features/cleaning_multiple_dbs.feature",
|
|
|
|
"features/cleaning_multiple_orms.feature",
|
|
|
|
"features/step_definitions/database_cleaner_steps.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"features/step_definitions/ohm_steps.rb",
|
|
|
|
"features/step_definitions/redis_steps.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"features/support/env.rb",
|
|
|
|
"features/support/feature_runner.rb",
|
|
|
|
"lib/database_cleaner.rb",
|
|
|
|
"lib/database_cleaner/active_record/base.rb",
|
|
|
|
"lib/database_cleaner/active_record/deletion.rb",
|
|
|
|
"lib/database_cleaner/active_record/transaction.rb",
|
|
|
|
"lib/database_cleaner/active_record/truncation.rb",
|
|
|
|
"lib/database_cleaner/base.rb",
|
|
|
|
"lib/database_cleaner/configuration.rb",
|
|
|
|
"lib/database_cleaner/couch_potato/base.rb",
|
|
|
|
"lib/database_cleaner/couch_potato/truncation.rb",
|
|
|
|
"lib/database_cleaner/cucumber.rb",
|
|
|
|
"lib/database_cleaner/data_mapper/base.rb",
|
|
|
|
"lib/database_cleaner/data_mapper/transaction.rb",
|
|
|
|
"lib/database_cleaner/data_mapper/truncation.rb",
|
|
|
|
"lib/database_cleaner/generic/base.rb",
|
|
|
|
"lib/database_cleaner/generic/transaction.rb",
|
|
|
|
"lib/database_cleaner/generic/truncation.rb",
|
|
|
|
"lib/database_cleaner/mongo/base.rb",
|
|
|
|
"lib/database_cleaner/mongo/truncation.rb",
|
|
|
|
"lib/database_cleaner/mongo/truncation_mixin.rb",
|
|
|
|
"lib/database_cleaner/mongo_mapper/base.rb",
|
|
|
|
"lib/database_cleaner/mongo_mapper/truncation.rb",
|
|
|
|
"lib/database_cleaner/mongoid/base.rb",
|
|
|
|
"lib/database_cleaner/mongoid/truncation.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"lib/database_cleaner/moped/base.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"lib/database_cleaner/moped/truncation.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"lib/database_cleaner/moped/truncation_base.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"lib/database_cleaner/neo4j/base.rb",
|
|
|
|
"lib/database_cleaner/neo4j/deletion.rb",
|
|
|
|
"lib/database_cleaner/neo4j/transaction.rb",
|
|
|
|
"lib/database_cleaner/neo4j/truncation.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"lib/database_cleaner/null_strategy.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"lib/database_cleaner/ohm/truncation.rb",
|
|
|
|
"lib/database_cleaner/redis/base.rb",
|
|
|
|
"lib/database_cleaner/redis/truncation.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"lib/database_cleaner/sequel/base.rb",
|
2014-08-13 16:59:09 -04:00
|
|
|
"lib/database_cleaner/sequel/deletion.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"lib/database_cleaner/sequel/transaction.rb",
|
|
|
|
"lib/database_cleaner/sequel/truncation.rb",
|
2011-01-16 17:23:21 -05:00
|
|
|
"spec/database_cleaner/active_record/base_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/active_record/transaction_spec.rb",
|
|
|
|
"spec/database_cleaner/active_record/truncation/mysql2_spec.rb",
|
|
|
|
"spec/database_cleaner/active_record/truncation/mysql_spec.rb",
|
|
|
|
"spec/database_cleaner/active_record/truncation/postgresql_spec.rb",
|
|
|
|
"spec/database_cleaner/active_record/truncation/shared_fast_truncation.rb",
|
2013-10-09 11:30:25 -04:00
|
|
|
"spec/database_cleaner/active_record/truncation/sqlite3_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/active_record/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/base_spec.rb",
|
|
|
|
"spec/database_cleaner/configuration_spec.rb",
|
|
|
|
"spec/database_cleaner/couch_potato/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/data_mapper/base_spec.rb",
|
|
|
|
"spec/database_cleaner/data_mapper/transaction_spec.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"spec/database_cleaner/data_mapper/truncation/sqlite3_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/data_mapper/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/generic/base_spec.rb",
|
|
|
|
"spec/database_cleaner/generic/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/mongo/mongo_examples.rb",
|
|
|
|
"spec/database_cleaner/mongo/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/mongo_mapper/base_spec.rb",
|
|
|
|
"spec/database_cleaner/mongo_mapper/mongo_examples.rb",
|
|
|
|
"spec/database_cleaner/mongo_mapper/truncation_spec.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"spec/database_cleaner/moped/moped_examples.rb",
|
|
|
|
"spec/database_cleaner/moped/truncation_spec.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"spec/database_cleaner/neo4j/base_spec.rb",
|
|
|
|
"spec/database_cleaner/neo4j/transaction_spec.rb",
|
2013-05-13 23:22:49 -04:00
|
|
|
"spec/database_cleaner/ohm/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/redis/base_spec.rb",
|
|
|
|
"spec/database_cleaner/redis/truncation_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/sequel/base_spec.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"spec/database_cleaner/sequel/deletion_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/sequel/transaction_spec.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"spec/database_cleaner/sequel/truncation/sqlite3_spec.rb",
|
2012-10-11 11:56:57 -04:00
|
|
|
"spec/database_cleaner/sequel/truncation_spec.rb",
|
|
|
|
"spec/database_cleaner/shared_strategy.rb",
|
|
|
|
"spec/rcov.opts",
|
|
|
|
"spec/spec_helper.rb",
|
|
|
|
"spec/support/active_record/database_setup.rb",
|
|
|
|
"spec/support/active_record/mysql2_setup.rb",
|
|
|
|
"spec/support/active_record/mysql_setup.rb",
|
|
|
|
"spec/support/active_record/postgresql_setup.rb",
|
2013-10-09 11:30:25 -04:00
|
|
|
"spec/support/active_record/schema_setup.rb",
|
2014-12-22 04:39:47 -05:00
|
|
|
"spec/support/active_record/sqlite3_setup.rb",
|
|
|
|
"spec/support/data_mapper/schema_setup.rb",
|
|
|
|
"spec/support/data_mapper/sqlite3_setup.rb"
|
2009-04-30 23:35:23 -04:00
|
|
|
]
|
2015-01-27 08:01:20 -05:00
|
|
|
s.homepage = "http://github.com/DatabaseCleaner/database_cleaner"
|
2015-01-02 15:14:04 -05:00
|
|
|
s.rubygems_version = "2.4.5"
|
2012-10-11 11:56:57 -04:00
|
|
|
s.summary = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
|
2014-12-22 04:39:47 -05:00
|
|
|
|
2009-03-04 23:48:20 -05:00
|
|
|
if s.respond_to? :specification_version then
|
2014-12-22 04:39:47 -05:00
|
|
|
s.specification_version = 4
|
2013-03-04 05:06:10 -05:00
|
|
|
|
2014-12-22 04:39:47 -05:00
|
|
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
|
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<json_pure>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<activerecord-mysql2-adapter>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<activerecord>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<datamapper>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<dm-migrations>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<mongoid>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<tzinfo>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<mongo_ext>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<bson_ext>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<mongoid-tree>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<mongo_mapper>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<moped>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<neo4j-core>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<couch_potato>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<sequel>, ["~> 3.21.0"])
|
|
|
|
s.add_development_dependency(%q<mysql>, ["~> 2.8.1"])
|
|
|
|
s.add_development_dependency(%q<mysql2>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<pg>, [">= 0"])
|
|
|
|
s.add_development_dependency(%q<ohm>, ["~> 0.1.3"])
|
|
|
|
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
|
|
|
else
|
|
|
|
s.add_dependency(%q<rake>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
|
|
|
s.add_dependency(%q<bundler>, [">= 0"])
|
|
|
|
s.add_dependency(%q<json_pure>, [">= 0"])
|
|
|
|
s.add_dependency(%q<activerecord-mysql2-adapter>, [">= 0"])
|
|
|
|
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
|
|
s.add_dependency(%q<datamapper>, [">= 0"])
|
|
|
|
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
|
|
|
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongoid>, [">= 0"])
|
|
|
|
s.add_dependency(%q<tzinfo>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongo_ext>, [">= 0"])
|
|
|
|
s.add_dependency(%q<bson_ext>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongoid-tree>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongo_mapper>, [">= 0"])
|
|
|
|
s.add_dependency(%q<moped>, [">= 0"])
|
|
|
|
s.add_dependency(%q<neo4j-core>, [">= 0"])
|
|
|
|
s.add_dependency(%q<couch_potato>, [">= 0"])
|
|
|
|
s.add_dependency(%q<sequel>, ["~> 3.21.0"])
|
|
|
|
s.add_dependency(%q<mysql>, ["~> 2.8.1"])
|
|
|
|
s.add_dependency(%q<mysql2>, [">= 0"])
|
|
|
|
s.add_dependency(%q<pg>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ohm>, ["~> 0.1.3"])
|
|
|
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
|
|
|
end
|
|
|
|
else
|
|
|
|
s.add_dependency(%q<rake>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
|
|
|
s.add_dependency(%q<bundler>, [">= 0"])
|
|
|
|
s.add_dependency(%q<json_pure>, [">= 0"])
|
|
|
|
s.add_dependency(%q<activerecord-mysql2-adapter>, [">= 0"])
|
|
|
|
s.add_dependency(%q<activerecord>, [">= 0"])
|
|
|
|
s.add_dependency(%q<datamapper>, [">= 0"])
|
|
|
|
s.add_dependency(%q<dm-migrations>, [">= 0"])
|
|
|
|
s.add_dependency(%q<dm-sqlite-adapter>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongoid>, [">= 0"])
|
|
|
|
s.add_dependency(%q<tzinfo>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongo_ext>, [">= 0"])
|
|
|
|
s.add_dependency(%q<bson_ext>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongoid-tree>, [">= 0"])
|
|
|
|
s.add_dependency(%q<mongo_mapper>, [">= 0"])
|
|
|
|
s.add_dependency(%q<moped>, [">= 0"])
|
|
|
|
s.add_dependency(%q<neo4j-core>, [">= 0"])
|
|
|
|
s.add_dependency(%q<couch_potato>, [">= 0"])
|
|
|
|
s.add_dependency(%q<sequel>, ["~> 3.21.0"])
|
|
|
|
s.add_dependency(%q<mysql>, ["~> 2.8.1"])
|
|
|
|
s.add_dependency(%q<mysql2>, [">= 0"])
|
|
|
|
s.add_dependency(%q<pg>, [">= 0"])
|
|
|
|
s.add_dependency(%q<ohm>, ["~> 0.1.3"])
|
|
|
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
|
|
|
end
|
2009-03-04 23:48:20 -05:00
|
|
|
end
|