wovnrb 0.1.22 → 0.1.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b79a859dfa398223e3ceb291d0771e4d7069fc0f
4
- data.tar.gz: 75be31d3c1423a5e95a234d5a0cdacdebc64e564
3
+ metadata.gz: 56ffbffea5333786dafc41be0cbf86c6cdab5a8e
4
+ data.tar.gz: c3a69b57fa89f702122297d44e05bb7a20d7e71c
5
5
  SHA512:
6
- metadata.gz: 0e492b708289d23cf4c87e5c91f2ca72b8d97196b848a2e3d2d061f7b575725b364a908c488172185105da7a10a72d3ed9f26e68177d148adfdd758b566612bc
7
- data.tar.gz: 76fb63be272a06c41bdb1eed44f9c167e1dc810e0d3386fcb7bbda4918a2850cf8ef6793756663b1b6f3742f543c8f91b6c4f3e1522bb707551a2eba9a61445c
6
+ metadata.gz: 6b8952d7fd705848a6d80f318324f97511f20f8f861035a2b96e1de2200034533c85294f3da5052b5570a0b01ef298f0e7a0c36cc0f2124e8315f53f180ee680
7
+ data.tar.gz: 016edde1c4ef1c0821309fac2ce439d1e1f3ec142bbdb51a69fd0a41564ae3639062bf6b5b368441bfe17dba178a8b90dc13e92ce3703248677eeb8d52feff8e
@@ -11,6 +11,12 @@ module Wovnrb
11
11
  attr_reader :redis_url
12
12
 
13
13
  def initialize(env, settings)
14
+ Rails.logger.error("***************************************ENV**********************")
15
+ Rails.logger.error(@env)
16
+ Rails.logger.error("***************************************ENV**********************")
17
+ Rails.logger.error("****************************SETTINGS****************************")
18
+ Rails.logger.error(settings)
19
+ Rails.logger.error("****************************SETTINGS****************************")
14
20
  @env = env
15
21
  @protocol = @env['rack.url_scheme']
16
22
  @unmasked_host = @env['HTTP_HOST']
data/lib/wovnrb/store.rb CHANGED
@@ -71,7 +71,7 @@ module Wovnrb
71
71
  if @settings['url_pattern_name'] == 'path'
72
72
  @settings['url_pattern_reg'] = "/(?<lang>[^/.?]+)"
73
73
  elsif @settings['url_pattern_name'] == 'query'
74
- @settings['url_pattern_reg'] = "((\?.*&)|\?)wovn=(?<lang>[^&]+)(&|$)"
74
+ @settings['url_pattern_reg'] = "((\\?.*&)|\\?)wovn=(?<lang>[^&]+)(&|$)"
75
75
  end
76
76
  @settings
77
77
  end
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = "0.1.22"
2
+ VERSION = "0.1.23"
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.22
4
+ version: 0.1.23
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-17 00:00:00.000000000 Z
12
+ date: 2015-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogumbo