ishapi 0.1.8.29 → 0.1.8.30

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
  SHA1:
3
- metadata.gz: ec7fe74393929b6e351f36e7385a4cc353d81741
4
- data.tar.gz: f3b9ddea39ddf198673226cba2ecbf10bfc2e6af
3
+ metadata.gz: dd4a4f329b2944f40387c440d8a92224fb0ebe14
4
+ data.tar.gz: ba51981062bbc8f329aeee1aaf0fc025e4894b17
5
5
  SHA512:
6
- metadata.gz: 78541f0abc0c129ff8bcfdc2e67f00fe5f9bfa1b1edf41f365e72552758a31d4657d02cc80fa69f12fea043e412a632fa76c414fcd3236952bc4757996168bff
7
- data.tar.gz: c2a310aaa4993c27900c56a5f4fedd54508e9eb1f70895d3601849ae8a392569127e5e1c75de9e2f807dd492ac43b63dadc764b0dde36868081b02efe44702e7
6
+ metadata.gz: d9a5478e4300dce2c9d84bdb2f961eb59e4641909fa10d941eae2601a4768573b2a054adc69f16683c40439cc33b0f63e728a1400c17946449a3cd8b3f0dcc88
7
+ data.tar.gz: 99d445113f47b2529ea18dd529d4d39c1e80e0b6afd6847c0158c7f4743cf98dc4470a7b03ab55d51ad670a44d0af315879bde6c31e13975a1e5317e79e1a223
@@ -9,8 +9,10 @@ json.cache! key do
9
9
  json.id @report.id.to_s
10
10
  json.name @report.name
11
11
  json.reportname @report.name_seo
12
- json.photo_url @report.photo.photo.url( :small ) if @report.photo
13
- json.thumb_url @report.photo.photo.url( :thumb )
12
+ if @report.photo
13
+ json.photo_url @report.photo.photo.url( :small )
14
+ json.thumb_url @report.photo.photo.url( :thumb )
15
+ end
14
16
 
15
17
  # @TODO: move this to meta
16
18
  json.created_at @report.created_at.strftime('%Y%m%d')
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.29
4
+ version: 0.1.8.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox