ishapi 0.1.8.160 → 0.1.8.161

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
  SHA256:
3
- metadata.gz: b2b7dd2fe41b5b2baefc24243c83b8549d36e801a069b6f1e75678ec9c504b1d
4
- data.tar.gz: 3db877da0b170defc108a103fdf1066b2bfb2f7364967f8e3c2e7f93a5a3379f
3
+ metadata.gz: ceedcb320e4c54ce7266018ee527778921f9d8c026db2ddebda1bbba1ff644c4
4
+ data.tar.gz: 5cab2210c23259864f3ab2b26dff5972e1b3325bcf6afffa56abb2dd553082e7
5
5
  SHA512:
6
- metadata.gz: 69811c54dadf3fb41b549737e72fdba571479c3e46a8a9fa463ee33d78ceba120a998855c743ba75ec9adc40487dd6e6b5feed9c9dd59f01e7bd092e208481de
7
- data.tar.gz: 8f598ecc134132e63c275e2d645bf224147d4302c8a9d0b301c8503f0bc87df35298a69ea04994cef902f74a2a8fdcfb5e5a4e1e82663f480619ef88a656d80d
6
+ metadata.gz: af6ca19fdc68d01e11e69ec5cdb2f1763f7f3105fc50211b84af33e694457bcbb3cc22e208584ce0984baa58d788c06d3a860d35a53b685a718391f02c7acb92
7
+ data.tar.gz: f8d5084151e39b07507a4448c470c05f7dfff5f773c2934cc2f151bb5ec136e37a289d1719f07c9fae2f66ed88638776c25d917fc8391a42f553343d2e1479d6
@@ -16,6 +16,13 @@ json.cache! this_key do
16
16
 
17
17
  if @map.map
18
18
  json.partial! 'ishapi/maps/show', map: @map.map
19
+ json.config JSON.parse @map.parent.config
20
+ json.labels JSON.parse @map.parent.labels
21
+ else
22
+ ## I removed json parsing from here! _vp_ 2021-10-14
23
+ ## I added json parsing here! _vo_ 2021-10-19
24
+ json.config JSON.parse @map.config
25
+ json.labels JSON.parse @map.labels
19
26
  end
20
27
 
21
28
  json.breadcrumbs do
@@ -26,16 +33,6 @@ json.cache! this_key do
26
33
  end
27
34
  end
28
35
 
29
- ## Hmm with austin -> wasya_co , neither config nor labels can be used from parent.
30
- # if @map.parent_slug.present?
31
- # json.config JSON.parse @map.parent.config
32
- # json.labels JSON.parse @map.parent.labels
33
- # else
34
- ## I removed json parsing from here! _vp_ 2021-10-14
35
- ## I added json parsing here! _vo_ 2021-10-19
36
- json.config JSON.parse @map.config
37
- json.labels JSON.parse @map.labels
38
-
39
36
  json.partial! 'ishapi/markers/index', map: @map
40
37
 
41
38
  if @newsitems
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.160
4
+ version: 0.1.8.161
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox