You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.8 KiB
52 lines
1.8 KiB
# coding: utf-8
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = 'cryptcheck'
|
|
spec.version = '2.0.0'
|
|
spec.authors = ['Aeris']
|
|
spec.email = ['aeris+tls@imirhil.fr']
|
|
|
|
spec.summary = %q{Check best practices on crypto-stack implementation}
|
|
spec.description = %q{Verify if best practices are well implemented on current crypto-stack (TLS & SSH) protocol (HTTPS, SMTP, XMPP, SSH & VPN)}
|
|
spec.homepage = 'https://tls.imirhil.fr'
|
|
spec.license = 'AGPL-3.0+'
|
|
|
|
if spec.respond_to?(:metadata)
|
|
spec.metadata['allowed_push_host'] = 'TODO: Set to "http://mygemserver.com"'
|
|
else
|
|
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
|
end
|
|
|
|
spec.files = { '*.rb' => %w(lib) }.collect_concat do |e, ds|
|
|
ds.collect_concat do |d|
|
|
Dir[File.join d, '**', e]
|
|
end
|
|
end
|
|
# spec.bindir = 'bin'
|
|
# spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
# spec.test_files = spec.files.grep(%r{^spec/})
|
|
spec.require_paths = %w(lib)
|
|
|
|
spec.add_development_dependency 'bundler'
|
|
spec.add_development_dependency 'rake'
|
|
spec.add_development_dependency 'rspec'
|
|
spec.add_development_dependency 'ffi'
|
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4')
|
|
# pry-byebug supports 2.3 only up to 3.6.x
|
|
spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
|
|
# and there is a bug if using more than pry 0.12.x
|
|
spec.add_development_dependency 'pry', '~> 0.12.2'
|
|
else
|
|
spec.add_development_dependency 'pry-byebug'
|
|
end
|
|
|
|
spec.add_dependency 'httparty'
|
|
spec.add_dependency 'nokogiri'
|
|
spec.add_dependency 'parallel'
|
|
spec.add_dependency 'ruby-progressbar'
|
|
spec.add_dependency 'colorize'
|
|
spec.add_dependency 'amazing_print'
|
|
spec.add_dependency 'thor'
|
|
end
|
|
|