cats_core 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/cats/core/commodity.rb +1 -3
  3. data/app/models/cats/core/currency.rb +8 -0
  4. data/app/models/cats/core/donation.rb +18 -0
  5. data/app/models/cats/core/gift_certificate.rb +2 -2
  6. data/app/models/cats/core/hrp.rb +16 -0
  7. data/app/models/cats/core/hrp_item.rb +12 -0
  8. data/app/models/cats/core/operator.rb +8 -0
  9. data/app/models/cats/core/purchase_order.rb +11 -0
  10. data/app/models/cats/core/ration.rb +12 -0
  11. data/app/models/cats/core/supplier.rb +8 -0
  12. data/db/migrate/{20210717043620_create_cats_core_locations.rb → 20210716183620_create_cats_core_locations.rb} +0 -0
  13. data/db/migrate/20210716185529_create_cats_core_currencies.rb +10 -0
  14. data/db/migrate/20210716210635_create_cats_core_operators.rb +13 -0
  15. data/db/migrate/20210716210905_create_cats_core_suppliers.rb +14 -0
  16. data/db/migrate/20210717031216_create_cats_core_rations.rb +19 -0
  17. data/db/migrate/20210717031810_create_cats_core_hrps.rb +20 -0
  18. data/db/migrate/20210717032024_create_cats_core_hrp_items.rb +22 -0
  19. data/db/migrate/20210717032330_create_cats_core_donations.rb +24 -0
  20. data/db/migrate/20210717032602_create_cats_core_gift_certificates.rb +8 -6
  21. data/db/migrate/20210717032855_create_cats_core_purchase_orders.rb +21 -0
  22. data/db/migrate/20210717033223_create_cats_core_commodities.rb +1 -14
  23. data/lib/cats/core/version.rb +1 -1
  24. data/spec/factories/cats/core/commodities.rb +0 -4
  25. data/spec/factories/cats/core/currencies.rb +6 -0
  26. data/spec/factories/cats/core/donations.rb +11 -0
  27. data/spec/factories/cats/core/gift_certificates.rb +2 -2
  28. data/spec/factories/cats/core/hrp_items.rb +9 -0
  29. data/spec/factories/cats/core/hrps.rb +10 -0
  30. data/spec/factories/cats/core/locations.rb +5 -0
  31. data/spec/factories/cats/core/operators.rb +9 -0
  32. data/spec/factories/cats/core/purchase_orders.rb +10 -0
  33. data/spec/factories/cats/core/rations.rb +8 -0
  34. data/spec/factories/cats/core/suppliers.rb +10 -0
  35. metadata +27 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83b352120340d746a9cdd10bb03f065b560d88ec99857b3e4f297c959918b0ac
4
- data.tar.gz: 9433d430ece366eaae1a8ccae7ea5b3f2121f1675e96ab7540cb8a48e32a49f9
3
+ metadata.gz: 38525dbc996619fc301d108816acab2e97b65362a5feca9251a6c112b53dc3c6
4
+ data.tar.gz: 465da29b3725b9f51bd9b9b34857e5b4edfefeaaf24f7d8b7b3cffbd485067c7
5
5
  SHA512:
6
- metadata.gz: 8019ad075a42c451fb67f96e668a2522ad2d70a37e1359d3d373b939f1f54a81645a411eac0fff361a9815334db2ab6fc659279201239d4e7e1ef9fdddf29898
7
- data.tar.gz: c066e25b734a56afe9a7c9558204dcd8b42107ab7e858c74275211ad46439aaee7829f48a2d4941a1f62eaf9f51763b804107c8d40344ab7a92d7433b35edf94
6
+ metadata.gz: 02b4f3b1693f0eb5a1e4108861a65f0a27a8852682a80a9ee62060cdc58d28849258e9c518909a850157eec2bd963a50bd7cedd6a6439ffbb9dc3e62c175b761
7
+ data.tar.gz: e6a6d7d6d7af63671e28ae6f48d8128811e5bc04125a70c2027aae0d5604478ff3c0ea056cb33a12b8c0e6105b7db1eea762f2fbd187365c55e3be0738c60b7c
@@ -6,12 +6,10 @@ module Cats
6
6
  DAMAGED = 'Damaged'.freeze
