onebox 1.8.73 → 1.8.74

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: 100a8481a10a54d222368c3783d82942d525589045bef2fcf4517ff955b95716
4
- data.tar.gz: ef18560dfedd0227386ee78378d6b50a45cd9291720dabb582c414cff6b1cb3a
3
+ metadata.gz: 0045a894e8206ed9be96b5c915781f61a1cc6e4f3147633aa8a565c0071e3a6b
4
+ data.tar.gz: d32d8dd2e23eec29ba02a9f2b921f8784025e176aacfdd74a8540f2e6fb11483
5
5
  SHA512:
6
- metadata.gz: '08ee25a3b9a30306e1dd9fc2199c1c06b8fc1f3ff391a6b194edcea4ab0d10c602164b78768a748448a224a39b953de6c9a5adfdc6e7e7969ad55dcb3d96e31a'
7
- data.tar.gz: f7b71a063113341aeef08a32f9158289fb30c0b3c96452f5ff967c3c45591abea8b461f96eec6a7de294f1a1b9cae9c72a477998d70a5370caf1cb5ab46d75c5
6
+ metadata.gz: 12942cd2f8963b3fc8414bb65a0e793602bb26407a5ae2cf7d41d3045d05d6ed10ad28481b84c104db22caa1ef4484f51f489bc7b5efd8029f47f6d1ae679598
7
+ data.tar.gz: f33d31fd1f35d4c560235553050d7de8127ff71dde542dffcf108bc2ad6cc22de073e5fa41d6c86506b3fd270974963ab0467615c9589df34b0974c84e6f4dd3
data/README.md CHANGED
@@ -184,7 +184,7 @@ Adding Support for a new URL
184
184
  Whitelisted Generic Onebox caveats
185
185
  ----------------------------------
186
186
 
187
- The Whitedlisted Generic Onebox has some caveats for it's use, beyond simply whitelisting the domain.
187
+ The Whitelisted Generic Onebox has some caveats for it's use, beyond simply whitelisting the domain.
188
188
 
189
189
  1. The domain must be whitelisted
190
190
  2. The URL you're oneboxing cannot be a root url (e.g. `http://example.com` won't work, but `http://example.com/page` will)
@@ -12,10 +12,12 @@ module Onebox
12
12
  def to_html
13
13
  escaped_url = ::Onebox::Helpers.normalize_url_for_output(@url)
14
14
  <<-HTML
15
- <video width='100%' height='100%' controls>
16
- <source src='#{escaped_url}'>
17
- <a href='#{escaped_url}'>#{@url}</a>
18
- </video>
15
+ <div class="onebox video-onebox">
16
+ <video width='100%' height='100%' controls>
17
+ <source src='#{escaped_url}'>
18
+ <a href='#{escaped_url}'>#{@url}</a>
19
+ </video>
20
+ </div>
19
21
  HTML
20
22
  end
21
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.73"
4
+ VERSION = "1.8.74"
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.73
4
+ version: 1.8.74
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -413,7 +413,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
413
  - !ruby/object:Gem::Version
414
414
  version: '0'
415
415
  requirements: []
416
- rubygems_version: 3.0.0
416
+ rubyforge_project:
417
+ rubygems_version: 2.7.8
417
418
  signing_key:
418
419
  specification_version: 4
419
420
  summary: A gem for generating embeddable HTML previews from URLs.