ishapi 0.1.8.42 → 0.1.8.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ishapi/reports/show.jbuilder +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee455298db22241650f2eab5aefe5c30534838a8
|
4
|
+
data.tar.gz: 5a37a8bce40d9dd4c0942627a91d8e8193ed2666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48ecb63dc8d8e61facc9531022991fce0af0384ee6a495e46ed4cf28f102df095e760d73c134577d54e2131cb7930b556b1293814ad3953bf564a4f9591f4b8e
|
7
|
+
data.tar.gz: c9d0fa438b37ba87c58864b86a46bbb4c764be4e6edfdde1fb10980034ace0b11d78379ccb32e11084a779cbba436881449e3007f0ece9b0d5af8bb56074cc93
|
@@ -3,7 +3,8 @@
|
|
3
3
|
# ishapi / reports / show
|
4
4
|
#
|
5
5
|
|
6
|
-
|
6
|
+
params.permit!
|
7
|
+
key = [ @report, params ]
|
7
8
|
json.cache! key do
|
8
9
|
json.report do
|
9
10
|
json.id @report.id.to_s
|
@@ -17,7 +18,7 @@ json.cache! key do
|
|
17
18
|
# @TODO: move this to meta
|
18
19
|
json.created_at @report.created_at.strftime('%Y%m%d')
|
19
20
|
json.updated_at @report.updated_at.strftime('%Y%m%d')
|
20
|
-
json.username @report.
|
21
|
+
json.username @report.user_profile.name
|
21
22
|
json.cityname @report.city.cityname if @report.city
|
22
23
|
json.tagname @report.tag.name_seo if @report.tag
|
23
24
|
|
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.43
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|