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.

53 lines
1.8KB

  1. # coding: utf-8
  2. lib = File.expand_path('../lib', __FILE__)
  3. $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  4. Gem::Specification.new do |spec|
  5. spec.name = 'cryptcheck'
  6. spec.version = '2.0.0'
  7. spec.authors = ['Aeris']
  8. spec.email = ['aeris+tls@imirhil.fr']
  9. spec.summary = %q{Check best practices on crypto-stack implementation}
  10. spec.description = %q{Verify if best practices are well implemented on current crypto-stack (TLS & SSH) protocol (HTTPS, SMTP, XMPP, SSH & VPN)}
  11. spec.homepage = 'https://tls.imirhil.fr'
  12. spec.license = 'AGPL-3.0+'
  13. if spec.respond_to?(:metadata)
  14. spec.metadata['allowed_push_host'] = 'TODO: Set to "http://mygemserver.com"'
  15. else
  16. raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
  17. end
  18. spec.files = { '*.rb' => %w(lib) }.collect_concat do |e, ds|
  19. ds.collect_concat do |d|
  20. Dir[File.join d, '**', e]
  21. end
  22. end
  23. # spec.bindir = 'bin'
  24. # spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  25. # spec.test_files = spec.files.grep(%r{^spec/})
  26. spec.require_paths = %w(lib)
  27. spec.add_development_dependency 'bundler'
  28. spec.add_development_dependency 'rake'
  29. spec.add_development_dependency 'rspec'
  30. spec.add_development_dependency 'ffi'
  31. if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4')
  32. # pry-byebug supports 2.3 only up to 3.6.x
  33. spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
  34. # and there is a bug if using more than pry 0.12.x
  35. spec.add_development_dependency 'pry', '~> 0.12.2'
  36. else
  37. spec.add_development_dependency 'pry-byebug'
  38. end
  39. spec.add_dependency 'httparty'
  40. spec.add_dependency 'nokogiri'
  41. spec.add_dependency 'parallel'
  42. spec.add_dependency 'ruby-progressbar'
  43. spec.add_dependency 'colorize'
  44. spec.add_dependency 'awesome_print'
  45. spec.add_dependency 'thor'
  46. end