7
7
  COMMODITY_STATUSES = [GOOD, DAMAGED].freeze
8
8
 
9
- belongs_to :commodity_category
10
- belongs_to :donor
11
- belongs_to :program
12
9
  belongs_to :unit_of_measure
13
10
  belongs_to :source, polymorphic: true
14
11
 
12
+ validates :best_use_before, presence: true
15
13
  validates :quantity, presence: true, numericality: { greater_than: 0 }
16
14
  validates :volume_per_metric_ton, numericality: { greater_than: 0, allow_nil: true }
17
15
  end
@@ -0,0 +1,8 @@
1
+ module Cats
2
+ module Core
3
+ class Currency < ApplicationRecord
4
+ validates :code, :name, presence: true
5
+ validates :code, uniqueness: true
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,18 @@
1
+ module Cats
2
+ module Core
3
+ class Donation < ApplicationRecord
4
+ FUND = 'Fund'.freeze
5
+ KIND = 'Kind'.freeze
6
+ DONATION_TYPES = [FUND, KIND].freeze
7
+
8
+ belongs_to :donor
9
+ belongs_to :hrp
10
+ belongs_to :currency, optional: true
11
+
12
+ validates :reference_no, :donation_type, :donated_on, presence: true
13
+ validates :reference_no, uniqueness: true
14
+ validates :donation_type, inclusion: { in: DONATION_TYPES }
15
+ validates :currency, :amount, presence: true, if: -> { donation_type == FUND }
16
+ end
17
+ end
18
+ end
@@ -1,8 +1,8 @@
1
1
  module Cats
2
2
  module Core
3
3
  class GiftCertificate < ApplicationRecord
4
- belongs_to :program
5
- belongs_to :donor
4
+ belongs_to :donation
5
+ belongs_to :commodity_category
6
6
 
7
7
  validates :reference_no, presence: true, uniqueness: true
8
8
  validates :gift_date, presence: true
@@ -0,0 +1,16 @@
1
+ module Cats
2
+ module Core
3
+ class Hrp < ApplicationRecord
4
+ DRAFT = 'Draft'.freeze
5
+ APPROVED = 'Approved'.freeze
6
+ STATUSES = [DRAFT, APPROVED].freeze
7
+
8
+ belongs_to :program
9
+ belongs_to :ration
10
+
11
+ validates :reference_no, :year, :season, :status, presence: true
12
+ validates :reference_no, uniqueness: true
13
+ validates :status, inclusion: { in: STATUSES }
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,12 @@
1
+ module Cats
2
+ module Core
3
+ class HrpItem < ApplicationRecord
4
+ belongs_to :hrp
5
+ belongs_to :woreda, -> { where(location_type: Cats::Core::Location::WOREDA) }, class_name: 'Cats::Core::Location'
6
+ belongs_to :operator
7
+
8
+ validates :beneficiaries, presence: true, numericality: { greater_than: 0 }
9
+ validates :commodity_amount, presence: true, numericality: { greater_than: 0 }
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,8 @@
1
+ module Cats
2
+ module Core
3
+ class Operator < ApplicationRecord
4
+ validates :code, :name, :contact_name, :contact_phone, presence: true
5
+ validates :code, uniqueness: true
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ module Cats
2
+ module Core
3
+ class PurchaseOrder < ApplicationRecord
4
+ belongs_to :donation
5
+ belongs_to :commodity_category
6
+
7
+ validates :reference_no, :order_date, :supplier, presence: true
8
+ validates :reference_no, uniqueness: true
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,12 @@
1
+ module Cats
2
+ module Core
3
+ class Ration < ApplicationRecord
4
+ belongs_to :program
5
+ belongs_to :commodity_category
6
+
7
+ validates :reference_no, :amount, presence: true
8
+ validates :reference_no, uniqueness: true
9
+ validates :amount, numericality: { greater_than: 0 }
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,8 @@
1
+ module Cats
2
+ module Core
3
+ class Supplier < ApplicationRecord
4
+ validates :code, :name, :contact_name, :contact_phone, presence: true
5
+ validates :code, uniqueness: true
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,10 @@
1
+ class CreateCatsCoreCurrencies < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_currencies do |t|
4
+ t.string :code, unique: true
5
+ t.string :name, null: false
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,13 @@
1
+ class CreateCatsCoreOperators < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_operators do |t|
4
+ t.string :code, unique: true
5
+ t.string :name, null: false
6
+ t.string :description
7
+ t.string :contact_name, null: false
8
+ t.string :contact_phone, null: false
9
+
10
+ t.timestamps
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ class CreateCatsCoreSuppliers < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_suppliers do |t|
4
+ t.string :code, unique: true
5
+ t.string :name, null: false
6
+ t.string :description
7
+ t.string :address
8
+ t.string :contact_name, null: false
9
+ t.string :contact_phone, null: false
10
+
11
+ t.timestamps
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,19 @@
1
+ class CreateCatsCoreRations < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_rations do |t|
4
+ t.string :reference_no, unique: true
5
+ t.references :program,
6
+ null: false,
7
+ index: { name: 'program_on_ration_indx' },
8
+ foreign_key: { to_table: :cats_core_programs }
9
+ t.references :commodity_category,
10
+ null: false,
11
+ index: { name: 'cc_on_ration_indx' },
12
+ foreign_key: { to_table: :cats_core_commodity_categories }
13
+ t.float :amount, null: false
14
+ t.boolean :current, null: false, default: true
15
+
16
+ t.timestamps
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ class CreateCatsCoreHrps < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_hrps do |t|
4
+ t.string :reference_no, unique: true
5
+ t.integer :year, null: false
6
+ t.string :season, null: false
7
+ t.string :status, null: false, default: 'Draft'
8
+ t.references :program,
9
+ null: false,
10
+ index: { name: 'program_on_hrp_indx' },
11
+ foreign_key: { to_table: :cats_core_programs }
12
+ t.references :ration,
13
+ null: false,
14
+ index: { name: 'ration_on_hrp_indx' },
15
+ foreign_key: { to_table: :cats_core_rations }
16
+
17
+ t.timestamps
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,22 @@
1
+ class CreateCatsCoreHrpItems < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_hrp_items do |t|
4
+ t.references :hrp,
5
+ null: false,
6
+ index: { name: 'hrp_on_hrp_items_indx' },
7
+ foreign_key: { to_table: :cats_core_hrps }
8
+ t.references :woreda,
9
+ null: false,
10
+ index: { name: 'woreda_on_hrp_items_idnx' },
11
+ foreign_key: { to_table: :cats_core_locations }
12
+ t.integer :beneficiaries, null: false
13
+ t.float :commodity_amount, null: false
14
+ t.references :operator,
15
+ null: false,
16
+ index: { name: 'operator_on_hrp_items_indx' },
17
+ foreign_key: { to_table: :cats_core_operators }
18
+
19
+ t.timestamps
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,24 @@
1
+ class CreateCatsCoreDonations < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_donations do |t|
4
+ t.string :reference_no, unique: true
5
+ t.string :donation_type, null: false
6
+ t.date :donated_on, null: false
7
+ t.references :donor,
8
+ null: false,
9
+ index: { name: 'donor_on_donation_indx' },
10
+ foreign_key: { to_table: :cats_core_donors }
11
+ t.references :hrp,
12
+ null: false,
13
+ index: { name: 'hrp_on_donation_indx' },
14
+ foreign_key: { to_table: :cats_core_hrps }
15
+ t.float :amount
16
+ t.references :currency,
17
+ null: true,
18
+ index: { name: 'currency_on_donation_indx' },
19
+ foreign_key: { to_table: :cats_core_currencies }
20
+
21
+ t.timestamps
22
+ end
23
+ end
24
+ end
@@ -3,14 +3,16 @@ class CreateCatsCoreGiftCertificates < ActiveRecord::Migration[6.1]
3
3
  create_table :cats_core_gift_certificates do |t|
4
4
  t.string :reference_no, unique: true
5
5
  t.date :gift_date, null: false
