lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'cms_scanner/version' Gem::Specification.new do |s| s.name = 'cms_scanner' s.version = CMSScanner::VERSION s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 2.3' s.authors = ['WPScanTeam'] s.email = ['team@wpscan.org'] s.summary = 'CMS Scanner Framework (experimental)' s.description = 'Framework to provide an easy way to implement CMS Scanners' s.homepage = 'https://github.com/wpscanteam/CMSScanner' s.license = 'MIT' s.files = `git ls-files -z`.split("\x0").reject do |file| file =~ %r{^(?: spec\/.* |Gemfile |Rakefile |\.rspec |\.gitignore |\.rubocop.yml |\.travis.yml )$}x end s.test_files = [] s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } s.require_path = 'lib' s.add_dependency 'nokogiri', '~> 1.8.0' s.add_dependency 'opt_parse_validator', '~> 0.0.14.1' s.add_dependency 'public_suffix', '~> 3.0.0' s.add_dependency 'ruby-progressbar', '~> 1.9.0' s.add_dependency 'typhoeus', '~> 1.3.0' s.add_dependency 'yajl-ruby', '~> 1.3.0' # Better JSON parser regarding memory usage # Already required by opt_parse_validator # so version restriction loosen to avoid potential future conflicts s.add_dependency 'activesupport', '~> 5.0' s.add_dependency 'addressable', '~> 2.5' s.add_development_dependency 'bundler', '~> 1.6' s.add_development_dependency 'coveralls', '~> 0.8.0' s.add_development_dependency 'rake', '~> 12.0' s.add_development_dependency 'rspec', '~> 3.7.0' s.add_development_dependency 'rspec-its', '~> 1.2.0' s.add_development_dependency 'rubocop', '~> 0.52.0' s.add_development_dependency 'simplecov', '~> 0.14.0' # Can't update to 0.15 as it breaks coveralls dep s.add_development_dependency 'webmock', '~> 3.1.0' end