ishapi 0.1.8.126 → 0.1.8.127

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: a9916488f12cb2bd94d3b4c5ba8a34c9af25aed3c0b5482dc366e6ae4b03e378
4
- data.tar.gz: 380cb1a747514aef32d9b0551b18080c1758cc909028ff26069885b3729a6426
3
+ metadata.gz: 382265d2c63eb31588367c464403e4e84b99b0ce402b59fe923c2cd23a49ac8e
4
+ data.tar.gz: cad7988a776177515589a135e00180cbcd12d485c436745b0c7d005917c93df3
5
5
  SHA512:
6
- metadata.gz: '06697a5d9a73d070f5b6aea49fd0ec945fbd1e4fd68ee24cc70813f2b6b28ef6ccfbdbd143cf99c88cb372372bd5408e61cf16527070a1dd2a8b95fc9eacf60a'
7
- data.tar.gz: a7aaec299de3054be78848c7efe567506f51101794550cf5d0be7c2200b92c543f19c9fd5a39a71c3cda6a49bf0f21fb1d3fd413bd35747b87557a6328ff3138
6
+ metadata.gz: 2c6b4b894ceffc47e95f3e8f583bec76dfcdf6137bac0a5405ee60d16dd2d20c4dbf2a14b6ff544858b7db9334eb71daaa9d7098957371642fed0648ad9475f0
7
+ data.tar.gz: 3a477331e2ae6550eea332f4081208e624c17ee0b1e2c9f35a138ab773d7653d7320e0f70902a9696e46a964cc1a14b97ee9748362054808eeb4a9aa193d3bbf
@@ -3,15 +3,18 @@
3
3
  # ishapi / application / _meta
4
4
  #
5
5
 
6
+ if !item.tags.blank?
7
+ json.partial! 'ishapi/tags/index', tags: item.tags
8
+ end
9
+ json.created_at item.created_at
10
+ json.updated_at item.updated_at
11
+ json.username item.user_profile.name if item.user_profile
6
12
  if item.city
7
13
  json.city do
8
14
  json.name item.city.name
15
+ json.slug item.city.cityname
9
16
  end
10
- json.cityname item.city.cityname
11
- end
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
17
+ json.cityname item.city.cityname
17
18
  end
19
+ json.subhead item.subhead
20
+ json.description item.descr
@@ -7,6 +7,8 @@ json.cache! this_key do
7
7
  json.gallery do
8
8
  json.partial! 'ishapi/galleries/show', gallery: @gallery
9
9
  json.partial! 'ishapi/photos/index', :photos => @gallery.photos
10
+
11
+ json.partial! 'ishapi/application/meta', item: @gallery
10
12
  end
11
13
  end
12
14
 
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.126
4
+ version: 0.1.8.127
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-15 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails