er18ern 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/er18ern/version.rb +1 -1
  2. data/lib/er18ern.rb +1 -1
  3. metadata +4 -4
@@ -1,3 +1,3 @@
1
1
  module Er18Ern
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/er18ern.rb CHANGED
@@ -14,7 +14,7 @@ module Er18Ern
14
14
  I18n.locale = I18n.default_locale
15
15
  end
16
16
  status, headers, body = @app.call(env)
17
- cookie = {:value => I18n.locale, :expires => Time.now + 10.days, :domain => request.host.gsub(/^[^\.]*/,"")}
17
+ cookie = {:value => I18n.locale, :expires => Time.now + 10.days, :domain => request.host.gsub(/^[^\.]*/,""), :path => "/"}
18
18
  Rack::Utils.set_cookie_header!(headers, "eylocale", cookie)
19
19
  [status, headers, body]
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: er18ern
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacob & Others too ashamed to admit it
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-30 00:00:00 Z
18
+ date: 2012-12-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: ermahgerd