ishapi 0.1.8.97 → 0.1.8.99
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35601fdfce133a3aa267ac5b1a6a27e70367a51364c8f97602a6c6c18defb581
|
4
|
+
data.tar.gz: 6576d28952685290bda7be04499e721ea3a5822a3ec03587e358da61dd3d1df4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53cb6fcdc4df6ee593894eb579e5a75c59d384124355e367633480781ab2679dd9d4c643aa0a926bb8a221ee3b2c04226a9569bca3959cc0b9258f1ca87971d0
|
7
|
+
data.tar.gz: 0e09a517c7a3d40225a6fefa6b122e40ad8175d19cab125f235aa7f853cde43d7da1c0856fc52e43f9acd64513f086bedd62cb16624dfb2327bfa13a0b7d7392
|
@@ -32,15 +32,16 @@ json.newsitems do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
if item.
|
36
|
-
json.partial! 'ishapi/videos/show', :video => item.
|
35
|
+
if item.video_id
|
36
|
+
json.partial! 'ishapi/videos/show', :video => Video.unscoped.find( item.video_id )
|
37
37
|
|
38
|
-
json.item_type 'video'
|
39
|
-
json.name item.video.name
|
40
|
-
json.descr item.video.descr
|
41
|
-
json.x item.video.x
|
42
|
-
json.y item.video.y
|
43
|
-
json.youtube_id item.video.youtube_id
|
38
|
+
# json.item_type 'video'
|
39
|
+
# json.name item.video.name
|
40
|
+
# json.descr item.video.descr
|
41
|
+
# json.x item.video.x
|
42
|
+
# json.y item.video.y
|
43
|
+
# json.youtube_id item.video.youtube_id
|
44
|
+
# json.url item.video.video.url
|
44
45
|
end
|
45
46
|
if item.photo
|
46
47
|
json.item_type 'photo'
|
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.99
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|