rspec-instafail 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/instafail.rb +2 -16
- data/lib/rspec/instafail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5108e9736632d78fe4750e45afdf8dfaf918b642
|
4
|
+
data.tar.gz: dbb36cb385f53c755b34bd262db1f390d85f3c03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83e5bdffcc05a6073c793a9277a670a9277a5f1b9dbf5736908a2ca30182b10314da6d926214b3681d5f4e0f633de93b2b3ed1224a3d9a4f600a4536381340bf
|
7
|
+
data.tar.gz: 6a9cb01a13b978a28098baf4f834cabff14598ebb7ee398bbdd9a68b60797316e92a51a0183f257006212d16dc9567104e2e47d1445028a4f26fe52451f4298c
|
data/lib/rspec/instafail.rb
CHANGED
@@ -1,18 +1,4 @@
|
|
1
1
|
module RSpec
|
2
|
-
|
3
|
-
|
4
|
-
lib = File.expand_path(File.dirname(File.dirname(__FILE__)))
|
5
|
-
$LOAD_PATH << lib unless $LOAD_PATH.include?(lib)
|
6
|
-
|
7
|
-
if defined?(::RSpec::Core)
|
8
|
-
if ::RSpec::Core::Version::STRING >= '3.0.0'
|
9
|
-
require "rspec/instafail/rspec_3"
|
10
|
-
else
|
11
|
-
require "rspec/instafail/rspec_2"
|
12
|
-
end
|
13
|
-
else
|
14
|
-
require "rspec/instafail/rspec_1"
|
15
|
-
end
|
16
|
-
|
17
|
-
require 'rspec/instafail/version'
|
2
|
+
version = Gem.loaded_specs["rspec"].version
|
3
|
+
require "rspec/instafail/rspec_#{[3, version.segments.first].min}"
|
18
4
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-instafail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|