wovnrb 0.1.45 → 0.1.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wovnrb.rb +12 -1
- data/lib/wovnrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e92cfa19b1853b9555076b8f31871e029b5b290d
|
4
|
+
data.tar.gz: 3b9fa27f9c14c2f4ac1cf20e84a61682d0732955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43af0253ef589a4bc828f4b52c36f2744831150a5795259569033c4643292d4cc6f71eae787354c07c9f3c4e3272dd7b496ac082b17b45962cb845b3804ef882
|
7
|
+
data.tar.gz: d0befdec17cc2af9f647e18d604ccdbf76bb6a797d1a753e8626466e5e1a1cf827fc8894f4f00d88f1d4a122350046fbaebd22ed24551d468f7349de343f5637
|
data/lib/wovnrb.rb
CHANGED
@@ -36,7 +36,18 @@ module Wovnrb
|
|
36
36
|
status, res_headers, body = @app.call(headers.request_out)
|
37
37
|
|
38
38
|
Rails.logger.info(res_headers["Content-Type"])
|
39
|
-
Rails.logger.info(body
|
39
|
+
Rails.logger.info(body.first)
|
40
|
+
Rails.logger.info("EACH")
|
41
|
+
body.each do |b|
|
42
|
+
Rails.logger.info(b.class)
|
43
|
+
Rails.logger.info(b.inspect)
|
44
|
+
end
|
45
|
+
Rails.logger.info("MAP")
|
46
|
+
body.map! do |b|
|
47
|
+
Rails.logger.info(b.class)
|
48
|
+
Rails.logger.info(b.inspect)
|
49
|
+
b
|
50
|
+
end
|
40
51
|
if res_headers["Content-Type"] =~ /html/# && !body[0].nil?
|
41
52
|
Rails.logger.info("HTML REQUEST")
|
42
53
|
|
data/lib/wovnrb/version.rb
CHANGED