Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 22, 2011
  1. @bmabey

    releases v0.6.7

    bmabey authored
Commits on Mar 24, 2011
  1. @bmabey

    release candidate v0.6.7.RC

    bmabey authored
  2. @bmabey

    history

    bmabey authored
  3. @johnf @bmabey

    Cache the connection we use to clean the DB with (Take 2)

    johnf authored bmabey committed
    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. @johnf @bmabey

    Cache the connection we use to clean the DB with

    johnf authored bmabey committed
    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. @bmabey

    updates history

    bmabey authored
  2. @voxik @bmabey

    Explicitly require ERB

    voxik authored bmabey committed
Commits on Mar 17, 2011
  1. @bmabey

    releases v0.6.6

    bmabey authored
  2. @bmabey

    history

    bmabey authored
  3. @bmabey

    Merge pull request #52 from greg-barnett/database_cleaner

    bmabey authored
    ---
    
    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 authored
    …h version 10+
Commits on Mar 15, 2011
  1. @bmabey

    history

    bmabey authored
  2. @bmabey

    Merge pull request #51 from ewollesen/database_cleaner

    bmabey authored
    ---
    
    The array passed does not belong to us, and so we should dup it before we modify it (via append in this case).
  3. @ewollesen
Commits on Mar 9, 2011
  1. @bmabey

    releases v0.6.5

    bmabey authored
  2. @bmabey

    Version bump to 0.6.5

    bmabey authored
  3. @bmabey

    credit

    bmabey authored
  4. @bmabey

    Merge pull request #48 from naumov/database_cleaner

    bmabey authored
    ---
    
    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. @bmabey
  6. @bmabey

    credit

    bmabey authored
  7. @bmabey

    Merge pull request #49 from greg-barnett/database_cleaner

    bmabey authored
    ---
    
    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.
  8. reset sequences when truncating in postgresql

    Greg Barnett authored
Commits on Feb 28, 2011
  1. @naumov
Commits on Feb 21, 2011
  1. @bmabey

    releases 0.6.4

    bmabey authored
  2. @bmabey

    credit

    bmabey authored
  3. @bernerdschaefer

    Don't attempt to truncate postgres views

    bernerdschaefer authored
    This ensures that only proper tables are truncated, rather than
    attempting to truncate views (which isn't possible).
Commits on Feb 9, 2011
  1. @bmabey

    releases v0.6.3

    bmabey authored
  2. @bmabey

    credit

    bmabey authored
  3. @bmabey

    Version bump to 0.6.3

    bmabey authored
Commits on Feb 7, 2011
  1. @mghaught
  2. @mghaught

    Added configurable logger

    mghaught authored
Commits on Feb 4, 2011
  1. @bmabey
  2. @bmabey

    releases v0.6.2

    bmabey authored
Something went wrong with that request. Please try again.