ishapi 0.1.8.9 → 0.1.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cbeba2fd94fef078684ac0f460e589f7356894f
4
- data.tar.gz: 71eb56a93cdbdb9e663104f81c2ed5e275676f81
3
+ metadata.gz: dec22b17843557b11ea219a23ed534e732401562
4
+ data.tar.gz: 38f8521035921173869f63455ba5e31c8e09274f
5
5
  SHA512:
6
- metadata.gz: 02559ed43cbb44b5e72d5c20156be9087df7fed530b620b26eb3ae4aa8e13b89c6cd83936c7daf70d6478da4656be3b7bb496c577b15604b8d13f6fa92616d19
7
- data.tar.gz: a9b8c56c1955439b297dc4104442d590ce91da9848ede5c9dcdddabdaac5782b2b846374bcc96359cb99f39db72576232ec6d7a074a55f9a1ceabbb16cdb2491
6
+ metadata.gz: 50e9f89dfbdb81cb464820aabfb3f8b70be56c6d154c3948698b15d02a32c25aa9a0e0d28b77b0b6b5551d45a4927ea1236bf4421dfe9eb3f86af71ab4e8a0a4
7
+ data.tar.gz: 98da29586f07f4135f01165ca66a353cfc5b11eb3caeb1456b21d66135a34e5ecca23f32da0ad8ded358c51a11248506cdd8b8c88604c47bdcdf0929c0520d5a
@@ -15,5 +15,6 @@ json.cache! key do
15
15
  json.partial! 'ishapi/newsitems/index', :newsitems => @city.newsitems
16
16
  json.partial! 'ishapi/galleries/index', :galleries => @city.galleries
17
17
  json.partial! 'ishapi/reports/index', :reports => @city.reports
18
+ json.partial! 'ishapi/venues/index', :venues => @city.venues
18
19
  end
19
20
  end
@@ -0,0 +1,13 @@
1
+
2
+ #
3
+ # ishapi / reports / _index
4
+ #
5
+
6
+ json.reports do
7
+ json.array! reports do |report|
8
+ json.id report.id.to_s
9
+ json.name report.name
10
+ json.reportname report.name_seo
11
+ json.description report.descr
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+
2
+ #
3
+ # ishapi / venues / _index
4
+ #
5
+
6
+ json.venues do
7
+ json.array! venues do |venue|
8
+ json.id venue.id.to_s
9
+ json.name venue.name
10
+ json.description venue.descr
11
+ json.x venue.x
12
+ json.y venue.y
13
+ end
14
+ 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.9
4
+ version: 0.1.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -185,6 +185,8 @@ files:
185
185
  - app/views/ishapi/reports/show.jbuilder~
186
186
  - app/views/ishapi/sites/show.jbuilder
187
187
  - app/views/ishapi/sites/show.jbuilder~
188
+ - app/views/ishapi/venues/_index.haml~
189
+ - app/views/ishapi/venues/_index.jbuilder
188
190
  - app/views/layouts/ishapi/application.html.erb
189
191
  - config/routes.rb
190
192
  - lib/ishapi.rb