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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50478dc9ef74f07d9e55743549eae13b214a832a
4
- data.tar.gz: 8186fe6dd4bf00b270bedea220a2835292375e4e
3
+ metadata.gz: ee455298db22241650f2eab5aefe5c30534838a8
4
+ data.tar.gz: 5a37a8bce40d9dd4c0942627a91d8e8193ed2666
5
5
  SHA512:
6
- metadata.gz: 84ba91222819c74653acfa87e3b57a9b47e43386812c98749b5bdcd797d4fc6f07958681ca05a2528ade63153abc84ea85094ab9066c3a5c619cb46ebb9e6269
7
- data.tar.gz: 89fa5037cc9636179c766425aa036e8cb9f5ee85dc1fa4f96a28c16c66c5256aaeae886ccda861d9184b70f34cf2ba8a40b3509a213962a2c62585446ba7ba6c
6
+ metadata.gz: 48ecb63dc8d8e61facc9531022991fce0af0384ee6a495e46ed4cf28f102df095e760d73c134577d54e2131cb7930b556b1293814ad3953bf564a4f9591f4b8e
7
+ data.tar.gz: c9d0fa438b37ba87c58864b86a46bbb4c764be4e6edfdde1fb10980034ace0b11d78379ccb32e11084a779cbba436881449e3007f0ece9b0d5af8bb56074cc93
@@ -3,7 +3,8 @@
3
3
  # ishapi / reports / show
4
4
  #
5
5
 
6
- key = [ @report, params.permit! ]
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.username
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.42
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 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails