rack-codehighlighter 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/rack/codehighlighter.rb +1 -1
  3. metadata +15 -4
@@ -1,5 +1,5 @@
1
1
  ---
2
- :build:
3
2
  :minor: 4
4
- :patch: 6
3
+ :patch: 7
4
+ :build:
5
5
  :major: 0
@@ -32,7 +32,7 @@ module Rack
32
32
 
33
33
  content = ""
34
34
  response.each { |part| content += part }
35
- doc = Nokogiri::HTML(content)
35
+ doc = Nokogiri::HTML(content, nil, 'UTF-8')
36
36
  nodes = doc.search(@opts[:element])
37
37
  nodes.each do |node|
38
38
  s = node.inner_html || "[++where is the code?++]"
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-codehighlighter
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 1
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 4
8
- - 6
9
- version: 0.4.6
9
+ - 7
10
+ version: 0.4.7
10
11
  platform: ruby
11
12
  authors:
12
13
  - Wlodek Bzyl
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-19 00:00:00 +02:00
18
+ date: 2010-09-03 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rack
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 23
27
30
  segments:
28
31
  - 1
29
32
  - 0
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: nokogiri
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 5
41
46
  segments:
42
47
  - 1
43
48
  - 4
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: rack-test
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - ">="
54
60
  - !ruby/object:Gem::Version
61
+ hash: 19
55
62
  segments:
56
63
  - 0
57
64
  - 3
@@ -119,23 +126,27 @@ rdoc_options:
119
126
  require_paths:
120
127
  - lib
121
128
  required_ruby_version: !ruby/object:Gem::Requirement
129
+ none: false
122
130
  requirements:
123
131
  - - ">="
124
132
  - !ruby/object:Gem::Version
133
+ hash: 3
125
134
  segments:
126
135
  - 0
127
136
  version: "0"
128
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
+ none: false
129
139
  requirements:
130
140
  - - ">="
131
141
  - !ruby/object:Gem::Version
142
+ hash: 3
132
143
  segments:
133
144
  - 0
134
145
  version: "0"
135
146
  requirements: []
136
147
 
137
148
  rubyforge_project:
138
- rubygems_version: 1.3.6
149
+ rubygems_version: 1.3.7
139
150
  signing_key:
140
151
  specification_version: 3
141
152
  summary: Rack Middleware for Code Highlighting.