forked from attilahorvath/i18n-globals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i18n-globals.gemspec
26 lines (22 loc) · 1.24 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
# 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.add_development_dependency 'bundler', '~> 1.6'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'minitest'
spec.add_runtime_dependency 'i18n'
end