ubbparser 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ubbparser.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dab674f7f1aff00bf8e569490c996d47eb85b093
|
4
|
+
data.tar.gz: a28be0f0ca6ad17e61a6733537ebabf2bdfe7b5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50a13c0179dbdb04589c5450fae83ae2b42935ba2e3a507c1edaa427b66c626c98081ced1ad8de78413b50cf76339554d97041ba7301abf56502e01671f5fb8
|
7
|
+
data.tar.gz: 7fe1db4c054fde46210f2ce7c7bff383dd83443c3114576cbe374364fecb5d78aab9fd32dec53bdf2860912be0cf325e243638091430efb27d0e3d664fe3e8e4
|
data/lib/ubbparser.rb
CHANGED
@@ -531,7 +531,7 @@ module UBBParser
|
|
531
531
|
src = inner_text
|
532
532
|
else
|
533
533
|
videoid = !inner_text.match(/^[^\?\&]$/).nil? ? inner_text : inner_text.scan(/(\?|&)v=([^\&]*)/)[0][1]
|
534
|
-
src = "
|
534
|
+
src = "https://www.youtube.com/embed/#{videoid}"
|
535
535
|
end
|
536
536
|
return render_iframe(src, attributes, parse_options)
|
537
537
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ubbparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taco Jan Osinga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple and flexibel ubb parser.
|
14
14
|
email: info@osingasoftware.nl
|
@@ -37,7 +37,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.6.12
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: UBB Parser
|