always_execute 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/always_execute.rb +7 -2
- data/lib/always_execute/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: f2d959e7c5e40932e156da36eba43f2e1fd90229
|
4
|
+
data.tar.gz: dc646b0925bd348e9b73c669c62270caeadf30aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c63e5e119098b607285db1e033ac823ca6857c1e1fc7c16df666d0e79413e3bfebb52c142d2597b150ded7853f88ee574c4296586240d03376db1196528759c
|
7
|
+
data.tar.gz: b2196e50c1cc90a1288e908dcbc426ea5d0d0be8168805f30b8b36b8455ae052059b515b49e641b6af3abf204f202858a96f7ba5746372d9893ab1bc74b48193
|
data/Gemfile.lock
CHANGED
data/lib/always_execute.rb
CHANGED
@@ -3,7 +3,7 @@ require 'always_execute/version'
|
|
3
3
|
if defined?(Shoulda::Context::Context)
|
4
4
|
require 'always_execute/shoulda_execute'
|
5
5
|
require 'always_execute/shoulda_expects'
|
6
|
-
|
6
|
+
|
7
7
|
class Shoulda::Context::Context
|
8
8
|
include AlwaysExecute::ShouldaExecute
|
9
9
|
include AlwaysExecute::ShouldaExpects
|
@@ -11,7 +11,7 @@ if defined?(Shoulda::Context::Context)
|
|
11
11
|
elsif defined?(Shoulda::Context) && Shoulda::Context.instance_methods.include?(:should)
|
12
12
|
require 'always_execute/shoulda_execute'
|
13
13
|
require 'always_execute/shoulda_expects'
|
14
|
-
|
14
|
+
|
15
15
|
class Shoulda::Context
|
16
16
|
include AlwaysExecute::ShouldaExecute
|
17
17
|
include AlwaysExecute::ShouldaExpects
|
@@ -21,4 +21,9 @@ end
|
|
21
21
|
if defined?(RSpec)
|
22
22
|
require 'always_execute/rspec_execute'
|
23
23
|
require 'always_execute/rspec_expects'
|
24
|
+
|
25
|
+
RSpec.configure do |config|
|
26
|
+
config.backtrace_exclusion_patterns ||= []
|
27
|
+
config.backtrace_exclusion_patterns << /always_execute/
|
28
|
+
end
|
24
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: always_execute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Pearce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|