workarea-product_additional_details 2.0.0 → 2.0.1

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: 14d5a2326adecdbdfba7335c342d0a7340a144f1b1732b9b48d78500d9ee5e1f
4
- data.tar.gz: 6355ff4b40b97decc47dfabd61ceb4f7ad007c4adf03615309352587ebed7a98
3
+ metadata.gz: 2e960d95d86b881dfd8169b49adf2578199a77d57a13ce0fdbb697e547d0bb01
4
+ data.tar.gz: 58bb272159911acbc726c2de885ca1abc807df87bb7000a64868d263674a9af1
5
5
  SHA512:
6
- metadata.gz: 9d2e77d8bb5af3eccb55a86c8ecf971ffc9179accba55f7cc14b7304252f98962f25ad0006e73360befe9b350e7325d88a5d3c703fdc262e0e52991692b2107d
7
- data.tar.gz: 22b6630b5687d72aee3faa1baad175767e1d0af69eca95ae55d129ba8c1aa0bb2de88fd95029169f5248bb499adb288ab43d204087493f10347790b4d148b349
6
+ metadata.gz: 315251934f247ad299b91852b3c337b5e52dd3066e5e69b4108d485c080645638c45cccc8a38c8ff2403d797aa00e2a671c51ed1b173dddc52811375753a6e0b
7
+ data.tar.gz: 1737886c2f354846fee3ac52675d42613e5cf57e0c73344545caeba98d16ae4178e29b32a4cdc34973a45afaf839466974c6b789f34bce4d02ca451bf518dd87
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
- decorate Admin::CatalogProductsController, with: :design_toscano do
2
+ decorate Admin::CatalogProductsController, with: :product_additional_details do
3
3
  decorated do
4
4
  # Place code to decorate here that would normally go on the class
5
5
  # level, e.g.:
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
- decorate Admin::CreateCatalogProductsController, with: :design_toscano do
2
+ decorate Admin::CreateCatalogProductsController, with: :product_additional_details do
3
3
  def save_details
4
4
  @product.additional_details = HashUpdate
5
5
  .new(original: @product.additional_details, updates: params[:additional_details])
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
- decorate Catalog::Product, with: :design_toscano do
2
+ decorate Catalog::Product, with: :product_additional_details do
3
3
  decorated do
4
4
  field :additional_details, type: Hash, default: {}, localize: true
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
- decorate HashUpdate, with: :design_toscano do
2
+ decorate HashUpdate, with: :product_additional_details do
3
3
  decorated do
4
4
  # Place code to decorate here that would normally go on the class
5
5
  # level, e.g.:
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module ProductAdditionalDetails
3
- VERSION = "2.0.0".freeze
3
+ VERSION = "2.0.1".freeze
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  module Workarea
4
- decorate Catalog::ProductTest, with: :design_toscano do
4
+ decorate Catalog::ProductTest, with: :product_additional_details do
5
5
  # Define additional tests based on new functionality or
6
6
  # override tests originally defined in the decorated class for
7
7
  # changes that alter default behavior.
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  module Workarea
4
- decorate UserTest, with: :design_toscano do
4
+ decorate UserTest, with: :product_additional_details do
5
5
  # Define additional tests based on new functionality or
6
6
  # override tests originally defined in the decorated class for
7
7
  # changes that alter default behavior.
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  module Workarea
4
- decorate HashUpdateTest, with: :design_toscano do
4
+ decorate HashUpdateTest, with: :product_additional_details do
5
5
  # Define additional tests based on new functionality or
6
6
  # override tests originally defined in the decorated class for
7
7
  # changes that alter default behavior.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-product_additional_details
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gunasekaran Raja
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-24 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea