Permalink
Commits on Apr 22, 2011
  1. releases v0.6.7

    bmabey committed Apr 22, 2011
Commits on Mar 24, 2011
  1. release candidate v0.6.7.RC

    bmabey committed Mar 24, 2011
  2. history

    bmabey committed Mar 24, 2011
  3. Cache the connection we use to clean the DB with (Take 2)

    johnf committed with bmabey Mar 24, 2011
    The connection caching was a little bit too liberal and was caching
    across databases (I think). No we just grab it when we enter clean.
    
    Added an iterator so there isn't too much code duplication between
    delete and truncate.
  4. Cache the connection we use to clean the DB with

    johnf committed with bmabey Mar 24, 2011
    Due to pools etc eveything we called connection_klass.connection we
    would get a different connection. I hit a bug using multiple DBs where
    eventually the connection that did the referential integrity would not
    exist anymore and then everything would fail when it tried to reset the
    foreign keys.
Commits on Mar 21, 2011
  1. updates history

    bmabey committed Mar 21, 2011
  2. Explicitly require ERB

    voxik committed with bmabey Mar 21, 2011
Commits on Mar 17, 2011
  1. releases v0.6.6

    bmabey committed Mar 17, 2011
  2. history

    bmabey committed Mar 17, 2011
  3. Merge pull request #52 from greg-barnett/database_cleaner

    bmabey committed Mar 17, 2011
    ---
    
    The first commit works, for versions of postgresql up to 9.*
    
    The second should work for any and all future versions of postgresql, as long as the implementation of postgresql_version in ActiveRecord doesnt change...
  4. Using built in postgresql_version - should be forwards compatible wit…

    Greg Barnett committed Mar 17, 2011
    …h version 10+
Commits on Mar 15, 2011
  1. history

    bmabey committed Mar 15, 2011
  2. Merge pull request #51 from ewollesen/database_cleaner

    bmabey committed Mar 15, 2011
    ---
    
    The array passed does not belong to us, and so we should dup it before we modify it (via append in this case).
  3. Do not modify the array of tables names to except; it does not belong…

    Eric Wollesen committed Mar 15, 2011
    … to us.
Commits on Mar 9, 2011
  1. releases v0.6.5

    bmabey committed Mar 9, 2011
  2. Version bump to 0.6.5

    bmabey committed Mar 9, 2011
  3. credit

    bmabey committed Mar 9, 2011
  4. Merge pull request #48 from naumov/database_cleaner

    bmabey committed Mar 9, 2011
    ---
    
    As described here http://www.mongodb.org/display/DOCS/Mongo+Metadata MongoDb system collections starts with system. <-- notice the dot at the end, not just with system.
    
    This is important becouse when I have system_admins collection in my database it is not truncated. :(
    
    So here is a fix for that case.
  5. credit

    bmabey committed Mar 9, 2011
  6. Merge pull request #49 from greg-barnett/database_cleaner

    bmabey committed Mar 9, 2011
    ---
    
    This solves the following issue:  when truncating in postgresql, the sequences are not reset.
    
    If you have a test that depends on records getting specific ids when created, the test could fail.
  7. reset sequences when truncating in postgresql

    Greg Barnett committed Mar 9, 2011
Commits on Feb 28, 2011
Commits on Feb 21, 2011
  1. releases 0.6.4

    bmabey committed Feb 21, 2011
  2. credit

    bmabey committed Feb 21, 2011
  3. Don't attempt to truncate postgres views

    bernerdschaefer committed Feb 21, 2011
    This ensures that only proper tables are truncated, rather than
    attempting to truncate views (which isn't possible).
Commits on Feb 9, 2011
  1. releases v0.6.3

    bmabey committed Feb 9, 2011
  2. credit

    bmabey committed Feb 9, 2011
  3. Version bump to 0.6.3

    bmabey committed Feb 9, 2011
Commits on Feb 7, 2011
  1. Added configurable logger

    mghaught committed Feb 7, 2011
Commits on Feb 4, 2011
  1. releases v0.6.2

    bmabey committed Feb 4, 2011