Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table-specific configuration #64

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Aug 5, 2022

  1. Tell git to ignore all generated fixtures

    Authored-by: Adam Milligan <adam@redish.com>
    Adam Milligan committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    73f397e View commit details
    Browse the repository at this point in the history
  2. Fix tests to run in Rails 7

    Authored-by: Adam Milligan <adam@redish.com>
    Adam Milligan committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    f10531e View commit details
    Browse the repository at this point in the history
  3. Handle nested fixture paths

    Authored-by: Adam Milligan <adam@redish.com>
    Adam Milligan committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    46afe2e View commit details
    Browse the repository at this point in the history
  4. Add per-table configuration options

    Authored-by: Adam Milligan <adam@redish.com>
    Adam Milligan committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    f7da225 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Make naming work with string primary keys

    Authored-by: Adam Milligan <adam@redish.com>
    Adam Milligan committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    af745dc View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Remove date format modification

    ActiveSupport has deprecated passing a format identifier to #to_s for
    date and time types.  Prior to 7.0.7 calling #to_s with no parameters
    would use the `default` format, and the YAML processor calls #to_s on
    all fields when dumping content.  FixtureBuilder was setting the
    `default` format to the ISO8601 format that the database expects, which
    caused the YAML processor to use that content.
    
    As of version 7.0.7 ActiveSupport no longer allows calling #to_s without
    parameters on date/time types if a default option is set.  However, the
    standard default for Date formats is ISO8601, so FixtureBuilder does not
    need to set the default format.  By leaving it unset the YAML dump does
    not trigger the deprecation warning, and the resulting formatted strings
    are still valid for Postgres.
    Adam Milligan committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    7a042cc View commit details
    Browse the repository at this point in the history