ishapi 0.1.8.49 → 0.1.8.52

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
  SHA1:
3
- metadata.gz: 4150d6b2bea1d24fb8807450e8de3f9409a1e287
4
- data.tar.gz: ed08a8de201bc63e72230b412433af5e269e4e17
3
+ metadata.gz: cd9de6a31c033a184f716a05a36454379fb66860
4
+ data.tar.gz: ce211d7218f50a1a57fc7f093f13a1c72911b8d6
5
5
  SHA512:
6
- metadata.gz: 76548b3670c85a03d849f47da26f721c43fae1615c5772c91fa7b73e537dbc5038642be5fa8676fd0157f8a77b5fc7d3d5847e0a9ddc405302317129ad7cad5f
7
- data.tar.gz: 11d3bd31cbcb899dd9d8c1404dee941b925e8c43bc2350beae4fad4baea3edd68e5b5e77dce031f6ae0199d66b53f6b53c7051c9c381248d9f6f5c700de74eb5
6
+ metadata.gz: abcf3b251846db4b0b48639adae80eeb1ca411c9e0bafc0a267b80d3a92db9bb21538b69454a170dc36e833a8f93fd32029355ca26dc09955e25ae1d905c8ece
7
+ data.tar.gz: '071957bbcb204f0b45f4254b0c90eb055262a17774864d42481cb79ec697c1aee4f46fde2251c3ae9830fe4d51974c857cc8ea5fe724dc232c01335f1862de43'
@@ -14,9 +14,10 @@ json.cache! key do
14
14
  json.x @city.x
15
15
  json.y @city.y
16
16
 
17
- json.partial! 'ishapi/newsitems/index', :newsitems => @city.newsitems
17
+ json.partial! 'ishapi/events/index', :events => @city.events
18
18
  json.partial! 'ishapi/features/index', :features => @city.features, :resource => @city
19
19
  json.partial! 'ishapi/galleries/index', :galleries => @city.galleries
20
+ json.partial! 'ishapi/newsitems/index', :newsitems => @city.newsitems
20
21
  json.partial! 'ishapi/reports/index', :reports => @city.reports
21
22
  json.partial! 'ishapi/users/index', :users => @city.current_users
22
23
  json.partial! 'ishapi/venues/index', :venues => @city.venues
@@ -0,0 +1,7 @@
1
+
2
+ json.events events do |event|
3
+ json.name event.name
4
+ json.eventname event.eventname
5
+ json.date event.date
6
+ json.description event.description
7
+ end
@@ -3,7 +3,8 @@
3
3
  # ishapi / photos / _show
4
4
  #
5
5
 
6
- json.mini_url photo.photo.url( :mini )
7
- json.thumb_url photo.photo.url( :thumb )
8
- json.small_url photo.photo.url( :small )
9
- json.large_url photo.photo.url( :large )
6
+ json.mini_url photo.photo.url( :mini )
7
+ json.thumb_url photo.photo.url( :thumb )
8
+ json.small_url photo.photo.url( :small )
9
+ json.large_url photo.photo.url( :large )
10
+ json.original_url photo.photo.url( :original )
@@ -11,8 +11,5 @@ json.fb_long_access_token @long_lived_token
11
11
 
12
12
  if @user_profile.current_city
13
13
  json.current_city_id @user_profile.current_city_id.to_s
14
- json.current_city do
15
- json.id @user_profile.current_city_id.to_s
16
- json.name @user_profile.current_city.name
17
- end
14
+ json.current_city @user_profile.current_city
18
15
  end
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.49
4
+ version: 0.1.8.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-22 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -209,6 +209,7 @@ files:
209
209
  - app/views/ishapi/cities/index.jbuilder
210
210
  - app/views/ishapi/cities/show.jbuilder
211
211
  - app/views/ishapi/cities/show.jbuilder~
212
+ - app/views/ishapi/events/_index.jbuilder
212
213
  - app/views/ishapi/features/_index.jbuilder
213
214
  - app/views/ishapi/galleries/_index.jbuilder
214
215
  - app/views/ishapi/galleries/_index.jbuilder~