-
Notifications
You must be signed in to change notification settings - Fork 3
/
locale_detector.gemspec
28 lines (23 loc) · 1.18 KB
/
locale_detector.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "locale_detector/version"
Gem::Specification.new do |s|
s.name = "locale_detector"
s.version = LocaleDetector::VERSION
s.authors = ["Paweł Gościcki"]
s.email = ["pawel.goscicki@gmail.com"]
s.homepage = "https://github.com/Exvo/locale_detector"
s.summary = "Rails gem setting the I18n.locale based on user's browser language"
s.description = "Parses HTTP_ACCEPT_LANGUAGE http header and sets the I18n.locale based on that, if it's missing it uses toplevel regional domain suffix or falls back to I18n.default_locale"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.licenses = ['MIT']
s.add_dependency 'rails', ['>= 3.0.0']
s.add_dependency 'i18n', ['>= 0.5.0']
s.add_development_dependency 'guard', ['>= 0.5.0']
s.add_development_dependency 'guard-rspec', ['>= 0.4.0']
s.add_development_dependency 'rspec', ['>= 2.6']
s.add_development_dependency 'rspec-rails', ['>= 2.6']
end