From 8931739e977801517a2a063048a630d2a720bb8a Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Sat, 4 Jan 2014 21:02:55 -0500 Subject: [PATCH 1/2] Travis: Don't test on Ruby 1.8 (it's deprecated, and it breaks the build) --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 285725e..17a61fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,3 @@ language: ruby rvm: - 2.0.0 - 1.9.3 - - 1.8.7 From 8bf18643356bce0eadfc57e4f02cc93a3da26ca3 Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Sun, 5 Jan 2014 04:45:07 -0500 Subject: [PATCH 2/2] Switch from the test-construct gem (deprecated) to test_construct --- Gemfile | 2 +- spec/spec_helper.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index c4e733d..c93af3b 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,7 @@ group :development do gem "jeweler", ">= 1.6.2" gem "rcov", :platforms => :mri_18 gem "simplecov", :platforms => :mri_19 - gem "test-construct" + gem "test_construct" gem "capture-output", "~> 1.0.0" if RUBY_VERSION >= '1.9.2' gem "rubocop" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 22fd155..e594897 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,11 +3,11 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'homesick' require 'rspec' require 'rspec/autorun' -require 'construct' +require 'test_construct' require 'tempfile' RSpec.configure do |config| - config.include Construct::Helpers + config.include TestConstruct::Helpers config.before { ENV['HOME'] = home.to_s }