graph_starter 0.13.3 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/graph_starter/asset.rb +3 -1
- data/lib/graph_starter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 936a7004085b2d54916f113668d2658314eb0676
|
4
|
+
data.tar.gz: 8c6f13b50b4cb7459c6b4921dcd537d0c65c2fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04c96c8d02a6ce34a4958bf35e5e1725c915aabc4189c491ab30befc6c6cdad83ee75746f777b8c667838245b07c1031b95180ebafbd0bebbef8ca14017b9e0c
|
7
|
+
data.tar.gz: 8739d0a1091663a41a85badb309e942ff7d8252c3cd42d5d789ed29664dc30fb558320eec5e14a445de0e61ef41a5e744ea4c273cd64579430f3133ff133e06a
|
@@ -268,7 +268,9 @@ module GraphStarter
|
|
268
268
|
id: id,
|
269
269
|
title: title,
|
270
270
|
name: title,
|
271
|
-
model_slug: self.class.model_slug
|
271
|
+
model_slug: self.class.model_slug,
|
272
|
+
summary: summary,
|
273
|
+
image_urls: @asset.reload.image_array.map(&:source_url)
|
272
274
|
}.tap do |result|
|
273
275
|
result[:images] = images.map {|image| image.source.url } if self.class.has_images?
|
274
276
|
result[:image] = image.source_url if self.class.has_image? && image
|