mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Drop ruby 1.9 support in prep for mime-types upgrade
This commit is contained in:
parent
c469b3629c
commit
d401bba528
4 changed files with 12 additions and 10 deletions
10
.travis.yml
10
.travis.yml
|
@ -3,11 +3,11 @@ os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
rvm:
|
rvm:
|
||||||
- "1.9.3"
|
|
||||||
- "2.0.0"
|
- "2.0.0"
|
||||||
- "2.1" # latest 2.1.x
|
- "2.1" # latest 2.1.x
|
||||||
- "2.2" # latest 2.2.x
|
- "2.2" # latest 2.2.x
|
||||||
- "jruby-19mode"
|
- "2.3.0" # latest 2.3.x
|
||||||
|
- "jruby-9.0.1.0"
|
||||||
- "jruby-head"
|
- "jruby-head"
|
||||||
script:
|
script:
|
||||||
bundle exec rake test
|
bundle exec rake test
|
||||||
|
@ -16,12 +16,14 @@ branches:
|
||||||
- "readme-edits"
|
- "readme-edits"
|
||||||
|
|
||||||
# These versions do not yet work on OS X on Travis
|
# These versions do not yet work on OS X on Travis
|
||||||
# (last tested: 2015-09)
|
# (last tested: 2016-02)
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
- os: osx
|
- os: osx
|
||||||
rvm: 'jruby-19mode'
|
rvm: '2.3.0'
|
||||||
- os: osx
|
- os: osx
|
||||||
rvm: '2.2'
|
rvm: '2.2'
|
||||||
|
- os: osx
|
||||||
|
rvm: 'jruby-9.0.1.0'
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
|
@ -28,10 +28,10 @@ http://librelist.com/browser/rest.client
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
MRI Ruby 1.9.3 and newer are supported. Alternative interpreters compatible with
|
MRI Ruby 2.0 and newer are supported. Alternative interpreters compatible with
|
||||||
1.9+ should work as well.
|
2.0+ should work as well.
|
||||||
|
|
||||||
Earlier Ruby versions such as 1.8.7 and 1.9.2 are no longer supported. These
|
Earlier Ruby versions such as 1.8.7, 1.9.2, and 1.9.3 are no longer supported. These
|
||||||
versions no longer have any official support, and do not receive security
|
versions no longer have any official support, and do not receive security
|
||||||
updates.
|
updates.
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This release is largely API compatible, but makes several breaking changes.
|
This release is largely API compatible, but makes several breaking changes.
|
||||||
|
|
||||||
- Drop support for Ruby 1.9.2
|
- Drop support for Ruby 1.9
|
||||||
- Respect Content-Type charset header provided by server. Previously,
|
- Respect Content-Type charset header provided by server. Previously,
|
||||||
rest-client would not override the string encoding chosen by Net::HTTP. Now
|
rest-client would not override the string encoding chosen by Net::HTTP. Now
|
||||||
responses that specify a charset will yield a body string in that encoding.
|
responses that specify a charset will yield a body string in that encoding.
|
||||||
|
|
|
@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
||||||
s.add_development_dependency('rubocop', '~> 0')
|
s.add_development_dependency('rubocop', '~> 0')
|
||||||
|
|
||||||
s.add_dependency('http-cookie', '>= 1.0.2', '< 2.0')
|
s.add_dependency('http-cookie', '>= 1.0.2', '< 2.0')
|
||||||
s.add_dependency('mime-types', '>= 1.16', '< 3.0')
|
s.add_dependency('mime-types', '>= 1.16', '< 4.0')
|
||||||
s.add_dependency('netrc', '~> 0.8')
|
s.add_dependency('netrc', '~> 0.8')
|
||||||
|
|
||||||
s.required_ruby_version = '>= 1.9.3'
|
s.required_ruby_version = '>= 2.0.0'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue