comee_core 0.2.80 → 0.2.82

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: c856b39462e1a5e71b4e0398036d1daa01f60d79164a64f990bc5c7bdc9e34ca
4
- data.tar.gz: 52c91c793ac39d46498947f1a6029e033bb1d783b26a95ff263a183f593bb87d
3
+ metadata.gz: 2b68e1ab1023cc48279d08ad554babb1a881bea891baaac6c42da7d88a21f2cb
4
+ data.tar.gz: 244b1a8d00c179cf2bb3425923f4f7eb1a58b9e0c1441a95aa98577d325014ef
5
5
  SHA512:
6
- metadata.gz: ddaf17d4909e3acbf5c59553e4b1f06c49997df81b8aaab402bfb47065feca08a6dc88d50f321c0ad28f8dd42dda47e57417fe0bd6fc09b971ccf6eebc49c467
7
- data.tar.gz: 72716a00dd82da58da08db687205b4a20f4194fd6d815481a04b99089f0de8cc8647d50d41be62c1054f306989fcf45f62af1dbef53b156b0243f71f0b1f1001
6
+ metadata.gz: 8c178206912db00a4df1a69991f11f13cb7773eb7ba6ef408f86f165ada3e0e3cab780b0a71e23c54a0dfc1dfb8c7b069f52f470f73f8434925bd8a2f7ec2507
7
+ data.tar.gz: 1c9a9f885d667d5bd8156eee0eeb894c5368844ed40a28dfefe59fc31cbd07a995faf1b428ab950d9658d5fce10d5118a79acaf5c5ebed1e178b133a08b72214
@@ -12,7 +12,7 @@ module Comee
12
12
  private
13
13
 
14
14
  def model_params
15
- params.require(:payload).permit(:client_id, :address_line1, :street, :city, :state, :country_id, :postal_code, :address_type)
15
+ params.require(:payload).permit(:client_id, :name, :address_line1, :street, :city, :state, :country_id, :postal_code, :address_type)
16
16
  end
17
17
  end
18
18
  end
@@ -4,6 +4,8 @@ module Comee
4
4
  after_save :update_parent, if: proc { |product| product.parent && product.parent.leaf? }
5
5
 
6
6
  has_ancestry
7
+
8
+ has_many :product_lookups
7
9
  has_one_attached :thumbnail_image
8
10
  has_many_attached :images
9
11
 
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.2.80".freeze
3
+ VERSION = "0.2.82".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.80
4
+ version: 0.2.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.