6
- t.references :program,
6
+
7
+ t.references :donation,
7
8
  null: false,
8
- index: { name: 'gc_on_program_indx' },
9
- foreign_key: { to_table: :cats_core_programs }
10
- t.references :donor,
9
+ index: { name: 'gc_on_donation_indx' },
10
+ foreign_key: { to_table: :cats_core_donations }
11
+ t.references :commodity_category,
11
12
  null: false,
12
- index: { name: 'gc_on_donor_indx' },
13
- foreign_key: { to_table: :cats_core_donors }
13
+ index: { name: 'gc_on_cc_indx' },
14
+ foreign_key: { to_table: :cats_core_commodity_categories }
15
+
14
16
  t.string :vessel
15
17
  t.string :port
16
18
  t.string :customs_declaration_no
@@ -0,0 +1,21 @@
1
+ class CreateCatsCorePurchaseOrders < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :cats_core_purchase_orders do |t|
4
+ t.string :reference_no, unique: true
5
+ t.date :order_date, null: false
6
+ t.string :requisition_no
7
+ t.string :supplier, null: false
8
+
9
+ t.references :donation,
10
+ null: false,
11
+ index: { name: 'po_on_donation_indx' },
12
+ foreign_key: { to_table: :cats_core_donations }
13
+ t.references :commodity_category,
14
+ null: false,
15
+ index: { name: 'po_on_cc_indx' },
16
+ foreign_key: { to_table: :cats_core_commodity_categories }
17
+
18
+ t.timestamps
19
+ end
20
+ end
21
+ end
@@ -1,18 +1,6 @@
1
1
  class CreateCatsCoreCommodities < ActiveRecord::Migration[6.1]
2
2
  def change
3
3
  create_table :cats_core_commodities do |t|
4
- t.references :commodity_category,
5
- null: false,
6
- index: { name: 'cc_on_commodities_indx' },
7
- foreign_key: { to_table: :cats_core_commodity_categories }
8
- t.references :donor,
9
- null: false,
10
- index: { name: 'donor_on_commodities_indx' },
11
- foreign_key: { to_table: :cats_core_donors }
12
- t.references :program,
13
- null: false,
14
- index: { name: 'program_on_commodities_indx' },
15
- foreign_key: { to_table: :cats_core_programs}
16
4
  t.references :unit_of_measure,
17
5
  null: false,
18
6
  index: { name: 'uom_on_commodities_indx' },
@@ -20,8 +8,7 @@ class CreateCatsCoreCommodities < ActiveRecord::Migration[6.1]
20
8
  t.references :source, polymorphic: true
21
9
  t.float :quantity, null: false
22
10
  t.string :description
23
- t.boolean :hazardous, null: false, default: false
24
- t.date :best_use_before
11
+ t.date :best_use_before, null: false
25
12
  t.float :volume_per_metric_ton
26
13
 
27
14
  t.timestamps
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.0.15'.freeze
3
+ VERSION = '1.0.16'.freeze
4
4
  end
5
5
  end
@@ -1,13 +1,9 @@
1
1
  FactoryBot.define do
2
2
  factory :commodity, class: 'Cats::Core::Commodity' do
3
- commodity_category
4
3
  description { FFaker::Name.name }
5
- donor
6
- program
7
4
  unit_of_measure
8
5
  source factory: :gift_certificate
9
6
  quantity { 100 }
10
- hazardous { false }
11
7
  best_use_before { Date.today + 2.month }
12
8
  volume_per_metric_ton { 10 }
13
9
  end
@@ -0,0 +1,6 @@
1
+ FactoryBot.define do
2
+ factory :currency, class: 'Cats::Core::Currency' do
3
+ code { FFaker::Name.name }
4
+ name { FFaker::Name.name }
5
+ end
6
+ end
@@ -0,0 +1,11 @@
1
+ FactoryBot.define do
2
+ factory :donation, class: 'Cats::Core::Donation' do
3
+ reference_no { FFaker::Name.name }
4
+ donation_type { Cats::Core::Donation::KIND }
5
+ donated_on { Date.today }
6
+ donor
7
+ hrp
8
+ amount { nil }
9
+ currency { nil }
10
+ end
11
+ end
@@ -2,8 +2,8 @@ FactoryBot.define do
2
2
  factory :gift_certificate, class: 'Cats::Core::GiftCertificate' do
