-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathi18n_yml_tools.gemspec
45 lines (37 loc) · 1.67 KB
/
i18n_yml_tools.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'i18n_po_tools/version'
Gem::Specification.new do |spec|
spec.name = "i18n_po_tools"
spec.version = I18nPoTools::VERSION
spec.authors = ["Igor Stepin"]
spec.email = ["[email protected]"]
spec.homepage = "http://github.com/stepin/#{spec.name}"
spec.license = "MIT"
spec.summary = "Utils to convert translations from source formats to PO/POT Gettex and vise versa."
spec.description = <<EOF
Utils to convert translations from source formats to PO/POT Gettex and vise versa.
It allows to separate translations from development of apps.
Supported input/output formats: iOS and OS X String Resources, Android String XML,
Gettext PO/POT, Rails YAML, Basic flat YAML, Java properties,
CVS for easy exchange with other apps.
Direct converation between any formats supported.
Rails YAML and PO supports plural forms of messages.
EOF
spec.files = `git ls-files`.split($/)
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"]
#for Android files support
spec.add_runtime_dependency "nokogiri"
#for PO files support
spec.add_runtime_dependency "get_pomo", "= 0.9.0"
#for blank?/present?
spec.add_runtime_dependency "activesupport", "~> 4.1.6"
#for Java .properties file format
spec.add_runtime_dependency "java-properties", "~> 0.0.2"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "gem-release"
end