commercelayer-cli 0.2.3 → 0.2.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 893e42e85db4eb83f1ee5d18f5aa2913a541b927f023282753f1a9ac1fb5e802
|
4
|
+
data.tar.gz: 42a3a09446d9e19fe9dd73e0b94d30a3889e04b6795c9378a6c0cda7493efe6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08490ceb2ec22da8f1257d583d4faebfdb1206518bab254de0a8f1515fdf7e45e5da8a614ab1972b9576db450933c06da9c227f757d09fc2db3b18413f29e804'
|
7
|
+
data.tar.gz: 62f7de5f347ad19282c4118d9833632f0b474384f2cd77f09c2a615f821513a6e0f17009bbbdd3d870d24844dd6b5c7278071c51f7160c62248ce46ff36dfdce
|
@@ -76,12 +76,6 @@ module Commercelayer
|
|
76
76
|
required: true,
|
77
77
|
validations: [ validation(unique: true) ]
|
78
78
|
},
|
79
|
-
image: {
|
80
|
-
name: "Image",
|
81
|
-
type: "Link",
|
82
|
-
link_type: "Asset",
|
83
|
-
validations: [ validation(link_mimetype_group: 'image') ]
|
84
|
-
},
|
85
79
|
variants: {
|
86
80
|
name: "Variants",
|
87
81
|
type: "Array",
|
@@ -129,7 +123,6 @@ module Commercelayer
|
|
129
123
|
product = master.entries.find(last_product_id)
|
130
124
|
product.update({
|
131
125
|
reference: last_product_reference,
|
132
|
-
image: last_product_variants.first.image,
|
133
126
|
variants: last_product_variants
|
134
127
|
})
|
135
128
|
product.publish
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commercelayer-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filippo Conforti
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|