shopify-default_variant 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shopify/default_variant.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: add8450e845c7d55a4fd1368aa29e968fb2cc579c24a117a5d6ad01d11deb135
|
4
|
+
data.tar.gz: 9d79cccb2d59c87cef6d6d2e5f7b8ab7e11cd082475900f4b72e0ea911a72c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a04dc02c9815f8a5d533c04fa9a6785d3592fd429a1b0e5743f0bf408fcfc5ccc53088e089a3de78fdb70f02e949913c9a2948be6f5cb2755e09b6459b5b3b0
|
7
|
+
data.tar.gz: 9a178e38a8cd7dba40123b740388d07d46ef08b008c945d90f9e3aa1e5f54990a99a6a0cf19907e9d896c5b8d4d1a22c3a2516586dd993f989475ee7f55e1d59
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Shopify
|
4
4
|
module DefaultVariant
|
5
|
-
VERSION = "0.0.
|
5
|
+
VERSION = "0.0.2"
|
6
6
|
TITLE = "Default Title"
|
7
7
|
|
8
8
|
class Object
|
@@ -31,7 +31,7 @@ module Shopify
|
|
31
31
|
match &&= (object.option1.nil? || object.option1 == DefaultVariant::TITLE)
|
32
32
|
return match unless object.respond_to?(:option2)
|
33
33
|
|
34
|
-
match &&
|
34
|
+
match && object.option2.nil?
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|