busk-ruby-readability 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/readability.rb +1 -1
  2. metadata +3 -3
data/lib/readability.rb CHANGED
@@ -54,7 +54,7 @@ module Readability
54
54
 
55
55
  def consider_special_cases(content)
56
56
  if @input.base_uri.to_s =~ /^http:\/\/(www\.)?youtube.com/
57
- if @input.base_uri.request_uri =~ /\?v=([_a-z0-9]+)&?/i
57
+ if @input.base_uri.request_uri =~ /\?v=([_\-a-z0-9]+)&?/i
58
58
  content = <<-HTML
59
59
  <object width="480" height="385">
60
60
  <param name="movie" value="http://www.youtube.com/v/#{$1}?fs=1&amp;hl=en_US"></param>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busk-ruby-readability
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors: []
13
13