[DRE-commits] [ruby-rspec-instafail] 01/15: Fix issue loading with newer rspec
Hideki Yamane
henrich at moszumanska.debian.org
Sat May 21 13:21:39 UTC 2016
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 f43cd011edcf3ed4b2a88f69c092abd5d262e9d8
Author: Christoph Burgmer <christoph.burgmer at gmail.com>
Date: Wed May 11 09:50:10 2016 +0800
Fix issue loading with newer rspec
---
lib/rspec/instafail.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rspec/instafail.rb b/lib/rspec/instafail.rb
index e08e473..0d38669 100755
--- a/lib/rspec/instafail.rb
+++ b/lib/rspec/instafail.rb
@@ -1,4 +1,4 @@
module RSpec
- version = Gem.loaded_specs["rspec"].version
+ version = Gem.loaded_specs["rspec-core"].version
require "rspec/instafail/rspec_#{[3, version.segments.first].min}"
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