-
Notifications
You must be signed in to change notification settings - Fork 113
/
dex-oracle.gemspec
43 lines (38 loc) · 1.63 KB
/
dex-oracle.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
# -*- encoding: utf-8 -*-
$LOAD_PATH.push('lib')
require 'dex-oracle/version'
Gem::Specification.new do |s|
s.name = 'dex-oracle'
s.version = DexOracle::VERSION.dup
s.date = '2018-12-13'
s.license = 'MIT'
s.summary = 'Pattern based Dalvik deobfuscator'
s.email = '[email protected]'
s.homepage = 'https://github.com/CalebFenton/dex-oracle'
s.authors = ['Caleb Fenton']
s.description = <<-EOF
A pattern based Dalvik deobfuscator which uses limited execution to improve semantic analysis.
EOF
dependencies = [
[:runtime, 'rubyzip', '~> 1.1', '>= 1.1.0'],
[:development, 'rspec', '~> 3.4', '>= 3.4.0'],
[:development, 'rspec-its', '~> 1.2', '>= 1.2.0'],
[:development, 'rspec-mocks', '~> 3.4', '>= 3.4.0'],
]
exclude_files = Dir['driver/{build,bin}/**/*'] + Dir['sandbox/**/*'] + Dir['coverage/**/*'] + Dir['docker/**/*'] + %w(driver/build driver/bin sandbox coverage docker .dockerignore)
s.files = Dir['**/*'] - exclude_files
s.test_files = Dir['test/**/*'] + Dir['spec/**/*']
s.executables = Dir['bin/*'].map { |f| File.basename(f) }
s.require_paths = %w(lib res)
## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = '2.2'
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
s.specification_version = 3 if s.respond_to? :specification_version
dependencies.each do |type, name, pversion, version|
if s.respond_to?("add_#{type}_dependency")
s.send("add_#{type}_dependency", name, pversion, version)
else
s.add_dependency(name, pversion, version)
end
end
end