cats_core 1.0.38 → 1.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/cats/core/hrp.rb +1 -1
- data/app/models/cats/core/hrp_item_detail.rb +0 -1
- data/db/migrate/20210717031810_create_cats_core_hrps.rb +1 -1
- data/db/migrate/20210717032240_create_cats_core_hrp_item_details.rb +0 -4
- data/lib/cats/core/version.rb +1 -1
- data/spec/factories/cats/core/hrp_item_details.rb +0 -1
- metadata +1 -4
- data/app/models/cats/core/hrp_ration.rb +0 -10
- data/db/migrate/20210717032106_create_cats_core_hrp_rations.rb +0 -17
- data/spec/factories/cats/core/hrp_rations.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbd96f5c771c2adceaa0d3c058ba5643b6e38189b4a5afdfbe666affab5a3c36
|
4
|
+
data.tar.gz: b55e4ab59388139d7c591194059f001af370df848077f446640ec3e1dc25f975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0812bb8e9484cc6dd7f375434c294e7f82320999a9a3ae7a5793c6ede1592fe9eefe50895892895cabe240d1c0fa12197dd9bf2479e1f816d8d31f3c98fe7575'
|
7
|
+
data.tar.gz: dc903f04dddb57c08c4c80c0a3c0135b85254a12bc634414a96eab76bdb39c85cf96e2f37abf47d4853b084651a843d45bd42b5cf2771d0667fdab152e260569
|
data/app/models/cats/core/hrp.rb
CHANGED
@@ -5,10 +5,6 @@ class CreateCatsCoreHrpItemDetails < ActiveRecord::Migration[6.1]
|
|
5
5
|
null: false,
|
6
6
|
index: { name: 'hi_on_hid_indx' },
|
7
7
|
foreign_key: { to_table: :cats_core_hrp_items }
|
8
|
-
t.references :hrp_ration,
|
9
|
-
null: false,
|
10
|
-
index: { name: 'hr_on_hid_indx' },
|
11
|
-
foreign_key: { to_table: :cats_core_hrp_rations }
|
12
8
|
t.references :ration_item,
|
13
9
|
null: false,
|
14
10
|
index: { name: 'ri_on_hid_indx' },
|
data/lib/cats/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cats_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
@@ -243,7 +243,6 @@ files:
|
|
243
243
|
- app/models/cats/core/hrp.rb
|
244
244
|
- app/models/cats/core/hrp_item.rb
|
245
245
|
- app/models/cats/core/hrp_item_detail.rb
|
246
|
-
- app/models/cats/core/hrp_ration.rb
|
247
246
|
- app/models/cats/core/location.rb
|
248
247
|
- app/models/cats/core/menu.rb
|
249
248
|
- app/models/cats/core/menu_item.rb
|
@@ -296,7 +295,6 @@ files:
|
|
296
295
|
- db/migrate/20210717031343_create_cats_core_ration_items.rb
|
297
296
|
- db/migrate/20210717031810_create_cats_core_hrps.rb
|
298
297
|
- db/migrate/20210717032024_create_cats_core_hrp_items.rb
|
299
|
-
- db/migrate/20210717032106_create_cats_core_hrp_rations.rb
|
300
298
|
- db/migrate/20210717032240_create_cats_core_hrp_item_details.rb
|
301
299
|
- db/migrate/20210717032330_create_cats_core_donations.rb
|
302
300
|
- db/migrate/20210717032602_create_cats_core_gift_certificates.rb
|
@@ -333,7 +331,6 @@ files:
|
|
333
331
|
- spec/factories/cats/core/gift_certificates.rb
|
334
332
|
- spec/factories/cats/core/hrp_item_details.rb
|
335
333
|
- spec/factories/cats/core/hrp_items.rb
|
336
|
-
- spec/factories/cats/core/hrp_rations.rb
|
337
334
|
- spec/factories/cats/core/hrps.rb
|
338
335
|
- spec/factories/cats/core/locations.rb
|
339
336
|
- spec/factories/cats/core/menu_items.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreateCatsCoreHrpRations < ActiveRecord::Migration[6.1]
|
2
|
-
def change
|
3
|
-
create_table :cats_core_hrp_rations do |t|
|
4
|
-
t.references :hrp,
|
5
|
-
null: false,
|
6
|
-
index: { name: 'hrp_on_hr_indx' },
|
7
|
-
foreign_key: { to_table: :cats_core_hrps }
|
8
|
-
t.references :ration,
|
9
|
-
null: false,
|
10
|
-
index: { name: 'ration_on_hr_indx' },
|
11
|
-
foreign_key: { to_table: :cats_core_rations }
|
12
|
-
|
13
|
-
t.timestamps
|
14
|
-
end
|
15
|
-
add_index(:cats_core_hrp_rations, :hrp_id, unique: true)
|
16
|
-
end
|
17
|
-
end
|