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

#4217 kit factory refactor #4585

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Commits on Aug 8, 2024

  1. Update bundler version

    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7a351cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ceec002 View commit details
    Browse the repository at this point in the history
  3. REFACTOR replace kit :with_item with KitCreateService, hard code rspec

    * Replace :with_item trait with calls to KitCreateService to make it easy
      to change line_item itemizable behavior later
    * Remove unnecessary :with_item traits
    * Hard code all rspecs matching against kit values, finishes rubyforgood#4217 for kits
    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    4e1bc8b View commit details
    Browse the repository at this point in the history
  4. FIX typo in params in donation and purchase controllers

    * Another typo in docs
    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7cabfa6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1109170 View commit details
    Browse the repository at this point in the history
  6. REFACTOR rename Item:kits scope to :housing_a_kit, add rspecs

    * Clearer name
    * Add rspecs to test :housing_a_kit and :loose scopes
    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    b9b8755 View commit details
    Browse the repository at this point in the history
  7. REFACTOR DRY up kit base_item, seed_base_items, prevent kit base_item…

    … deletion
    
    * Move seed_base_items code into one static function
    * Move kit base item creation code into one static function
    * Add code to prevent calling destroy on kit base item and corresponding rspec
    * Added comments - not sure about whether other base item request specs are useful or what the purpose of destroy is in the controller if it can't be called
    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8c18e42 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e1e2c31 View commit details
    Browse the repository at this point in the history
  9. Fix lint

    jimmyli97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7f166cc View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

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

Commits on Aug 15, 2024

  1. REFACTOR remove unused code childrenservedreportservice

    * All SQL code is duplicated in AcquisitionReportService
    * RSpec is close enough to what is in AcquisitionReportService Spec that it can be removed without merging in
      (only difference is Diapers - Adult Briefs category is not created, but that shouldn't matter
      because the SQL looks for %diaper% so this category isn't testing anything different)
    jimmyli97 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    141d959 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    080721e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e26f441 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    a111f74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81c99af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b4da7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04917ba View commit details
    Browse the repository at this point in the history
  5. Revert "REFACTOR DRY up kit base_item, seed_base_items, prevent kit b…

    …ase_item deletion"
    
    This reverts commit 8c18e42.
    jimmyli97 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    e4de92c View commit details
    Browse the repository at this point in the history
  6. Revert "Add rspec for item.is_in_kit?"

    This reverts commit e1e2c31.
    jimmyli97 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    96b3ceb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af1dfd5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6b50518 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    730371a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51f0585 View commit details
    Browse the repository at this point in the history