-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgoogle_translate_diff.gemspec
51 lines (43 loc) · 1.7 KB
/
google_translate_diff.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "google_translate_diff/version"
# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |spec|
spec.name = "google_translate_diff"
spec.version = GoogleTranslateDiff::VERSION
spec.authors = ["Victor Sokolov"]
spec.email = ["[email protected]"]
spec.summary = %(
Google Translate API wrapper for Ruby which helps to translate only changes
between revisions of long texts.
)
spec.description = %(
Google Translate API wrapper for Ruby which helps to translate only changes
between revisions of long texts.
)
spec.homepage = "https://github.com/gzigzigzeo/google_translate_diff"
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.14"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
spec.add_development_dependency "simplecov"
spec.add_dependency "google-cloud-translate"
spec.add_dependency "ox"
spec.add_dependency "dry-initializer"
spec.add_dependency "punkt-segmenter"
end
# rubocop:enable Metrics/BlockLength