active_public_resources 0.2.4 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50bb4c74f2c87274aaf825004f9b111d32844ba3
|
4
|
+
data.tar.gz: ea0f21d7a62d6a0d205445fcaa20e2bde2dbd78f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6324461f27ba94f8f8c59cb3d857dd54f8232ba6c54994287f8ffad76cb1e67180b1130bc0648a258513c4698f679bf9e524487949970e0e867f13ae6410ffd5
|
7
|
+
data.tar.gz: d49032b26bd2a5eda55afb267e3f1e6d7958b4baca6762ad5fd3fe1c0961e61e6aee1c39d900a0156976f9ae21efa9af74d243e78f632d949cc060473f98c2c7
|
@@ -120,7 +120,7 @@ module ActivePublicResources
|
|
120
120
|
def parse_video(item)
|
121
121
|
video_id = item['id']
|
122
122
|
snippet = item['snippet']
|
123
|
-
statistics = item['statistics']
|
123
|
+
statistics = item['statistics'] ? item['statistics'] : {}
|
124
124
|
details = item['contentDetails']
|
125
125
|
video = APR::ResponseTypes::Video.new
|
126
126
|
video.id = video_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_public_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Berry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|