From f5ba7204fac9f07dfef754f615982f85ad81bc25 Mon Sep 17 00:00:00 2001 From: Joost Baaij Date: Mon, 4 Jul 2022 11:25:53 +0200 Subject: [PATCH] prepare 3.0.0 release --- Gemfile.lock | 11 ++++++----- LICENSE | 2 +- UPGRADING | 11 +++++++++++ lib/rack/maintenance/version.rb | 2 +- rack-maintenance.gemspec | 3 ++- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 79f4346..daf704b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,15 +1,16 @@ PATH remote: . specs: - rack-maintenance (2.1.0) - rack (>= 1.0) + rack-maintenance (3.0.0) + rack (>= 2.1.4) + rake (>= 12.3.3) GEM remote: http://rubygems.org/ specs: diff-lcs (1.2.5) - rack (1.6.4) - rake (10.1.1) + rack (2.2.4) + rake (13.0.6) rspec (2.14.1) rspec-core (~> 2.14.0) rspec-expectations (~> 2.14.0) @@ -28,4 +29,4 @@ DEPENDENCIES rspec (>= 2.0) BUNDLED WITH - 1.12.5 + 2.3.17 diff --git a/LICENSE b/LICENSE index 8596590..23e1f02 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Copyright (c) 2009 David Dollar -Copyright (c) 2012 - present Space Babies +Copyright (c) 2012 - 2022 Joost Baaij Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/UPGRADING b/UPGRADING index f51eae0..2c35d08 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1,3 +1,14 @@ +******** Rack::Maintenance 3.0.0 ********* + +This gem now requires rack version 2.1.4 or higher. + +The reason for this change is that earlier versions have +security vulnerabilities. Because of this major change, I +took the time to require up-to-date versions of all +dependencies. + +Rack::Maintenance 3.0.0 should be a drop-in upgrade. + ******** Rack::Maintenance 2.0.0 ********* diff --git a/lib/rack/maintenance/version.rb b/lib/rack/maintenance/version.rb index a1b7d3f..c4961ed 100644 --- a/lib/rack/maintenance/version.rb +++ b/lib/rack/maintenance/version.rb @@ -1,5 +1,5 @@ module Rack class Maintenance - VERSION = "2.1.0" + VERSION = "3.0.0" end end diff --git a/rack-maintenance.gemspec b/rack-maintenance.gemspec index 3968611..3721998 100644 --- a/rack-maintenance.gemspec +++ b/rack-maintenance.gemspec @@ -16,6 +16,7 @@ Gem::Specification.new do |s| s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE", "Rakefile", "README.rdoc"] s.test_files = Dir["spec/**/*"] - s.add_dependency "rack", ">= 1.0" + s.add_dependency "rack", ">= 2.1.4" + s.add_dependency "rake", ">= 12.3.3" s.add_development_dependency "rspec", ">= 2.0" end