onebox 1.8.70 → 1.8.71

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: 99bd6b866e7a0fb25a4d4571d9a5b0f77ab1ef6c191e0e1dd10572a315466d8f
4
- data.tar.gz: ea87f0ca618a4d00924a52ed32efe00c922ec8e13d52b443ea230425573754f0
3
+ metadata.gz: 433d6b01c6f71fd12300770534db9b4231a1abe44dc823be8da8130d6a7c892f
4
+ data.tar.gz: 654c6241edf4e2ab6f5d7f699bdfda53b88091acb9f09955cabc0f9e5d58b991
5
5
  SHA512:
6
- metadata.gz: 4a72e75cf77b783ba9c787d8e2f6c95d13d9a0b842ec88e80d6080ef290bb24ee5464d55549c5ba0e4cbfb3d0fd93e12a33eab1e9ff868ee3f0181444db732fc
7
- data.tar.gz: 550c34c0dc9fba9ca6b03100721beb1b3b6a5b643fa43d515b947d6cc75f0f46deb3d9a409b4a90cccdaef0e6369feb673eab583575f4b5d497eec695a4045b3
6
+ metadata.gz: d2c33ef96c2f68d8992a26dcf369417b8298c705458360a7de59e0c6176563fea4e81eb7dbb1bfb4e18e8f67ae3ac836f51f531379ede5ea4bdd6a7e49559e29
7
+ data.tar.gz: b05256ea4ebe8b8815a932aa9906b62873b9b4b35b860a6add1fde53735ccb118b4790353647cb4d4f99a31b6823c3838d77f54d2b10db57704ab37ee32ea3bc
@@ -131,6 +131,9 @@ module Onebox
131
131
  p['playlist'] = video_id
132
132
  end
133
133
 
134
+ # https://developers.google.com/youtube/player_parameters#rel
135
+ p['rel'] = 0 if params.include?('rel')
136
+
134
137
  URI.encode_www_form(p)
135
138
  end
136
139
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.70"
4
+ VERSION = "1.8.71"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.70
4
+ version: 1.8.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-12-22 00:00:00.000000000 Z
13
+ date: 2018-12-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json
@@ -413,8 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
413
  - !ruby/object:Gem::Version
414
414
  version: '0'
415
415
  requirements: []
416
- rubyforge_project:
417
- rubygems_version: 2.7.6
416
+ rubygems_version: 3.0.0
418
417
  signing_key:
419
418
  specification_version: 4
420
419
  summary: A gem for generating embeddable HTML previews from URLs.