ishapi 0.1.8.121 → 0.1.8.122
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f847fd6b0d800d9c2c6ab5c9f677b7a9aeffda9793881faeaf1b8b0f87f781c0
|
|
4
|
+
data.tar.gz: 5c9e3e384beab32a5d57523504493291a4d7a25c8e1777ab7b83684529cdb424
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0a989ce0e9f57e4179e9f46616f1d704f69438d8735de787ab35178280bcd189b46ae7966631834b987f2d48a887d471b9bb0a631a7d336801c64b487f44eb1
|
|
7
|
+
data.tar.gz: 2e2c32d28202811a56266fe89eaf7a5630e8a0fc99cd57080dde128e2bc878269e5634e2732ac99de195c877844cef420e2346855cad97436f33e594065673c7
|
|
@@ -9,6 +9,9 @@ if item.city
|
|
|
9
9
|
end
|
|
10
10
|
json.cityname item.city.cityname
|
|
11
11
|
end
|
|
12
|
-
if item.tag
|
|
13
|
-
json.
|
|
12
|
+
if defined?(item.tag) && !item.tag.blank?
|
|
13
|
+
json.partial! 'ishapi/tags/index', tags: [ item.tag ]
|
|
14
|
+
end
|
|
15
|
+
if defined?(item.tags) && !item.tags.blank?
|
|
16
|
+
json.partial! 'ishapi/tags/index', tags: item.tags
|
|
14
17
|
end
|
|
@@ -48,11 +48,8 @@ json.newsitems do
|
|
|
48
48
|
json.photo_thumb2_url item.report.photo.photo.url( :thumb2 )
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
json.partial!
|
|
52
|
-
json.
|
|
53
|
-
{ slug: 'bars-and-clubs', name: 'Bars & Clubs' },
|
|
54
|
-
{ slug: 'food', name: 'Food' },
|
|
55
|
-
{ slug: 'late-night', name: 'Late Night' } ]
|
|
51
|
+
json.partial! 'ishapi/application/meta', :item => item.report
|
|
52
|
+
json.partial! 'ishapi/tags/index', tags: item.report.tags
|
|
56
53
|
|
|
57
54
|
if item.report.is_premium
|
|
58
55
|
json.premium_tier item.report.premium_tier
|