-
Notifications
You must be signed in to change notification settings - Fork 6
/
easemob.gemspec
32 lines (27 loc) · 1.38 KB
/
easemob.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'easemob/version'
Gem::Specification.new do |spec|
spec.name = 'easemob'
spec.version = Easemob::VERSION
spec.authors = ['Eric Guo']
spec.email = ['eric.guocz@gmail.com']
spec.summary = 'An unofficial Easemob IM(instant message) service integration gem'
spec.description = 'Helping rubyist integration with Easemob IM service (环信 - 即时通讯云) easier.'
spec.homepage = 'https://github.com/bayetech/easemob'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.5'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end - %w(CODE_OF_CONDUCT.md easemob.sublime-project Gemfile Rakefile easemob.gemspec bin/setup bin/console certs/Eric-Guo.pem)
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.cert_chain = ['certs/Eric-Guo.pem']
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME.end_with?('gem')
spec.add_runtime_dependency 'http', '>= 2.0.3', '< 6'
spec.add_runtime_dependency 'connection_pool', '>= 2.2', '< 3'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
end