Commit 49c9308
authored
* Added newline to end of file and removed unecessary whitespace
* Added basic information for new bank, partner, and associated users
* Added test for function that seeds organization with item with arbitrary name
* Implemented seed_random_item_with_name function
* Added a couple items unique to the new bank
* Updated request units to be seeded for all organizations
* Updated partners to be seeded with variable organizations and associated new partner with new bank
* Added StorageLocations for new bank, fixed typo
* Added Vendors for all orgs and added Purchases for new bank
* Added ProductDrives, ProductDriveParticipants, and Manufacturers for all orgs, removed redundant Product Drives section
* Added Donations and Distributions for the new bank, updating the way storage locations are selected to accommodate there being storage locations for multiple orgs
* Updated CONTRIBUTING.md docs to reflect the newly added bank
* Changes made by linter
* Changed records I updated to generate for all orgs to only generate for pdx_org and sc_org
* Updated bank and storage locations to use Faker
* Forgot to run linter on model files
* Added sections guaranteeing the items unique to the new bank are used for donations, purchases, distributions, and requests
* Added on_hand_minimum_quantity and on_hand_recommended_quantity for the new bank's items, guarantee that at least one of the items unique to the new bank has an inventory less than the recommended quantity
* Changed iterator name to be consistent with other uses of times.each
* Updated CONTRIBUTING.md docs to describe differences of each bank
* Moved seed_random_item_with_name from organization to seeds.rb
1 parent 4138837 commit 49c9308
2 files changed
+451
-276
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
68 | 96 | | |
69 | 97 | | |
| 98 | + | |
70 | 99 | | |
71 | 100 | | |
72 | 101 | | |
| |||
87 | 116 | | |
88 | 117 | | |
89 | 118 | | |
90 | | - | |
91 | | - | |
| 119 | + | |
| 120 | + | |
92 | 121 | | |
93 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
94 | 130 | | |
95 | 131 | | |
96 | 132 | | |
| |||
0 commit comments