graph_starter 0.13.5 → 0.13.6
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 007c107e231b0ed3a0cdc86702fd5e1d64ebe6ff
|
|
4
|
+
data.tar.gz: d3bc9599cfffaa1796949e38ce4b99bdc35322b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36598cda0a6d5aa72787261eec133206d3f9750d6dc540973825a2fd6b56c47a34907c5213a05e10e72fa1b45fdef24ac271241afd12196c624c2b4072caa744
|
|
7
|
+
data.tar.gz: 566bb4c124240cdfdd46e7370a35ebfd6c3e0a7b39eeec69b22ac19ca63fa37e7afec150a3d15d920834be66fa66d4a11407c925deaebaa63a70ba2fbf3a2546
|
|
@@ -270,8 +270,9 @@ module GraphStarter
|
|
|
270
270
|
name: title,
|
|
271
271
|
model_slug: self.class.model_slug,
|
|
272
272
|
summary: summary,
|
|
273
|
-
|
|
273
|
+
categories: categories
|
|
274
274
|
}.tap do |result|
|
|
275
|
+
result[:image_urls] = image_array.map(&:source_url) if image_array
|
|
275
276
|
result[:images] = images.map {|image| image.source.url } if self.class.has_images?
|
|
276
277
|
result[:image] = image.source_url if self.class.has_image? && image
|
|
277
278
|
end
|