onebox 1.8.50 → 1.8.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onebox/engine/youtube_onebox.rb +1 -1
- data/lib/onebox/helpers.rb +2 -1
- data/lib/onebox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 283222edef53d205642ef9d1f61211a762432e573be45cf665d7d19130594b52
|
4
|
+
data.tar.gz: 8dc1d9df191891115f6da86611a9053c3dc43137f371961b1f65fba7156e4ae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f95061b58fb74a8cfdc49f34f1a8634bac6cbdfa10fd64e49390bc5da48c09028c3c28fa1320e386ff481c32e1bb4779f7ca4f818e812be2e197f194ace86061
|
7
|
+
data.tar.gz: 75cfe9bb75b90c65057154b2069143e0f09d7f4c381baab1c3509c172730e44bccccba4515e414332f10691a2e72491cbb82fba01071a1aed4cf094956386cdb
|
data/lib/onebox/helpers.rb
CHANGED
@@ -173,7 +173,8 @@ module Onebox
|
|
173
173
|
end
|
174
174
|
|
175
175
|
def self.title_attr(meta)
|
176
|
-
|
176
|
+
title = meta[:title].gsub("'", "'").gsub('"', """)
|
177
|
+
(meta && !blank?(title)) ? "title='#{title}'" : ""
|
177
178
|
end
|
178
179
|
|
179
180
|
def self.normalize_url_for_output(url)
|
data/lib/onebox/version.rb
CHANGED
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.
|
4
|
+
version: 1.8.51
|
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-06-
|
13
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|