active_public_resources 0.2.2 → 0.2.3

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: 4e99a0eb62cafe3e34b5871ca70220f4b3270e6d
4
- data.tar.gz: c838fe9798d6c23af9d4aa265d95c8aac22bcf67
3
+ metadata.gz: 07d3ce1f36d3fa7105c64a1b3ea1d40d31d53a80
4
+ data.tar.gz: dc691ba007d31feedd149d2e61af45caddbfa160
5
5
  SHA512:
6
- metadata.gz: c9b311d3790c86e79cab9d454dbef60c67ffbf3c9731772bdb076da5325f9615838f001bbe056268e8dd23d023f1364ab1c2918b8cce8d52c709d4c6fbe8b668
7
- data.tar.gz: 06a57c4494ff2d21610ded78dbe7ae679ca903846cb860b636f6b5f0397a3367688c59754577c32334749e4517dc6e970f2818cf9bb52106b64d8b912e358bc1
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
@@ -1,3 +1,3 @@
1
1
  module ActivePublicResources
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
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.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: 2015-07-16 00:00:00.000000000 Z
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.2.3
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