item_models_2 0.0.20 → 0.0.22

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: 194b3c8a5176450af4caa6d2b7d56159437b3a1aca8519a7a2e93b67090cd3db
4
- data.tar.gz: 8de8bdff13dc8e5daaf595d4f8f64fcaef9257808094ab6c545cb2ff667fc19d
3
+ metadata.gz: dd12e459ced20c1bc12b94e6f92cb7d808079229a2edf0edb17606a8b0173774
4
+ data.tar.gz: 0be307a277ab419c50fd4fa88bc1686285cd8771948a4b8fe480f7244d5b65c6
5
5
  SHA512:
6
- metadata.gz: 00d361c348a9b030f52af7da77515e826ebf35f82769ccdf04d367c9f3351f5e28908183ae8f32c92ad91d75a76845cbc7b20bd0fd3560dc2a63e4b2b2f6ebca
7
- data.tar.gz: 1a7df29d08028dbaeaf7ab1d0b6354ddf0fb9953691a3844f58e5d5be642ff3afea1c505de4daea3db186a6a60c414fb1302384c277701d36c3339a799a16eb1
6
+ metadata.gz: 1028d97fcf1c87fc1eee215f3ef2b605c07bcfa0b149c09e4c97a4cd8525e09ff46dc02326602209875ca43bee8d700c90ac2b7221ac7630a5c8141d25431dfe
7
+ data.tar.gz: 246a38cf398affdd592b57b5ff97ca59d484c84a9314cd75f92166ca6c3bd56bdc77a4ef018a9d6a9f2e35fe57a3559095bc0442d87cdbf504a2086dadb9c047
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ItemModels
4
- VERSION = '0.0.20'
4
+ VERSION = '0.0.22'
5
5
  end
@@ -0,0 +1,3 @@
1
+ class TokopediaShowcase < ItemApplicationRecord
2
+ self.table_name = 'channel_tokopedia_showcases'
3
+ end
@@ -11,6 +11,7 @@ class VariantListing < ItemApplicationRecord
11
11
  class_name: 'VariantListingStockAllocation',
12
12
  foreign_key: :variant_association_id
13
13
  has_many :variant_listing_price_histories, foreign_key: :variant_association_id
14
+ belongs_to :tokopedia_showcase, optional: true
14
15
 
15
16
  serialize :option2_value
16
17
  serialize :option_value
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: item_models_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexander
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-01 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,6 +89,7 @@ files:
89
89
  - lib/models/shopee_shipping_provider.rb
90
90
  - lib/models/tokopedia_category.rb
91
91
  - lib/models/tokopedia_item_variant_custom_field.rb
92
+ - lib/models/tokopedia_showcase.rb
92
93
  - lib/models/variant.rb
93
94
  - lib/models/variant_image.rb
94
95
  - lib/models/variant_listing.rb