-
Notifications
You must be signed in to change notification settings - Fork 12
/
pwntools.gemspec
49 lines (42 loc) · 1.95 KB
/
pwntools.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 'date'
require 'pwnlib/version'
Gem::Specification.new do |s|
s.name = 'pwntools'
s.version = ::Pwnlib::VERSION
s.date = Date.today.to_s
s.summary = 'pwntools'
s.description = <<-EOS
Rewrite https://github.com/Gallopsled/pwntools in ruby.
Implement useful/easy functions first,
try to be of ruby style and don't follow original pwntools everywhere.
Would still try to have similar name whenever possible.
EOS
s.license = 'MIT'
s.homepage = 'https://github.com/peter50216/pwntools-ruby'
s.files = Dir['lib/**/*.rb'] + %w(README.md Rakefile)
s.test_files = Dir['test/**/*']
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.4'
s.add_runtime_dependency 'crabstone', '~> 4'
s.add_runtime_dependency 'dentaku', '>= 2.0.11', '< 3.6.0'
s.add_runtime_dependency 'elftools', '>= 1.0.1', '< 1.2.0'
s.add_runtime_dependency 'keystone-engine', '~> 0.9'
s.add_runtime_dependency 'method_source', '>= 0.9'
s.add_runtime_dependency 'one_gadget', '>= 1.6.2', '< 1.9.0'
s.add_runtime_dependency 'rainbow', '>= 2.2', '< 4.0'
s.add_runtime_dependency 'ruby2ruby', '~> 2.4'
s.add_runtime_dependency 'rubyserial', '~> 0.5'
# TODO(david942j): check why ruby crash during testing if upgrade minitest to 5.10.2/3
s.add_development_dependency 'minitest', '= 5.10.1'
s.add_development_dependency 'pry', '~> 0.10'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rubocop', '~> 1'
s.add_development_dependency 'simplecov', '~> 0.15', '< 0.18'
s.add_development_dependency 'tty-platform', '~> 0.1'
s.add_development_dependency 'yard', '~> 0.9'
end