Strategies for cleaning databases. Can be used to ensure a clean state for testing.
This package was branched from home:ctso in order to ...
move it to d:l:r:e
-
7
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:ruby:extensions/rubygem-database_cleaner && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
database_cleaner-1.6.2.gem | 0000053760 52.5 KB | |
gem2rpm.yml | 0000001632 1.59 KB | |
rubygem-database_cleaner.changes | 0000008033 7.84 KB | |
rubygem-database_cleaner.spec | 0000002017 1.97 KB |
Revision 17 (latest revision is 23)
Hendrik Vogelsang (hennevogel)
accepted
request 546241
from
Eduardo Navarro (enavarro_suse)
(revision 17)
- updated to version 1.6.2 see installed History.rdoc == 1.6.2 2017-10-29 === Bug Fixes * ActiveRecord::Base namespace patch: https://github.com/DatabaseCleaner/database_cleaner/pull/490 * Better exclusion condition based on Rails version: https://github.com/DatabaseCleaner/database_cleaner/pull/487 === Changes * Better documentation. Typos were fixed. Sequel deletion is supported: https://github.com/DatabaseCleaner/database_cleaner/pull/500 - updated to version 1.6.1 see installed History.rdoc == 1.6.1 2017-05-09 === Bug Fixes * Deletion strategy fix for ActiveRecord (@kawamoto) == 1.6.0 2017-05-04 === New Features/Changes * Rails 5.1 support: Remove deprecation warning (@activefx) * MySQL 5.6+ InnoDB support (@ahorek) * Better documentation (fixed typo) (@hoshinotsuyoshi) === Bug Fixes * Fix Redis db option (@soylent) * Make NullStrategy API-complete (@anicholson) == 1.5.3 2016-04-22 === Bug Fixes * @P9GIT fixed issue #436 - updated to version 1.5.3 see installed History.rdoc - updated to version 1.5.2 see installed History.rdoc == 1.5.2 2016-04-17 === New Features/Changes * Use default_client with mongoid 5.0 (@stjhimy) * Added comparable support for strategies (@st0012) * Better README instructions that suggest `append_after` (@jrochkind) * Removed deprecation warnings for Rails 5.0+ (@pschambacher) * Upgrade to RSpec 2.14 (@skalee) === Bug Fixes * @dmitrypol fixed issue #409 * @schmierkov fixed the Travis builds with PR #416 * @shosti fixed issue #345 * @kylev fixed issue #379 * @skalee fixed the Travis builds for Neo4j with PR #433 == 1.5.1 2015-09-05 == Bug Fix * Added mongo2 missing files to the gemspec. (@geerzo) == 1.5.0 2015-09-02 === New Features/Changes * Use ensure within the cleaning method. (@cema-sp) * Restored mysql2 + jruby support. (@ahorek) * Added required ruby version to gemspec. (@garethrees) * Added support for Mongoid 5.0 and Mongo Ruby Driver 2.0. (@jprincipe) * Added support for additional Neo4j::Session.open options. (@brienw) * And a bunch of code style and README improvements === Bug Fixes * Fixed truncation for MongoDB 3. (@andreale) * Fixed YAML error when building gem. (@joshnesbitt) * Fixed deletion strategy for JDBC MySQL. (@DanElbert) * Fixed open transactions for multiple connections. (@claptimes5) - updated to version 1.5.1 see installed History.rdoc - updated to version 1.5.0 see installed History.rdoc - updated to version 1.4.1 - updated to version 1.4.0 === New Features/Changes * Using the deletion strategy with Mysql now only deletes those tables which have had records added to them. (@MadRabbit) * Add support for `pre_count` on Sequel with Mysql. (@vrinek) * Add support for neo4j. (@dpisarewski) * Cache collection names in mongo's truncation strategy. (@nyarly) * Support for mongoid multiple connections. (@nyarly) * Support for deletion with Sequel. (@cyberdelia) === Bug Fixes * Fix `undefined method error` with DataMapper SQLite adaptor. (@lanej) * Fully define Mysql2 adaptor constant. (@jgonera) * Don't truncate schema tables in Postgres. (@billywatson) * Fix issue #284. (@MartinNowak) - adapt to new rubygem packaging style - updated to version 1.3.0 === New Features/Changes * Introduced `DatabaseCleaener::cleaninng` method that takes a block. (@ethco) * Improved Sequel support and added more tests (@ethco, @rhunter) === Bug Fixes * Fixed an issue with the `Transaction` strategy and Active Record where application-level transactions are not rolledback correctly. (Godfrey Chan) * activerecord-oracle_enhanced-adapter now works again (#259, @sockmonk) - updated to version 1.2.0 A huge thanks goes to @tommeier for fixing the bug with class loading that was cuasing the wrong adapters to be used in certain cases. === New Features/Changes * Upgraded RSpec to remove deprecation warnings (John Rowe) * Caching of tables to truncate is now optional (@marcoow) === Bug Fixes * Use class_eval loading of superclasses to ensure right version of class is patched. (Tom Meier, Joel Nimety, Ernesto Tagwerker) * Add truncate_tables method to SQLiteAdapter. (Chris Mo) * Fixes missing #uses_sequence invokation in adapter classes for sqlite and sqlite3 (Lefteris Laskaridis) - updated to version 1.1.1 === Bug Fixes * Fixes typo in Postgres superclass (POSTGRE_ADAPTER_PARENT > POSTGRES_ADAPTER_PARENT) (Joel Nimety) == 1.1.0 2013-08-01 === New Features/Changes * schema_migrations table name is now retrieved from ActiveRecord (Kyle Stevens) * Autoloading logic is now exposed, see PR #212 for details (Jeff Felchner) === Bug Fixes * Deletion strategy works again on MySQL, had to roll back multiple statements patch. * Fix MySqlAdapter superclass bug via class_eval loading of superclasses (Tom Meier) * Sequel strategy fix dealing with symbol/string mismatch on table names. (Fred Wu) - updated to version 1.0.1 === New Features/Changes * Dropping support for Ruby 1.8.x; Only 1.9.x and beyond will be supported going forward. * Now supporting (and testing against ruby 2.0.x). * Adds support for AR 4.0 by using `begin_transaction` (David Chelimsky and Steve Madsen) * Adds Rails 4 support for SQLite3Adapter * Suppport for Moped when used without Mongoid (Cyprian Kowalczyk) * Redis & Ohm support (Hengbin Qiu, James Conroy-Finn) * CI Improvements (Jan Vlnas, Murahashi Sanemat Kenichi, Samer Masry, Jordan Hollinger) * README/Documentation improvements (Marcelo Cajueiro, Donald Ball, TJ Chambers, Nick Huanca, Justin Edwards, Ryota Arai) === Bug Fixes * Fixes transaction errors when using `after_commit` hooks in AR. * Fixes truncation error with SQLite (Daniel White) * Fixes `pre_count` logic in AR Postgres. (Jordan Hollinger) * Sequel fix to normalize all table names to strings. (Lauri Peltola) * #clean_with now works with multiple connections. (John Ferlito) * Always start a AR transaction to prevent nil errors in AR when rolling back (John Hampton, M.Shibuya) - updated to version 0.9.1 - initial package (version 0.8.0)
Comments 0