cats_core 1.5.24 → 1.5.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e90178cd66acd3f96313a3663036ba07bbf157e092e672adc393d840f701cfde
4
- data.tar.gz: 7236c8485554e65bc5058bc600bfe25b38465b5d760823c3e96aec29c37ae951
3
+ metadata.gz: 78f6d9a4f2c81fd8ba524a604d6e8bf4fc8429807bce72b8af05e93b1496c321
4
+ data.tar.gz: ba5e35b1b7b4e6b84ca9fe72ed81a756ae42e5d8b7584b61048586c53cc29d21
5
5
  SHA512:
6
- metadata.gz: 80fff7d2dae7ed8e2d0fe77339bc0dbcd433d1fba6be6083e0c1e3b118c222912a957c0eee129908016a1fd7b25b1f4c4c931b8ef632fe12943d5b5facd620ce
7
- data.tar.gz: '0765604991129318a519ad3960f32a43582f561492972264b027dda9846d87c1255c3009743a3f493386abda67ca9c373184f1d809b06ce5109017a1b96a6da4'
6
+ metadata.gz: 91d369fba469a5457a771c39ebafe8253f8f249609ffeaf4f0c1a953e5a29ec6b7411bfca0b66cb406a2471298b549669a5a8f424f5fbd082121bd199a98d03d
7
+ data.tar.gz: 9bee3cbd46f8255981c1bf9dd338f82783edc82b90f885a4a12d09d983a0aaa38069a9aed56dbc49f162c68559dc45d30e421d8237e2227dcf57ab56d38fdcdd
@@ -5,7 +5,8 @@ module Cats
5
5
 
6
6
  def index
7
7
  super do
8
- StackTransaction.joins({source: :store}, :unit)
8
+ StackTransaction.joins(source: :store)
9
+ .includes(:unit)
9
10
  .where(cats_core_stacks: {cats_core_stores: {warehouse_id: params[:id]}})
10
11
  end
11
12
  end
@@ -0,0 +1,7 @@
1
+ module Cats
2
+ module Core
3
+ class StackTransactionSerializer < ActiveModel::Serializer
4
+ attributes :id, :source_id, :destination_id, :quantity, :transaction_date, :status, :unit_id, :unit_abbreviation
5
+ end
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = "1.5.24".freeze
3
+ VERSION = "1.5.25".freeze
4
4
  end
5
5
  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.5.24
4
+ version: 1.5.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-23 00:00:00.000000000 Z
11
+ date: 2023-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -428,6 +428,7 @@ files:
428
428
  - app/serializers/cats/core/round_plan_serializer.rb
429
429
  - app/serializers/cats/core/route_serializer.rb
430
430
  - app/serializers/cats/core/stack_serializer.rb
431
+ - app/serializers/cats/core/stack_transaction_serializer.rb
431
432
  - app/serializers/cats/core/store_serializer.rb
432
433
  - app/serializers/cats/core/swap_serializer.rb
433
434
  - app/serializers/cats/core/transporter_serializer.rb