-
Notifications
You must be signed in to change notification settings - Fork 9
/
i18n-globals.gemspec
29 lines (24 loc) · 1.36 KB
/
i18n-globals.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
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'i18n/globals/version'
Gem::Specification.new do |spec|
spec.name = 'i18n-globals'
spec.version = I18n::Globals::VERSION
spec.authors = ['Attila Horvath']
spec.email = ['[email protected]']
spec.summary = %q{ Adds support for I18n global variables, which will be available for interpolation into every translation.}
spec.description = %q{ Extends the Ruby I18n gem with global variables. The globals will be available for interpolation in every translation without explicitly specifying them in a call to I18n.translate. The variables can be accessed through I18n.config.globals.}
spec.homepage = 'https://github.com/attilahorvath/i18n-globals'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.0'
spec.add_development_dependency 'bundler', '>= 1.7.6'
spec.add_development_dependency 'rake', '~> 11.2.2'
spec.add_development_dependency 'minitest', '~> 5.9.0'
spec.add_development_dependency 'rubocop', '~> 0.42.0'
spec.add_runtime_dependency 'i18n'
end