forked from Eric-Guo/wechat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wechat.gemspec
28 lines (23 loc) · 1.08 KB
/
wechat.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
version = File.read(File.expand_path('../VERSION', __FILE__)).strip
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.authors = ['Skinnyworm', 'Eric Guo']
s.email = '[email protected]'
s.homepage = 'https://github.com/Eric-Guo/wechat'
s.name = 'wechat'
s.version = version
s.licenses = ['MIT']
s.summary = 'DSL for wechat message handling and API'
s.description = 'API, command and message handling for WeChat in Rails'
s.files = Dir['{bin,lib}/**/*'] + %w(LICENSE README.md README-CN.md CHANGELOG.md)
s.executables << 'wechat'
s.cert_chain = ['certs/Eric-Guo.pem']
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME.end_with?('gem')
s.add_runtime_dependency 'activesupport', '>= 3.2', '< 5.1.x'
s.add_runtime_dependency 'nokogiri', '>=1.6.0'
s.add_runtime_dependency 'thor'
s.add_runtime_dependency 'http', '>= 1.0.4', '< 3'
s.add_development_dependency 'rspec-rails', '~> 3.5'
s.add_development_dependency 'rails', '>= 5'
s.add_development_dependency 'sqlite3'
end