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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15884904114ef7395e2daff5f21bfbe4063a92869323c5727d2f54e2c1e8a653
4
- data.tar.gz: 34a6dcf5903791548b7159fbcad14075e9042606bf0c3eb8bbc22116ee18d477
3
+ metadata.gz: 5186de88dee3c65dfb685253334743ef534d9e78032712712a735494e7ee3987
4
+ data.tar.gz: c261e54daa8c02edf4688c35e9000d34a02541d78b46b3600980f501e656b945
5
5
  SHA512:
6
- metadata.gz: 6186034f0d0c6ffc2720c829d55a72bf10ccc19f8867167454a456f70c947ec7a494f088128acdbf61855a86af87f3a636301a05821f7dcab9568a34937d585c
7
- data.tar.gz: 0e19423505d813b7d68da5398f04ec8e7f54395ff70269d29e3920240aa7fef1a5a2b3cde5abfedf5868e5b7619c24d5d08597969c06a1177abe1b01d9d1ad89
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 city.profile_photo.photo.url( :thumb2 )
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.124
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-03 00:00:00.000000000 Z
11
+ date: 2020-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails