-
Notifications
You must be signed in to change notification settings - Fork 1
/
ecdict.gemspec
34 lines (28 loc) · 951 Bytes
/
ecdict.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
require 'date'
require_relative './lib/ecdict'
Gem::Specification.new do |s|
s.name = "ecdict"
s.version = ECDict::VERSION
s.date = Date.today.to_s
s.summary = "ecdict: English-to-Chinese dictionary on the cli."
s.description = <<DESC
This command line tool `ecdict` is used to translate English to Chinese using a huge dictionary called `ECDICT` which include 3.4 million words.
DESC
s.license = "MIT"
s.authors = "ccmywish"
s.email = "[email protected]"
s.homepage = "https://gitee.com/ccmywish/ecdict"
s.files = [
'bin/ecdict',
'lib/ecdict.rb'
]
s.executables = ["ecdict"]
s.add_dependency 'sqlite3', "~> 1.4"
s.add_dependency 'progress_bar', "~> 1.3"
s.add_dependency "seven_zip_ruby", "~> 1.3"
s.add_dependency "ls_table", "~> 0.1"
s.metadata = {
"bug_tracker_uri" => "https://gitee.com/ccmywish/ecdict/issues",
"source_code_uri" => "https://gitee.com/ccmywish/ecdict"
}
end