comee_core 0.2.59 → 0.2.60

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: f2c3e7d7089bb604a50c7d102d77df12fbfda4cabe67b4329864bdb8039e5938
4
- data.tar.gz: 26808c3d8636d02619a306090cf3d360e3c3e8f784774279c717e24a5f869ccd
3
+ metadata.gz: bf2a038860b8510f876109ece2bd8b805b17f3daeb20c13cebfb9b5e9af3329c
4
+ data.tar.gz: 25517d12bce6ab946a9cbc2edc6102b34c5e9458c1197f661060c65b7f9523a7
5
5
  SHA512:
6
- metadata.gz: 4f9fd27d598570509720066cf3258e3a6368fdd7e7454273ea8fbe8d0aa9eaab3e847f83fa0aad072950c0dea0fcd74546f1c09d05cbe7bf80e20d539e17b2db
7
- data.tar.gz: 57014da5e8ca68845cb68a0dea2108f28c2ffad0651064f02ec10dec12eb801acaa455e3fccaa8e55e3e2ebfff247e85a3becdb78174f67eaacaea1a1beacba0
6
+ metadata.gz: 692be3876a190479f7a2d0cecc6d8e5b9fbfeeb5cd936ed2db37e2035a6f0b907eb7979ccf47c29d1030009d939b4b6eb10e913036440ec03896bf3eff646321
7
+ data.tar.gz: 145d9b19082364fd6541a2a3456cbae38292854be28b5cdca125a3d65865f9a0121fa78799d5f7c164036b3905c5c3ca4bd19fa9b1808f82d03e796d91fe3fdb
@@ -23,6 +23,28 @@ module Comee
23
23
  purchase_requisition.total_price = purchase_requisition.calculate_total_price
24
24
  purchase_requisition.save!
25
25
  end
26
+
27
+ def self.ransackable_attributes(_auth_object = nil)
28
+ %w[
29
+ delivery_date
30
+ id
31
+ price
32
+ processing_status
33
+ product_id
34
+ purchase_order_item_id
35
+ purchase_requisition_id
36
+ quantity
37
+ supplier_id
38
+ total_price
39
+ unit_id
40
+ created_at
41
+ updated_at
42
+ ]
43
+ end
44
+
45
+ def self.ransackable_associations(_auth_object = nil)
46
+ []
47
+ end
26
48
  end
27
49
  end
28
50
  end
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.2.59".freeze
3
+ VERSION = "0.2.60".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comee_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.59
4
+ version: 0.2.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.