wovnrb 0.1.18 → 0.1.19
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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/lib/wovnrb.rb +5 -1
- data/lib/wovnrb/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 444b3c9066880c70ce20b3532204678bdbadbf60
|
|
4
|
+
data.tar.gz: 9bb62992fb068bdb875586249e92584d0bd68606
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e09d7767e2c3b9f5038ed9b0134befff56846b3955054a9868a1a84f2fd9174238beb3a39ed67606fb19dc98bd63ea3a058325838e56ab85d1f681e5f0901ca
|
|
7
|
+
data.tar.gz: 3f4db11ce2d434ce60f627300161263cac3ec60a3a2dc8ce54550df2be72f6df552899ef36dcce63d7f739dd6dfb3b923d296fb0502374c65b977c6554ca9010
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.0-p451
|
data/lib/wovnrb.rb
CHANGED
|
@@ -50,7 +50,7 @@ module Wovnrb
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
headers.out(res_headers)
|
|
53
|
-
res_headers['Content-Length'] = body.each {|b| break b.length.to_s }
|
|
53
|
+
# res_headers['Content-Length'] = body.each {|b| break b.length.to_s }
|
|
54
54
|
[status, res_headers, body]
|
|
55
55
|
#[status, res_headers, d.transform()]
|
|
56
56
|
end
|
|
@@ -120,6 +120,10 @@ module Wovnrb
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
output = d.to_html.gsub(/href="([^"]*)"/) {|m| "href=\"#{URI.decode($1)}\""}
|
|
123
|
+
# RAILS
|
|
124
|
+
if Object.const_defined?('ActionView') && ActionView.const_defined?('OutputBuffer')
|
|
125
|
+
output = ActionView::OutputBuffer.new(output)
|
|
126
|
+
end
|
|
123
127
|
output
|
|
124
128
|
end
|
|
125
129
|
end
|
data/lib/wovnrb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wovnrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Sandford
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-06-
|
|
12
|
+
date: 2015-06-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogumbo
|
|
@@ -229,6 +229,7 @@ extensions: []
|
|
|
229
229
|
extra_rdoc_files: []
|
|
230
230
|
files:
|
|
231
231
|
- .gitignore
|
|
232
|
+
- .ruby-version
|
|
232
233
|
- Gemfile
|
|
233
234
|
- LICENSE.txt
|
|
234
235
|
- README.md
|