-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcodebot.gemspec
49 lines (40 loc) · 1.73 KB
/
codebot.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'codebot/metadata'
def description
text = <<-DESCRIPTION
Codebot is an IRC bot that receives GitHub webhooks and forwards them to
IRC channels. It is designed to send messages in a format similar to that
of the official GitHub IRC Service. Codebot is able to stay connected after
sending messages. This eliminates the delays and visual clutter caused by
reconnecting each time a new message has to be delivered.
DESCRIPTION
text.gsub(/\s+/, ' ').strip
end
Gem::Specification.new do |spec|
spec.name = 'codebot'
spec.version = Codebot::VERSION
spec.authors = ['Janik Rabe', 'Ola Bini']
spec.email = ['[email protected]']
spec.summary = 'Forward GitHub webhooks to IRC channels'
spec.description = description
spec.homepage = 'https://github.com/olabini/codebot'
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.license = 'MIT'
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.2.0'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.8'
spec.add_development_dependency 'rubocop', '~> 0.65.0'
spec.add_runtime_dependency 'cinch', '~> 2.3'
spec.add_runtime_dependency 'cinch-identify', '~> 1.7'
spec.add_runtime_dependency 'irb', '~> 1.0'
spec.add_runtime_dependency 'sinatra', '~> 2.0'
spec.add_runtime_dependency 'thor', '~> 0.20.0'
end