3
3
  reference_no { FFaker::Name.name }
4
4
  gift_date { Date.today - 1.month }
5
- program
6
- donor
5
+ donation
6
+ commodity_category
7
7
  vessel { FFaker::Name.name }
8
8
  port { FFaker::Name.name }
9
9
  customs_declaration_no { FFaker::Name.name }
@@ -0,0 +1,9 @@
1
+ FactoryBot.define do
2
+ factory :hrp_item, class: 'Cats::Core::HrpItem' do
3
+ hrp
4
+ woreda
5
+ beneficiaries { 100 }
6
+ commodity_amount { 100 }
7
+ operator
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ FactoryBot.define do
2
+ factory :hrp, class: 'Cats::Core::Hrp' do
3
+ reference_no { FFaker::Name.name }
4
+ year { 1 }
5
+ season { FFaker::Name.name }
6
+ status { Cats::Core::Hrp::DRAFT }
7
+ program
8
+ ration
9
+ end
10
+ end
@@ -9,4 +9,9 @@ FactoryBot.define do
9
9
  location_type { Cats::Core::Location::WAREHOUSE }
10
10
  parent
11
11
  end
12
+
13
+ factory :woreda, parent: :location, class: 'Cats::Core::Location' do
14
+ location_type { Cats::Core::Location::WOREDA }
15
+ parent
16
+ end
12
17
  end
@@ -0,0 +1,9 @@
1
+ FactoryBot.define do
2
+ factory :operator, class: 'Cats::Core::Operator' do
3
+ code { FFaker::Name.name }
4
+ name { FFaker::Name.name }
5
+ description { FFaker::Name.name }
6
+ contact_name { FFaker::Name.name }
7
+ contact_phone { FFaker::Name.name }
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ FactoryBot.define do
2
+ factory :purchase_order, class: 'Cats::Core::PurchaseOrder' do
3
+ reference_no { FFaker::Name.name }
4
+ order_date { Date.today }
5
+ requisition_no { FFaker::Name.name }
6
+ supplier { FFaker::Name.name }
7
+ donation
8
+ commodity_category
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ FactoryBot.define do
2
+ factory :ration, class: 'Cats::Core::Ration' do
3
+ reference_no { FFaker::Name.name }
4
+ program
5
+ commodity_category
6
+ amount { 1.5 }
7
+ end
8
+ end
@@ -0,0 +1,10 @@
1
+ FactoryBot.define do
2
+ factory :supplier, class: 'Cats::Core::Supplier' do
3
+ code { FFaker::Name.name }
4
+ name { FFaker::Name.name }
5
+ description { FFaker::Name.name }
6
+ address { FFaker::Name.name }
7
+ contact_name { FFaker::Name.name }
8
+ contact_phone { FFaker::Name.name }
9
+ end
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-16 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -228,15 +228,22 @@ files:
228
228
  - app/models/cats/core/commodity.rb
229
229
  - app/models/cats/core/commodity_allocation.rb
230
230
  - app/models/cats/core/commodity_category.rb
231
+ - app/models/cats/core/currency.rb
231
232
  - app/models/cats/core/dispatch.rb
232
233
  - app/models/cats/core/dispatch_transaction.rb
234
+ - app/models/cats/core/donation.rb
233
235
  - app/models/cats/core/donor.rb
234
236
  - app/models/cats/core/gift_certificate.rb
237
+ - app/models/cats/core/hrp.rb
238
+ - app/models/cats/core/hrp_item.rb
235
239
  - app/models/cats/core/location.rb
236
240
  - app/models/cats/core/menu.rb
237
241
  - app/models/cats/core/menu_item.rb
238
242
  - app/models/cats/core/notification.rb
243
+ - app/models/cats/core/operator.rb
239
244
  - app/models/cats/core/program.rb
245
+ - app/models/cats/core/purchase_order.rb
246
+ - app/models/cats/core/ration.rb
240
247
  - app/models/cats/core/receipt.rb
