Sha256: cd62424dd20b88a916189b3817a3d5117a440f00e6d447fc5b993e6a8e4d5c6f
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true version = File.read(File.expand_path('../VERSION', __dir__)).strip Gem::Specification.new do |s| # general infos s.name = 'rack-protection' s.version = version s.description = 'Protect against typical web attacks, works with all Rack apps, including Rails.' s.homepage = 'https://sinatrarb.com/protection/' s.summary = s.description s.license = 'MIT' s.authors = ['https://github.com/sinatra/sinatra/graphs/contributors'] s.email = 'sinatrarb@googlegroups.com' s.files = Dir['lib/**/*.rb'] + [ 'License', 'README.md', 'Rakefile', 'Gemfile', 'rack-protection.gemspec' ] unless s.respond_to?(:metadata) raise <<-WARN RubyGems 2.0 or newer is required to protect against public gem pushes. You can update your rubygems version by running: gem install rubygems-update update_rubygems: gem update --system WARN end s.metadata = { 'source_code_uri' => 'https://github.com/sinatra/sinatra/tree/main/rack-protection', 'homepage_uri' => 'http://sinatrarb.com/protection/', 'documentation_uri' => 'https://www.rubydoc.info/gems/rack-protection', 'rubygems_mfa_required' => 'true' } s.required_ruby_version = '>= 2.6.0' # dependencies s.add_dependency 'rack' s.add_development_dependency 'rack-test', '~> 2' s.add_development_dependency 'rspec', '~> 3' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-protection-3.0.6 | rack-protection.gemspec |