spree_channable 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/spree/product_decorator.rb +2 -3
- data/lib/spree_channable/version.rb +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: dc9c2656e64669ba4dc682e4795b6f1995ae856ef6bee7f5ca13dc2c19a392e4
|
|
4
|
+
data.tar.gz: e4742daa04b7a220cecc3d4b117477b3ecc4705936cc95e111055afb7eef3b4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e32189df7664ff793ecf80ef23c809d7b3e2b5d71c173dc80a771be5dcad2ca9370a756341f78cf13101bb064c18d9e035931f71fd8ad381fd212c9810c29da
|
|
7
|
+
data.tar.gz: 97dbd912ba55f4d97e4a0bf6f3bd0f854c10dd023098eb97438b221dba2c24c516d32029adc0af67f95db278a94a406b3ce42ad9b02ed214ecdcfb9b9051fe08
|
|
@@ -43,7 +43,6 @@ module Spree
|
|
|
43
43
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
|
-
|
|
47
46
|
builder.to_xml
|
|
48
47
|
end
|
|
49
48
|
end
|
|
@@ -51,7 +50,7 @@ module Spree
|
|
|
51
50
|
|
|
52
51
|
|
|
53
52
|
def to_channable_variant_xml
|
|
54
|
-
(variants.any? ? variants : variants_including_master).active.map do |variant|
|
|
53
|
+
(variants.any? ? variants : variants_including_master).active.uniq.map do |variant|
|
|
55
54
|
variant.to_channable_feed_entry
|
|
56
55
|
end
|
|
57
56
|
end
|
|
@@ -99,7 +98,7 @@ module Spree
|
|
|
99
98
|
xml.options_text variant.options_text
|
|
100
99
|
(xml.image_link URI.join(::SpreeChannable.configuration.image_host, variant.get_images.first.attachment.url(:large)).to_s) unless variant.get_images.empty?
|
|
101
100
|
xml.images do
|
|
102
|
-
get_images.each do |image|
|
|
101
|
+
variant.get_images.each do |image|
|
|
103
102
|
xml.image URI.join(::SpreeChannable.configuration.image_host, image.attachment.url(:large)).to_s
|
|
104
103
|
end
|
|
105
104
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_channable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.24
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabian Oudhaarlem
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|