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 +4 -4
- data/app/controllers/workarea/admin/catalog_products_controller.decorator +1 -1
- data/app/controllers/workarea/admin/create_catalog_products_controller.decorator +1 -1
- data/app/models/workarea/catalog/product.decorator +1 -1
- data/app/services/workarea/hash_update.decorator +1 -1
- data/lib/workarea/product_additional_details/version.rb +1 -1
- data/test/models/workarea/catalog/product_test.decorator +1 -1
- data/test/models/workarea/user_test.decorator +1 -1
- data/test/workarea/hash_update_test.decorator +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e960d95d86b881dfd8169b49adf2578199a77d57a13ce0fdbb697e547d0bb01
|
4
|
+
data.tar.gz: 58bb272159911acbc726c2de885ca1abc807df87bb7000a64868d263674a9af1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 315251934f247ad299b91852b3c337b5e52dd3066e5e69b4108d485c080645638c45cccc8a38c8ff2403d797aa00e2a671c51ed1b173dddc52811375753a6e0b
|
7
|
+
data.tar.gz: 1737886c2f354846fee3ac52675d42613e5cf57e0c73344545caeba98d16ae4178e29b32a4cdc34973a45afaf839466974c6b789f34bce4d02ca451bf518dd87
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Workarea
|
2
|
-
decorate Admin::CreateCatalogProductsController, with: :
|
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,7 +1,7 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
module Workarea
|
4
|
-
decorate Catalog::ProductTest, with: :
|
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: :
|
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: :
|
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.
|
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-
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|