rack-locale_chooser 0.9 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,6 +85,7 @@ module Rack::LocaleChooser
85
85
  def set_locale
86
86
  I18n.locale = @env['rack.locale'] = locale.to_sym
87
87
  @env['rack.city'] = geo_record.city if geo_record
88
+ @env['rack.country_code'] = geo_record.country_code if geo_record
88
89
  end
89
90
 
90
91
  def localized_url
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module LocaleChooser
3
- VERSION = "0.9"
3
+ VERSION = "1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-locale_chooser
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 9
9
- version: "0.9"
9
+ version: "1.0"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Jefferson Jean Martins Gir\xC3\xA3o"