KEMBAR78
Comparing v2.2.0...v2.2.2 · DatabaseCleaner/database_cleaner-active_record · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DatabaseCleaner/database_cleaner-active_record
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.0
Choose a base ref
...
head repository: DatabaseCleaner/database_cleaner-active_record
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.2
Choose a head ref
  • 15 commits
  • 24 files changed
  • 8 contributors

Commits on Jul 12, 2024

  1. Fix appraisals (#111)

    Remove 5.x and 6.0 appraisals
    tagliala authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    af3b015 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    d34716a View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. truncate_option to allow CASCADE mode alongside the default RESTRICT (

    #118)
    
    * Add option to specify CASCADE and RESTRICT for Truncation strategy
    
    * Add tests for truncate_option
    
    ---------
    
    Co-authored-by: Naoko Nishimura <naoko.nishimura1018@gmail.com>
    pat and nnishimura authored May 13, 2025
    Configuration menu
    Copy the full SHA
    a164b66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0ac16a View commit details
    Browse the repository at this point in the history
  3. Bump version to v2.2.1

    etagwerker committed May 13, 2025
    Configuration menu
    Copy the full SHA
    912acbe View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. Fix CI and improve contribute instructions (#123)

    * Fix db cleaner core version to match the other repo
    
    * Fix "uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger" error
    
    * Add CONTRIBUTE.md and docker-compose file with databases setup
    
    * Update changelog
    arielj authored Jul 7, 2025
    Configuration menu
    Copy the full SHA
    d519bf4 View commit details
    Browse the repository at this point in the history
  2. Provide a 'Changelog' link on rubygems.org/gems/database_cleaner-acti…

    …ve_record (#114)
    
    * Provide a 'Changelog' link on rubygems.org/gems/database_cleaner-active_record
    
    By providing a 'changelog_uri' in the metadata of the gemspec a
    'Changelog' link will be shown on https://rubygems.org/gems/database_cleaner-active_record
    which makes it quick and easy for someone to check on the changes
    introduced with a new version.
    
    Details of this functionality can be found on https://guides.rubygems.org/specification-reference/
    
    * Put an entry in Changelog
    
    ---------
    
    Co-authored-by: Ernesto Tagwerker <ernesto+github@ombulabs.com>
    mark-young-atg and etagwerker authored Jul 7, 2025
    Configuration menu
    Copy the full SHA
    e260a10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f288cf View commit details
    Browse the repository at this point in the history
  4. Update changelog

    arielj committed Jul 7, 2025
    Configuration menu
    Copy the full SHA
    2913916 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #124 from DatabaseCleaner/fix-truncated-tables-exp…

    …ectation-order
    
    [Fix] Expect truncated tables in any order, and handle postgres extra table
    arielj authored Jul 7, 2025
    Configuration menu
    Copy the full SHA
    3748bab View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2025

  1. [Feature][DX] Add Docker Configuration for Development (#109)

    * Fixes #120
    
    * Add docker configuration for development
    
    This makes it easier to run the test suite in your local dev environment
    
    * Add a development section for contributors
    
    This should make it easier for people to set up the library and run the test suite within Docker
    
    * Added ruby service to make it easier to get started with your contribution
    
    * Update password to match Docker configuration
    
    * Removed outdated docker-compose file
    
    * Use older mysql to avoid trilogy error, fix docker compose and instructions, mount code for easier development
    
    * Update readme to point to CONTRIBUTE.md file
    
    * Run ./bin/setup so that we have the config file in place for tests
    
    * Relax dependency
    
    * Add a line about the Docker + DX change
    
    ---------
    
    Co-authored-by: Ariel Juodziukynas <arieljuod@gmail.com>
    etagwerker and arielj authored Jul 30, 2025
    Configuration menu
    Copy the full SHA
    c5551f2 View commit details
    Browse the repository at this point in the history
  2. release_connection after cleaning (#122)

    For Rails >= 7.2, this library gets a connection via
    `#lease_connection`. But it never releases the connection. Release the
    connection back to the pool after `#clean`-ing.
    
    Rails >= 7.2 does connection health checks / reconnect on connection
    checkout. If the connection is never checked back into the pool, it will
    never get "repaired", which makes testing database connection issues
    tricky.
    nerdrew authored Jul 30, 2025
    Configuration menu
    Copy the full SHA
    988ccc3 View commit details
    Browse the repository at this point in the history
  3. Fixes Issue #120 (#121)

    * Fixes #120
    
    * Add a reference to #121
    
    * Patch test expectation
    
    * [Feature][DX] Add Docker Configuration for Development (#109)
    
    * Fixes #120
    
    * Add docker configuration for development
    
    This makes it easier to run the test suite in your local dev environment
    
    * Add a development section for contributors
    
    This should make it easier for people to set up the library and run the test suite within Docker
    
    * Added ruby service to make it easier to get started with your contribution
    
    * Update password to match Docker configuration
    
    * Removed outdated docker-compose file
    
    * Use older mysql to avoid trilogy error, fix docker compose and instructions, mount code for easier development
    
    * Update readme to point to CONTRIBUTE.md file
    
    * Run ./bin/setup so that we have the config file in place for tests
    
    * Relax dependency
    
    * Add a line about the Docker + DX change
    
    ---------
    
    Co-authored-by: Ariel Juodziukynas <arieljuod@gmail.com>
    
    * release_connection after cleaning (#122)
    
    For Rails >= 7.2, this library gets a connection via
    `#lease_connection`. But it never releases the connection. Release the
    connection back to the pool after `#clean`-ing.
    
    Rails >= 7.2 does connection health checks / reconnect on connection
    checkout. If the connection is never checked back into the pool, it will
    never get "repaired", which makes testing database connection issues
    tricky.
    
    * Add a reference to #121
    
    * Change expectation to allow for a cascade option
    
    ---------
    
    Co-authored-by: Ariel Juodziukynas <arieljuod@gmail.com>
    Co-authored-by: Andrew Lazarus <nerdrew@gmail.com>
    3 people authored Jul 30, 2025
    Configuration menu
    Copy the full SHA
    f625783 View commit details
    Browse the repository at this point in the history
  4. Cut release v2.2.2

    etagwerker committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    874dea9 View commit details
    Browse the repository at this point in the history
  5. Bump version to v2.2.2

    etagwerker committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    3fc0196 View commit details
    Browse the repository at this point in the history
Loading