Sha256: b56391998167f3992d72aa2ef543a5e87a7088b87e5f978032b4ea419b029a20

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rack/user-locale/version"

Gem::Specification.new do |spec|
  spec.name          = "rack-user-locale"
  spec.version       = Rack::UserLocale::VERSION
  spec.authors       = ["Stuart Chinery"]
  spec.email         = ["stuart.chinery@gmail.com"]

  spec.summary       = "A Rack module for getting and setting a user's locale"
  spec.description   = "A Rack module for getting and setting a user's locale via a cookie or browser default language."
  spec.homepage      = "https://github.com/schinery/rack-user-locale"
  spec.license       = "MIT"

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency "i18n", ">= 0.6.6"
  spec.add_dependency "rack", ">= 1.6.11"

  spec.add_development_dependency "bundler", "~> 1.17.2"
  spec.add_development_dependency "minitest", "~> 5.11.3"
  spec.add_development_dependency "minitest-fail-fast", "~> 0.1.0"
  spec.add_development_dependency "minitest-macos-notification", "~> 0.0.5"
  spec.add_development_dependency "minitest-reporters", "~> 1.3.5"
  spec.add_development_dependency "rack-test", "~> 1.1.0"
  spec.add_development_dependency "rake", "~> 12.3.2"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-user-locale-0.2.2 rack-user-locale.gemspec