wovnrb 0.1.48 → 0.1.49

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wovnrb.rb +0 -19
  3. data/lib/wovnrb/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6221bd574af8010f3243528e07149ec74c68f6de
4
- data.tar.gz: ad6137296dae0885e4cd260f11a86d5d31346281
3
+ metadata.gz: 655e0f611450386177466547c926f66b644f12c5
4
+ data.tar.gz: 2218767104f3f7d57e9ee2c047e6817074e4d5c7
5
5
  SHA512:
6
- metadata.gz: acac6377e5eae9c6ed5a248e7a6268a2c57a4e4b543c756c93b1a6261fb8ca774be1afce9f5befa698f3780983ec6c4fa8c49c0ee3f244bede921b8a1a0310e9
7
- data.tar.gz: d9f74bb2b6f837c7baf6d5953198fffa36e31d452a52b240d1a3f7c67fba9b69d622260529d97cf12797496b567f15b0eb6e18ba991965f0782ec86d113bdcf5
6
+ metadata.gz: 179907732eb3b4114c19ef4c84727bea6d2047146508b79495596a306e9244fdff2420da2428ea7074a991c98c1386ad37e47e5e749fe8062781bbaa657b0b8e
7
+ data.tar.gz: 47925a5c6536c22e1e83dff08e4c1201d0bc61d7a41f1c4de571bea3848f44cbb099729189f4ee76957b9319ae6bd07651f024f2536905627074734710123648
@@ -35,34 +35,15 @@ module Wovnrb
35
35
  # pass to application
36
36
  status, res_headers, body = @app.call(headers.request_out)
37
37
 
38
- Rails.logger.info(res_headers["Content-Type"])
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
51
38
  if res_headers["Content-Type"] =~ /html/# && !body[0].nil?
52
- Rails.logger.info("HTML REQUEST")
53
39
 
54
40
  values = STORE.get_values(headers.redis_url)
55
- Rails.logger.info("VALUES: #{values.count}")
56
41
  url = {
57
42
  :protocol => headers.protocol,
58
43
  :host => headers.host,
59
44
  :pathname => headers.pathname
60
45
  }
61
- Rails.logger.info("SWITCH LANG")
62
- Rails.logger.info("BODY: #{body}")
63
46
  body = switch_lang(body, values, url, lang, headers) unless status.to_s =~ /^1|302/
64
- Rails.logger.info("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~SWITCHED~~~~~~~~~~~~~~~~~~~~~~~~~")
65
- Rails.logger.info("BODY: #{body}")
66
47
 
67
48
  content_length = 0
68
49
  body.each { |b| content_length += b.respond_to?(:bytesize) ? b.bytesize : 0 }
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = "0.1.48"
2
+ VERSION = "0.1.49"
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.48
4
+ version: 0.1.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandford