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: 750a849ad37794a269bab5b663992a2ee9101a10
4
- data.tar.gz: 17a0f5735242ebd52b93b020a3deb4a931ae3376
3
+ metadata.gz: 50bb4c74f2c87274aaf825004f9b111d32844ba3
4
+ data.tar.gz: ea0f21d7a62d6a0d205445fcaa20e2bde2dbd78f
5
5
  SHA512:
6
- metadata.gz: d859e2ffb42e9b9dfa2b0e2bca4401de468d0e5aa34aeeb65e90b5a622436af796fadfe6014c1104b45fd12bdf10b77f10e032c8cd4c205f62aff20977b0e37d
7
- data.tar.gz: 9953aebb19aa8ea776f35d8b98e74d4e90115781f0cb8f8e47390baa67965231be473f841b4047dde577fadb4d7fa495d99bb0259dd66838d4f16a37713f55c5
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
@@ -1,3 +1,3 @@
1
1
  module ActivePublicResources
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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
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-03-22 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport