diff --git a/lib/rack/throttle/limiter.rb b/lib/rack/throttle/limiter.rb index dfeeec0..b0fc18a 100644 --- a/lib/rack/throttle/limiter.rb +++ b/lib/rack/throttle/limiter.rb @@ -23,7 +23,7 @@ class Limiter # @option options [String] :message ("Rate Limit Exceeded") # @option options [String] :type ("text/plain; charset=utf-8") def initialize(app, options = {}) - warn "[DEPRECATION] `rack-throttle` is deprecated. Please use consider using `rack-attack` https://github.com/rack/rack-attack instead." + # warn "[DEPRECATION] `rack-throttle` is deprecated. Please use consider using `rack-attack` https://github.com/rack/rack-attack instead." @app, @options = app, options end diff --git a/rack-throttle.gemspec b/rack-throttle.gemspec index b9e1565..41b137b 100644 --- a/rack-throttle.gemspec +++ b/rack-throttle.gemspec @@ -21,11 +21,9 @@ Gem::Specification.new do |gem| gem.files = %w(AUTHORS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb') gem.bindir = %q(bin) gem.executables = %w() - gem.default_executable = gem.executables.first gem.require_paths = %w(lib) gem.extensions = %w() gem.test_files = %w() - gem.has_rdoc = false gem.required_ruby_version = '>= 1.8.2' gem.requirements = [] @@ -38,9 +36,9 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'rack', '>= 1.0.0' - gem.post_install_message = <<-POST -rack-throttle is no longer under active development. Please consider -using https://github.com/rack/rack-attack instead as it is -more feature rich & well supported. - POST +# gem.post_install_message = <<-POST +# rack-throttle is no longer under active development. Please consider +# using https://github.com/rack/rack-attack instead as it is +# more feature rich & well supported. +# POST end