ishapi 0.1.8.124 → 0.1.8.125
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/cities/_index.jbuilder +2 -1
- data/app/views/ishapi/cities/show.jbuilder +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5186de88dee3c65dfb685253334743ef534d9e78032712712a735494e7ee3987
|
4
|
+
data.tar.gz: c261e54daa8c02edf4688c35e9000d34a02541d78b46b3600980f501e656b945
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: affaadb0f32c4ae597efa6b0ea7a39b12e4ba684d5e1cd5efbd28803b21fedffd594f00a938ceb1d1408702c2b492261ea1572c553f24f892bb5448ec45933a6
|
7
|
+
data.tar.gz: 930c4f42766bbd9fb5495fb4de7615bda4d23d8d81dec155390e0c9d58735eb2c8f22957b49e5f5020cd42b915062efd5f836ad93aebb168b9649018e14b5c3a
|
@@ -10,6 +10,7 @@ json.array! @cities do |city|
|
|
10
10
|
json.n_galleries city.galleries.length
|
11
11
|
json.n_videos city.videos.length
|
12
12
|
if city.profile_photo
|
13
|
-
json.photo
|
13
|
+
json.photo city.profile_photo.photo.url( :thumb2 )
|
14
|
+
json.thumb_img city.profile_photo.photo.url( :thumb2 )
|
14
15
|
end
|
15
16
|
end
|
@@ -9,11 +9,14 @@ json.cache! key do
|
|
9
9
|
json.id @city.id.to_s
|
10
10
|
json.name @city.name
|
11
11
|
json.cityname @city.cityname
|
12
|
+
json.slug @city.cityname
|
12
13
|
json.description @city.description
|
13
|
-
json.photo @city.profile_photo.photo.url( :thumb ) if @city.profile_photo
|
14
14
|
json.x @city.x
|
15
15
|
json.y @city.y
|
16
16
|
|
17
|
+
json.thumb_img @city.profile_photo.photo.url( :thumb2 ) if @city.profile_photo
|
18
|
+
json.hero_img @city.profile_photo.photo.url( :large ) if @city.profile_photo
|
19
|
+
|
17
20
|
json.partial! 'ishapi/events/index', :events => @city.events
|
18
21
|
json.partial! 'ishapi/features/index', :features => @city.features, :resource => @city
|
19
22
|
json.partial! 'ishapi/galleries/index', :galleries => @city.galleries
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.125
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|