-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathskyrack.gemspec
31 lines (23 loc) · 1.09 KB
/
skyrack.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "skyrack/version"
Gem::Specification.new do |s|
s.name = "skyrack"
s.version = Skyrack::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jean-Baptiste Aviat"]
s.email = ["[email protected]"]
s.homepage = "http://www.hsc.fr/"
s.summary = %q{Lists gadgets from binary files.}
s.description = %q{Lists gadgets from binary files and helps to generate ROP payloads.}
s.rubyforge_project = "skyrack"
s.add_dependency("sqlite3")
s.add_dependency("rgl")
exclude = %w(samples lib/skyrack/expr.rb todo.txt notes bin/sky_publish hscdemo doc notes pkg)
s.files = `git ls-files`.split("\n").select { |f| exclude.select { |e| f.index(e) }.size == 0 }
puts s.files
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").select { |f| exclude.select { |e| f.index(e) }.size == 0 }.map{ |f| File.basename(f) }
s.rdoc_options << '--main' << 'lib/skyrack/version.rb'
s.require_paths = ["lib"]
end