[DRE-commits] [ruby-rspec-instafail] 102/126: remove circular require

Hideki Yamane henrich at moszumanska.debian.org
Sun Nov 15 19:15:24 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 4e8a4651dee1e05efefd52bfd5fff24a775e658e
Author: grosser <michael at grosser.it>
Date:   Tue Jan 6 09:02:46 2015 -0800

    remove circular require
    
    fixes #18 thx @R167
---
 lib/rspec/instafail/version.rb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/rspec/instafail/version.rb b/lib/rspec/instafail/version.rb
index 8553c56..b8d5028 100755
--- a/lib/rspec/instafail/version.rb
+++ b/lib/rspec/instafail/version.rb
@@ -1,2 +1,5 @@
-require 'rspec/instafail'
-RSpec::Instafail::VERSION = '0.2.5'
+module RSpec
+  class Instafail
+    VERSION = '0.2.5'
+  end
+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