Sha256: 1fe86461091b1ab4373104d1147fe5764ae4f2d184ea5cb075da7175be70af0a

Contents?: true

Size: 952 Bytes

Versions: 10

Compression:

Stored size: 952 Bytes

Contents

# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name        = "rack-geo-locale"
  s.version     = File.read('VERSION').to_s
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Joakim Ekberg"]
  s.email       = ["joakim@wrapp.com"]
  s.homepage    = "https://github.com/wrapp/rack-geo-locale"
  s.summary     = "Rack middleware used to guess the visitors locale based on GeoIP and HTTP_ACCEPT_LANGUAGE."
  s.description = "Simple Rack middleware for setting the locale.country via GeoIP using the MaxMind GeoIP database, and setting the locale.languages based on the HTTP_ACCEPT_LANGUAGE header."


  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {spec}/*`.split("\n")
  s.require_paths = ["lib"]

  s.add_development_dependency "rspec"
  s.add_development_dependency "rack-test"
  s.add_development_dependency "guard-rspec"
  s.add_runtime_dependency "rack"
  s.add_runtime_dependency "geoip"
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rack-geo-locale-0.0.11 rack-geo-locale.gemspec
rack-geo-locale-0.0.10 rack-geo-locale.gemspec
rack-geo-locale-0.0.8 rack-geo-locale.gemspec
rack-geo-locale-0.0.7 rack-geo-locale.gemspec
rack-geo-locale-0.0.6 rack-geo-locale.gemspec
rack-geo-locale-0.0.5 rack-geo-locale.gemspec
rack-geo-locale-0.0.4 rack-geo-locale.gemspec
rack-geo-locale-0.0.3 rack-geo-locale.gemspec
rack-geo-locale-0.0.2 rack-geo-locale.gemspec
rack-geo-locale-0.0.1 rack-geo-locale.gemspec