exvo_warez 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/exvo_warez.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{exvo_warez}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tomasz Mazur"]
data/lib/rack/exvo/seo.rb CHANGED
@@ -15,6 +15,7 @@ module Rack
15
15
  if request.xhr?
16
16
  return [status, headers, @body]
17
17
  end
18
+
18
19
 
19
20
  if html?(headers)
20
21
  if cl = headers["Content-Length"]
@@ -42,7 +43,7 @@ module Rack
42
43
  end
43
44
 
44
45
  def html?(headers)
45
- headers['Content-Type'] == "text/html"
46
+ /html/ === headers['Content-Type']
46
47
  end
47
48
 
48
49
  def end_of_body?(chunk)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exvo_warez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomasz Mazur