-
Notifications
You must be signed in to change notification settings - Fork 0
/
translatomatic.gemspec
57 lines (47 loc) · 1.93 KB
/
translatomatic.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
46
47
48
49
50
51
52
53
54
55
56
57
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'translatomatic/version'
Gem::Specification.new do |spec|
spec.name = 'translatomatic'
spec.version = Translatomatic::VERSION
spec.authors = ['Andrew Williams']
spec.email = ['contact@smugglys.com']
spec.summary = 'File translation and conversion utility'
spec.homepage = Translatomatic::URL
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'bin'
spec.executables = %w[translatomatic]
spec.require_paths = ['lib']
spec.metadata['yard.run'] = 'yri' # use "yard" to build full HTML docs.
spec.required_ruby_version = '>= 2.2'
# development
spec.add_development_dependency 'bundler', '~> 1'
spec.add_development_dependency 'rake', '~> 10'
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'rspec-mocks', '~> 3'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'webmock'
# translation
spec.add_dependency 'google_web_translate', '~> 0.2.3'
# resource file parsing
spec.add_dependency 'kramdown' # markdown -> html
spec.add_dependency 'nokogiri'
spec.add_dependency 'PoParser'
spec.add_dependency 'reverse_markdown' # html -> markdown
spec.add_dependency 'treetop'
spec.add_dependency 'rchardet'
spec.add_dependency 'titlekit'
# misc
spec.add_dependency 'activerecord', '~> 5'
spec.add_dependency 'i18n'
spec.add_dependency 'i18n_data' # iso country/language codes
spec.add_dependency 'rails-i18n', '~> 5' # date/time/currency formats
spec.add_dependency 'ruby-progressbar'
spec.add_dependency 'thor', '= 0.20.0' # using monkey patch
spec.add_dependency 'builder'
spec.add_dependency 'http-cookie', '~> 1'
spec.add_dependency 'rainbow', '~> 3'
end