1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Remove support for Ruby 1.9.3

We had hoped to support Ruby 1.9.3 a bit longer even past its official
EOL but with our dependencies starting to drop support for 1.9 we end up
with several problems.

* Either we lock down our dependencies and block applications from using
  newer gems which is bad. We tried this with `nokogiri` for 1.8 and
  that prevented updates to Rails 4.0
* We could support 1.9 via the dependencies in a version dependent
  `Gemfile` but for each dependency that breaks support we have to push
  out changes to every fog repo with the new dependency.

Given the age and status of Ruby 1.9, we have decided to drop support
for Ruby 1.9.3 now along with 1.8 and 1.9.2.

If you are on an application that requires 1.9.3 and `fog` then you
should lock your dependencies to the `1.x` gems.
This commit is contained in:
Paul Thornthwaite 2015-09-29 16:56:35 +01:00
parent 349ce7ca1d
commit 8a413ef54a
5 changed files with 6 additions and 23 deletions

View file

@ -16,11 +16,6 @@ gemfile:
matrix:
fast_finish: true
include:
- rvm: 1.9
gemfile: gemfiles/Gemfile-ruby-1.9.3
- rvm: jruby-19mode
gemfile: gemfiles/Gemfile-ruby-1.9.3
allow_failures:
- rvm: jruby-head
- rvm: 2.2

View file

@ -56,7 +56,7 @@ Relevant issues include:
* Organize your patches by keeping all related changes together in a topic branch.
* Rebase your branch against master before submitting a pull request (and squish any 'oops' or work in progress commits).
* We support several rubies! Make sure your changes will work for all the Rubies in .travis.yml (currently MRI 1.8, 1.9, and Ruby 2.0).
* We support several rubies! Make sure your changes will work for all the Rubies in `.travis.yml`
* Submit changes as pull requests describing what the changes should cover and referencing issues (if any).
* Use 'tags' in your commits to indicate the scope, so things like `[aws|compute] fixed something`.
* Write and run tests. Tests should follow through usage workflows and ought to pass both with mocking on and off.

View file

@ -38,10 +38,10 @@ true
## Ruby version
Fog requires Ruby `1.9.3` or later.
Fog requires Ruby `2.0.0` or later.
Ruby `1.8.7` and `1.9.2` support was dropped in `fog-v2.0.0` as a backwards incompatible
change. Please use the later fog `1.x` versions if you require `1.8.7` or `1.9.2` support.
Ruby `1.8` and `1.9` support was dropped in `fog-v2.0.0` as a backwards incompatible
change. Please use the later fog `1.x` versions if you require `1.8.7` or `1.9.x` support.
## Collections

View file

@ -45,7 +45,7 @@ Gem::Specification.new do |s|
s.extra_rdoc_files = %w[README.md]
## Ruby version
s.required_ruby_version = ">= 1.9.3"
s.required_ruby_version = ">= 2.0.0"
s.add_dependency("fog-core", "~> 1.32")
s.add_dependency("fog-json")
@ -84,7 +84,7 @@ Gem::Specification.new do |s|
s.add_development_dependency("rake")
s.add_development_dependency("rbovirt", "0.0.32")
s.add_development_dependency("rbvmomi")
s.add_development_dependency("rubocop") if RUBY_VERSION > "1.9"
s.add_development_dependency("rubocop")
s.add_development_dependency("shindo", "~> 0.3.4")
s.add_development_dependency("simplecov")
s.add_development_dependency("thor")

View file

@ -1,12 +0,0 @@
source "https://rubygems.org"
gem "net-ssh", "< 3.0"
group :development, :test do
# This is here because gemspec doesn"t support require: false
gem "coveralls", :require => false
gem "netrc", :require => false
gem "octokit", :require => false
end
gemspec :path => "../"