Drop minimum Ruby version to 2.2.0

Put the baseline at 2.2.0 because Ruby is now using SemVer and any 2.2.x
release should still be compatible.
This commit is contained in:
Trevor Bramble 2015-09-05 13:46:17 -07:00
parent bebfac5131
commit 6e3ccf5a83
2 changed files with 5 additions and 5 deletions

View File

@ -2871,9 +2871,9 @@ thin --threaded start
The following Ruby versions are officially supported:
<dl>
<dt>Ruby 2.2.2+</dt>
<dt>Ruby 2.2</dt>
<dd>
2.2.2 is fully supported and recommended. There are currently no plans to
2.2 is fully supported and recommended. There are currently no plans to
drop official support for it.
</dd>
@ -2916,7 +2916,7 @@ implementation.
If you run MacRuby, you should `gem install control_tower`.
Sinatra currently doesn't run on Cardinal, SmallRuby, BlueRuby or any
Ruby version prior to 1.8.7.
Ruby version prior to 2.2.
## The Bleeding Edge
@ -2946,7 +2946,7 @@ Then, in your project directory, create a `Gemfile`:
```ruby
source 'https://rubygems.org'
gem 'sinatra', :github => "sinatra/sinatra"
gem 'sinatra', :github => 'sinatra/sinatra'
# other dependencies
gem 'haml' # for instance, if you use haml

View File

@ -13,7 +13,7 @@ Gem::Specification.new 'sinatra', Sinatra::VERSION do |s|
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]
s.required_ruby_version = '>= 2.2.2'
s.required_ruby_version = '>= 2.2.0'
s.add_dependency 'rack', '>= 1.6'
s.add_dependency 'tilt', '~> 2.0'