-
Notifications
You must be signed in to change notification settings - Fork 371
/
wechat.gemspec
42 lines (35 loc) · 1.68 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# frozen_string_literal: true
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 = File.read(File.expand_path('VERSION', __dir__)).strip
s.licenses = ['MIT']
s.summary = 'DSL for wechat message handling and API'
s.description = 'API, command and message handling for WeChat in Rails'
s.required_ruby_version = '>= 2.7'
s.required_rubygems_version = ">= 3.1.6"
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.metadata = {
'bug_tracker_uri' => 'https://github.com/Eric-Guo/wechat/issues',
'changelog_uri' => 'https://github.com/Eric-Guo/wechat/releases',
'documentation_uri' => "https://github.com/Eric-Guo/wechat/tree/v#{s.version}#readme",
'source_code_uri' => "https://github.com/Eric-Guo/wechat/tree/v#{s.version}",
'rubygems_mfa_required' => 'true'
}
s.add_runtime_dependency 'activesupport', '>= 6.0', '< 9'
s.add_runtime_dependency 'http', '>= 1.0.4', '< 6'
s.add_runtime_dependency 'nokogiri', '>= 1.6.0'
s.add_runtime_dependency 'thor'
s.add_runtime_dependency 'rexml'
s.add_runtime_dependency 'zeitwerk', '~> 2.4'
s.add_development_dependency 'rubocop', '~> 1.68.0'
s.add_development_dependency 'rails', '>= 8.0.0'
s.add_development_dependency 'rspec-rails', '~> 7.1'
s.add_development_dependency 'rspec-mocks', '~> 3.13'
s.add_development_dependency 'sqlite3', '~> 2.0'
end