ishapi 0.1.8.12 → 0.1.8.13

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: b00ce87f4303869727680948f6db47a2bbeab74a
4
- data.tar.gz: 14a7f26696dccad5ca0c8620ca854a15d170e208
3
+ metadata.gz: 4e3661caa825656de657c68ebdeab671a1ebe8c2
4
+ data.tar.gz: 2a3eff25d05f492f30c2671e93756ee1346b2237
5
5
  SHA512:
6
- metadata.gz: 7267dfd78e5d71a39a5a1718e7948b0554ec7161e935cf430a4174a6e9e66d72f8a3cc444118b4f291bb8dbdfcdfb548e540cfe99ca65e821c3faefdeff6eb21
7
- data.tar.gz: 79371a3940aec9661cd658d0d1ece8bd680c5e4fc4439bd4cf5bf4a277f62dbf9cb836b2e8eb51fae53190d4bbe7806990ab82ecd534c621c1006cc47aecff76
6
+ metadata.gz: baa89561e89a0f91d3f78bdd41210f762768991e40076a5f788d82ed9743b1de1e60c443ef60b7509641062f77c22d36649fa68d62a0bf0ce48f0696cadbcf7a
7
+ data.tar.gz: f344dbf8cc87fc52b2d62b573c4bcddef1344e54000fa3426283a4a5df1781110e1e0ef8230ab1c36b76715090debdf08f0fdb64336359d0147fe19dd5a718d9
@@ -17,6 +17,14 @@ json.newsitems do
17
17
  json.reportname item.report.name_seo
18
18
  json.report_id item.report_id.to_s
19
19
  end
20
+ if item.video
21
+ json.item_type 'video'
22
+ json.name item.video.name
23
+ json.descr item.video.descr
24
+ json.x item.video.x
25
+ json.y item.video.y
26
+ json.youtube_id item.video.youtube_id
27
+ end
20
28
  json.descr item.descr
21
29
  end
22
30
  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.12
4
+ version: 0.1.8.13
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-24 00:00:00.000000000 Z
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails