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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd9de6a31c033a184f716a05a36454379fb66860
|
4
|
+
data.tar.gz: ce211d7218f50a1a57fc7f093f13a1c72911b8d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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
|
@@ -3,7 +3,8 @@
|
|
3
3
|
# ishapi / photos / _show
|
4
4
|
#
|
5
5
|
|
6
|
-
json.mini_url
|
7
|
-
json.thumb_url
|
8
|
-
json.small_url
|
9
|
-
json.large_url
|
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
|
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.
|
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-
|
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~
|