ishapi 0.1.8.148 → 0.1.8.149
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ishapi/maps/_show.jbuilder +34 -0
- data/app/views/ishapi/maps/show.jbuilder +4 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cd7a53ae8d95d217a973a346a43735501330d08ff96705fe24ebf42014a10ba
|
4
|
+
data.tar.gz: 1d85e34875c2f3c3b026e92eda83e21d4a4409aada61d57cbd9bf3c547c08c02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 629a76c8e71f990c024cc5968ab41572216d852c73ababc8101327e74dceb998a28a3a480c8a9d657aa4c8cbe531400b8859830e0d8a5ca853fa2510cd36ee9b
|
7
|
+
data.tar.gz: 89da2fef64a91d1560b6a76da8403573ad43978fe22da94a4385c014e74ed5aa36da38a58380f0a00397d97ace7062756eee3473611a8eef1e0aa915943510c6
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#
|
2
|
+
# ishapi / maps / _show
|
3
|
+
#
|
4
|
+
|
5
|
+
this_key = [ map, params.permit! ]
|
6
|
+
json.cache! this_key do
|
7
|
+
json.map do
|
8
|
+
json.id map.id.to_s
|
9
|
+
json.slug map.slug
|
10
|
+
json.parent_slug map.parent_slug
|
11
|
+
json.description map.description
|
12
|
+
json.w map.w
|
13
|
+
json.h map.h
|
14
|
+
json.img_path map.img_path
|
15
|
+
json.updated_at map.updated_at
|
16
|
+
|
17
|
+
json.markers do
|
18
|
+
json.array! map.markers do |marker|
|
19
|
+
json.name marker.name
|
20
|
+
json.slug marker.slug
|
21
|
+
json.x marker.x
|
22
|
+
json.y marker.y
|
23
|
+
json.w marker.w
|
24
|
+
json.h marker.h
|
25
|
+
json.img_path marker.img_path
|
26
|
+
json.title_img_path marker.title_img_path
|
27
|
+
json.item_type marker.item_type
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ishapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8.
|
4
|
+
version: 0.1.8.149
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
@@ -247,6 +247,7 @@ files:
|
|
247
247
|
- app/views/ishapi/galleries/show.jbuilder
|
248
248
|
- app/views/ishapi/galleries/show_premium_locked.jbuilder
|
249
249
|
- app/views/ishapi/galleries/show_premium_unlocked.jbuilder
|
250
|
+
- app/views/ishapi/maps/_show.jbuilder
|
250
251
|
- app/views/ishapi/maps/index.jbuilder
|
251
252
|
- app/views/ishapi/maps/show.jbuilder
|
252
253
|
- app/views/ishapi/measurements/_show.jbuilder
|