wovnrb 0.1.28 → 0.1.29

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 196c0f613dc68e6f1c2fe6b981b5ee25fe4d6e65
4
- data.tar.gz: f859e633bae12219b0e9ddf79a2d22d82b483e65
3
+ metadata.gz: 51f415c4b672c10c7cee2b65f3e7337aa7a6f27b
4
+ data.tar.gz: 9966b466b73b0384a00bef68910b93feed19ca6b
5
5
  SHA512:
6
- metadata.gz: 50dcb760e60c83fb4c162902121afe625731cf86d23d942a72ba0968582365e1779c7f0466751b5e88ff570d024d97ae6b01f4cd0a0bbdc707e7ddad92ca38a0
7
- data.tar.gz: 62d83993afc95e854a2f030a0e851df68f0f1b5e0c842e01d7cbd993928cbb1dcb02f3fdb267fcc10fbcd6c1cc2982970dd4c1a8494a6bdc099c777af176d060
6
+ metadata.gz: 54cf36226fddf434754ab0354789010c2b526935c638a4b0190dafc2c447bab204bb5922435480cd6393f674a58cff12fab5bfad3a0eef3de25491019c050c22
7
+ data.tar.gz: 39f0024e1f83b14f5170ab5ed51a171b8b53dff656f6bd871cda0871744e8a953c03998bb3ff09534d5e8aafe03e657ed3d4184c3890e7f79656884b761ac1fb
@@ -53,7 +53,7 @@ module Wovnrb
53
53
  #d = Dom.new(storage.get_values, body, lang)
54
54
  #res_headers["Content-Length"] = body.each.first.length.to_s
55
55
  content_length = 0
56
- body.each { |b| content_length += b.respond_to?(:length) ? b.length : 0 }
56
+ body.each { |b| content_length += b.respond_to?(:bytesize) ? b.bytesize : 0 }
57
57
  res_headers["Content-Length"] = content_length.to_s
58
58
  end
59
59
 
@@ -130,9 +130,9 @@ module Wovnrb
130
130
 
131
131
  output = d.to_html.gsub(/href="([^"]*)"/) {|m| "href=\"#{URI.decode($1)}\""}
132
132
  # RAILS
133
- if Object.const_defined?('ActionView') && ActionView.const_defined?('OutputBuffer')
134
- output = ActionView::OutputBuffer.new(output)
135
- end
133
+ #if Object.const_defined?('ActionView') && ActionView.const_defined?('OutputBuffer')
134
+ # output = ActionView::OutputBuffer.new(output)
135
+ #end
136
136
  output
137
137
  end
138
138
  result
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = "0.1.28"
2
+ VERSION = "0.1.29"
3
3
  end
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.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandford