rack-locale_chooser 1.6 → 1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,8 @@ module Rack::LocaleChooser
5
5
  def initialize(app, options = {})
6
6
  @app, @options = app, {
7
7
  :default_domain => 'example.com',
8
- :geodb_path => '/usr/local/Cellar/geoip/1.4.6/share/GeoIP/GeoLiteCity.dat'
8
+ :geodb_path => '/usr/local/Cellar/geoip/1.4.6/share/GeoIP/GeoLiteCity.dat',
9
+ :host_mappings => {}
9
10
  }.merge(options)
10
11
  @geodb = Net::GeoIP.new(@options[:geodb_path])
11
12
  @logger = options[:logger]
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module LocaleChooser
3
- VERSION = "1.6"
3
+ VERSION = "1.7"
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: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 6
9
- version: "1.6"
8
+ - 7
9
+ version: "1.7"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Jefferson Jean Martins Gir\xC3\xA3o"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-24 00:00:00 -03:00
17
+ date: 2011-01-24 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency