active_public_resources 0.2.2 → 0.2.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07d3ce1f36d3fa7105c64a1b3ea1d40d31d53a80
|
|
4
|
+
data.tar.gz: dc691ba007d31feedd149d2e61af45caddbfa160
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ac6ae00e93f87bb890ae4ef42b883f54dec4219da4484b72177011c70f5e367a30b0173366b1a0ca5bb335093b9ff79ecf12bcbd45fce79ef0b2a91263bdb16
|
|
7
|
+
data.tar.gz: 4c7985ebe114f26c931abba3f162c305211a395caacfb7836c8df12f35d7ad25b6028e9e076d0c875ab343914a22540d969990d3c5654e9bae0150b4ded1cf14
|
|
@@ -131,7 +131,7 @@ module ActivePublicResources
|
|
|
131
131
|
video.description = snippet['description']
|
|
132
132
|
video.thumbnail_url = snippet['thumbnails']['default']['url']
|
|
133
133
|
video.url = "https://www.youtube.com/watch?v=#{video_id}&feature=youtube_gdata_player"
|
|
134
|
-
video.embed_url = "https://www.youtube.com/embed/#{video_id}?feature=oembed"
|
|
134
|
+
video.embed_url = "https://www.youtube.com/embed/#{video_id}?feature=oembed&rel=0"
|
|
135
135
|
video.duration = ISO8601::Duration.new(details['duration']).to_seconds
|
|
136
136
|
video.num_views = statistics['viewCount'] ? statistics['viewCount'].to_i : 0
|
|
137
137
|
video.num_likes = statistics['likeCount'] ? statistics['likeCount'].to_i : 0
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Berry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
172
172
|
version: '0'
|
|
173
173
|
requirements: []
|
|
174
174
|
rubyforge_project:
|
|
175
|
-
rubygems_version: 2.
|
|
175
|
+
rubygems_version: 2.5.1
|
|
176
176
|
signing_key:
|
|
177
177
|
specification_version: 4
|
|
178
178
|
summary: Normalized searching and browsing of public resources
|