[DRE-commits] [ruby-rspec-instafail] 73/126: Fixed version requirement error

Hideki Yamane henrich at moszumanska.debian.org
Sun Nov 15 19:15:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-rspec-instafail.

commit 01559b28d474e03dc35390fff3d8985aa28baa72
Author: Vernon Roessler <vernonr2 at gmail.com>
Date:   Tue Nov 22 19:07:58 2011 -0800

    Fixed version requirement error
---
 lib/rspec/instafail.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/rspec/instafail.rb b/lib/rspec/instafail.rb
index 762c694..68fba41 100644
--- a/lib/rspec/instafail.rb
+++ b/lib/rspec/instafail.rb
@@ -4,11 +4,11 @@ module RSpec
   lib = File.expand_path(File.dirname(File.dirname(__FILE__)))
   $LOAD_PATH << lib unless $LOAD_PATH.include?(lib)
 
-  require 'rspec/instafail/version'
-
   begin
     require "rspec/instafail/rspec_2"
   rescue LoadError # try rspec 1
     require "rspec/instafail/rspec_1"
   end
+
+  require 'rspec/instafail/version'
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-instafail.git



More information about the Pkg-ruby-extras-commits mailing list