Sha256: 0f5da0a3d1c3b075b8259c90a0e43287af98c905a0ed65eb04e896c46e8eccf0
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 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.7.8' # dependencies s.add_dependency 'base64', '>= 0.1.0' s.add_dependency 'rack', '>= 3.0.0', '< 4' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-protection-4.0.0 | rack-protection.gemspec |