-
Notifications
You must be signed in to change notification settings - Fork 98
/
discordrb.gemspec
51 lines (43 loc) · 2.13 KB
/
discordrb.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
50
51
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'discordrb/version'
Gem::Specification.new do |spec|
spec.name = 'discordrb'
spec.version = Discordrb::VERSION
spec.authors = %w[meew0 swarley]
spec.email = ['']
spec.summary = 'Discord API for Ruby'
spec.description = 'A Ruby implementation of the Discord (https://discord.com) API.'
spec.homepage = 'https://github.com/shardlab/discordrb'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|examples|lib/discordrb/webhooks)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.metadata = {
'bug_tracker_uri' => 'https://github.com/shardlab/discordrb/issues',
'changelog_uri' => 'https://github.com/shardlab/discordrb/blob/main/CHANGELOG.md',
'documentation_uri' => 'https://github.com/shardlab/discordrb/wiki',
'source_code_uri' => 'https://github.com/shardlab/discordrb',
'rubygems_mfa_required' => 'true'
}
spec.require_paths = ['lib']
spec.add_dependency 'base64', '~> 0.2.0'
spec.add_dependency 'ffi', '>= 1.9.24'
spec.add_dependency 'opus-ruby'
spec.add_dependency 'rest-client', '>= 2.0.0'
spec.add_dependency 'websocket-client-simple', '>= 0.3.0'
spec.add_dependency 'discordrb-webhooks', '~> 3.5.0'
spec.required_ruby_version = '>= 3.1'
spec.add_development_dependency 'bundler', '>= 1.10', '< 3'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'redcarpet', '~> 3.5' # YARD markdown formatting
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.5'
spec.add_development_dependency 'rspec-prof', '~> 0.0'
spec.add_development_dependency 'rubocop', '~> 1.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.0'
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
spec.add_development_dependency 'simplecov', '~> 0.21'
spec.add_development_dependency 'yard', '~> 0.9'
end