From f7f9cd00291c6c9a97d762cfed7c0d496ff5df0a Mon Sep 17 00:00:00 2001 From: Arttu Tervo Date: Fri, 26 Jul 2013 18:49:18 +0300 Subject: [PATCH] Dropped Ruby 1.8.7 support as Nokogiri 1.6.0 requires Ruby >= 1.9.2. --- .travis.yml | 2 +- Gemfile | 6 +----- README.md | 3 ++- Rakefile | 15 --------------- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a92808..46029af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,3 @@ rvm: - - 1.8.7 - 1.9.3 + - 2.0.0 diff --git a/Gemfile b/Gemfile index 34ca63d..66052f9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source :rubygems +source 'http://rubygems.org' gem 'nokogiri' @@ -6,7 +6,3 @@ group :test do gem 'rake' gem 'rspec' end - -platform :jruby do - gem 'jruby-openssl' -end diff --git a/README.md b/README.md index 2ce62ed..c84d073 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ Rss and Atom feed parser built on top of Nokogiri. Supports custom sanitizers. [![Build Status](https://secure.travis-ci.org/arttu/feed_parser.png)](http://travis-ci.org/arttu/feed_parser) -FeedParser gem is tested on Ruby 1.8.7 and 1.9.3. +FeedParser gem is tested on Ruby 1.9.3 and 2.0.0. +1.8.7 should work with Nokogiri < 1.6.0. ## Install diff --git a/Rakefile b/Rakefile index c04e63b..5c8f103 100644 --- a/Rakefile +++ b/Rakefile @@ -18,18 +18,3 @@ end desc "Default: Run specs" task :default => :spec - -namespace :rubies do - rvm_rubies_command = "rvm 1.8.7-p302@feed_parser,1.9.3-p194@feed_parser do" - - desc "Update dependencies for all Ruby versions" - task :update_dependencies do - system("#{rvm_rubies_command} bundle install") - system("#{rvm_rubies_command} bundle update") - end - - desc "Run tests with Ruby versions 1.8.7 and 1.9.3" - task :spec do - system("#{rvm_rubies_command} bundle exec rake spec") - end -end