241
248
  - app/models/cats/core/receipt_transaction.rb
242
249
  - app/models/cats/core/role.rb
@@ -245,6 +252,7 @@ files:
245
252
  - app/models/cats/core/stack_transaction.rb
246
253
  - app/models/cats/core/stacking_rule.rb
247
254
  - app/models/cats/core/store.rb
255
+ - app/models/cats/core/supplier.rb
248
256
  - app/models/cats/core/transaction.rb
249
257
  - app/models/cats/core/transporter.rb
250
258
  - app/models/cats/core/unit_of_measure.rb
@@ -264,10 +272,18 @@ files:
264
272
  - db/migrate/20210716124953_create_cats_core_commodity_categories.rb
265
273
  - db/migrate/20210716145125_create_cats_core_unit_of_measures.rb
266
274
  - db/migrate/20210716151230_create_cats_core_programs.rb
275
+ - db/migrate/20210716183620_create_cats_core_locations.rb
276
+ - db/migrate/20210716185529_create_cats_core_currencies.rb
277
+ - db/migrate/20210716210635_create_cats_core_operators.rb
278
+ - db/migrate/20210716210905_create_cats_core_suppliers.rb
267
279
  - db/migrate/20210717031108_create_cats_core_donors.rb
280
+ - db/migrate/20210717031216_create_cats_core_rations.rb
281
+ - db/migrate/20210717031810_create_cats_core_hrps.rb
282
+ - db/migrate/20210717032024_create_cats_core_hrp_items.rb
283
+ - db/migrate/20210717032330_create_cats_core_donations.rb
268
284
  - db/migrate/20210717032602_create_cats_core_gift_certificates.rb
285
+ - db/migrate/20210717032855_create_cats_core_purchase_orders.rb
269
286
  - db/migrate/20210717033223_create_cats_core_commodities.rb
270
- - db/migrate/20210717043620_create_cats_core_locations.rb
271
287
  - db/migrate/20210717140855_create_cats_core_stores.rb
272
288
  - db/migrate/20210717171101_create_cats_core_stacks.rb
273
289
  - db/migrate/20210718042749_create_cats_core_transporters.rb
@@ -288,15 +304,22 @@ files:
288
304
  - spec/factories/cats/core/commodities.rb
289
305
  - spec/factories/cats/core/commodity_allocations.rb
290
306
  - spec/factories/cats/core/commodity_categories.rb
307
+ - spec/factories/cats/core/currencies.rb
291
308
  - spec/factories/cats/core/dispatch_transactions.rb
292
309
  - spec/factories/cats/core/dispatches.rb
310
+ - spec/factories/cats/core/donations.rb
293
311
  - spec/factories/cats/core/donors.rb
294
312
  - spec/factories/cats/core/gift_certificates.rb
313
+ - spec/factories/cats/core/hrp_items.rb
314
+ - spec/factories/cats/core/hrps.rb
295
315
  - spec/factories/cats/core/locations.rb
296
316
  - spec/factories/cats/core/menu_items.rb
297
317
  - spec/factories/cats/core/menus.rb
298
318
  - spec/factories/cats/core/notifications.rb
319
+ - spec/factories/cats/core/operators.rb
299
320
  - spec/factories/cats/core/programs.rb
321
+ - spec/factories/cats/core/purchase_orders.rb
322
+ - spec/factories/cats/core/rations.rb
300
323
  - spec/factories/cats/core/receipt_transactions.rb
301
324
  - spec/factories/cats/core/receipts.rb
302
325
  - spec/factories/cats/core/role_menus.rb
@@ -305,6 +328,7 @@ files:
305
328
  - spec/factories/cats/core/stacking_rules.rb
306
329
  - spec/factories/cats/core/stacks.rb
307
330
  - spec/factories/cats/core/stores.rb
331
+ - spec/factories/cats/core/suppliers.rb
308
332
  - spec/factories/cats/core/transporters.rb
309
333
  - spec/factories/cats/core/unit_of_measures.rb
310
334
  - spec/factories/cats/core/users.rb