comee_core 0.2.64 → 0.2.66

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: ca4755432982ba697d3236d65ed86a2317737314dea2f033a27a7c03a7ea5976
4
- data.tar.gz: b912a3ebb89f069a56d79213cdfa357aeb5e2493d4a4dd653a2c700766d79ce3
3
+ metadata.gz: '08eafbd527a2e26dd5f2bbd1adf4b6193acd3db3d9e8a711c096569e250e53eb'
4
+ data.tar.gz: 24fd5cc126138d563474c3496a0288f9fcea8e340c7dff77128727d8fcba9543
5
5
  SHA512:
6
- metadata.gz: 3542dec7b64a87e4afdb1a426f000f6f08a4ecb1cc732ff03c1160740b61bd1b104e570dd65e7cb272a20f313d41bd8282e47598a7c108e1f0cff6ec1ae63194
7
- data.tar.gz: 5816871ea7262b3c5040b3984dfa31bd9d0e607f08f783bf1cc61d070714abdb6acc94a8520b2f2e66e1c042da9d87cbcd015de061e920097b078e004ae74585
6
+ metadata.gz: 93639ac659fba9efd15d4f937d47a2eac80ad168766b6f9d64b9d6714dbe38f46102aa046557f319feaa417aecd3099adcae3a9917bfeeb22f2f01de7364a619
7
+ data.tar.gz: b6247c68c810447b8780f3410ca71f0c019876637f22e1606ac681a1568ee56d102c5b99e383650a756ef86d65a8dadd69295333fafc78000d89ab4216f240c7
@@ -39,8 +39,9 @@ module Comee
39
39
  private
40
40
 
41
41
  def model_params
42
- params.required(:payload).permit(:code, :name, :description, :parent_id, :thumbnail_image, :preferred_units, :source_id, :weight,
43
- :weight_unit_id, :dimensions, :hs_code, :hs_description, images: [])
42
+ params.required(:payload).permit(:code, :name, :description, :parent_id, :thumbnail_image, :source_id, :weight,
43
+ :weight_unit_id, :dimensions, :hs_code, :hs_description, images: [],
44
+ preferred_units: %i[id code label])
44
45
  end
45
46
 
46
47
  def price_params
@@ -30,7 +30,7 @@ module Comee
30
30
  end
31
31
 
32
32
  def self.ransackable_attributes(_auth_object = nil)
33
- %w[id code name description]
33
+ %w[id code name description leaf]
34
34
  end
35
35
 
36
36
  def self.ransackable_associations(_auth_object = nil)
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.2.64".freeze
3
+ VERSION = "0.2.66".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comee_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.64
4
+ version: 0.2.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers