-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmethodray.gemspec
More file actions
48 lines (41 loc) · 1.41 KB
/
methodray.gemspec
File metadata and controls
48 lines (41 loc) · 1.41 KB
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
# frozen_string_literal: true
require_relative 'lib/methodray/version'
Gem::Specification.new do |spec|
spec.name = 'method-ray'
spec.version = MethodRay::VERSION
spec.authors = ['dak2']
spec.email = ['dak2.dev@gmail.com']
spec.summary = 'Method-Ray is a fast static analysis tool for Ruby methods.'
spec.description = <<~DESCRIPTION
Method-Ray is a static analysis tool that checks the callability of methods in Ruby code.
It uses graph-based type inference to detect undefined method calls at analysis time.
DESCRIPTION
spec.homepage = 'https://github.com/dak2/method-ray'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.4.0'
spec.metadata = {
'homepage_uri' => spec.homepage,
'source_code_uri' => spec.homepage,
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md",
'bug_tracker_uri' => "#{spec.homepage}/issues",
'rubygems_mfa_required' => 'true'
}
spec.files = Dir[
'lib/**/*.rb',
'lib/methodray/*.{so,dylib,dll,bundle}', # Precompiled native extensions
'exe/*',
'ext/**/*',
'core/**/*.rs',
'core/Cargo.toml',
'core/Cargo.lock',
'README.md',
'LICENSE',
'CHANGELOG.md'
]
spec.bindir = 'exe'
spec.executables = ['methodray']
spec.require_paths = ['lib']
spec.extensions = ['ext/extconf.rb']
# Runtime dependencies
spec.add_dependency 'rbs', '~> 3.0'
end