prefactory 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/lib/prefactory/active_record_integration.rb +2 -1
- data/lib/prefactory/version.rb +1 -1
- data/lib/rspec/core/prefactory.rb +1 -1
- data/spec/support/callback_matcher.rb +2 -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: 706afd3f58b7cf02a072f1090aa37123dfd99666
|
4
|
+
data.tar.gz: d602599b58d3696b4b4228d82912ed0c902bf202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7debdd9a6504b400143727abb5c1a32bab7400274bc6c2d82c4aa6b3fcb4776d90cfe9f14c058a841a8d248123a730785b5959097950285e626d3f0527b438
|
7
|
+
data.tar.gz: de6fb8739868ee4620e857d3e80c4b400180ee5c5ca4fa35fa506377f20671ad77ce067ad4bc76be6cc4207dd2520ca6a28624d183481f85af1b5a6b0d3acd5b
|
data/.travis.yml
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.2.4
|
4
3
|
- 2.3.1
|
5
4
|
env:
|
6
|
-
- ACTIVE_RECORD_VERSION=4.0.0
|
7
5
|
- ACTIVE_RECORD_VERSION=4.1.0 RSPEC_VERSION=2.99
|
8
6
|
- ACTIVE_RECORD_VERSION=4.1.0
|
9
|
-
- ACTIVE_RECORD_VERSION=4.2.
|
7
|
+
- ACTIVE_RECORD_VERSION=4.2.7.1
|
8
|
+
- ACTIVE_RECORD_VERSION=5.0.0.1
|
@@ -54,7 +54,8 @@ module ActiveRecord
|
|
54
54
|
end
|
55
55
|
return_value
|
56
56
|
end
|
57
|
-
|
57
|
+
alias_method :transaction_without_transactional_specs, :transaction
|
58
|
+
alias_method :transaction, :transaction_with_transactional_specs
|
58
59
|
|
59
60
|
end
|
60
61
|
end
|
data/lib/prefactory/version.rb
CHANGED
@@ -20,7 +20,6 @@
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
21
|
# SOFTWARE.
|
22
22
|
|
23
|
-
require 'prefactory/active_record_integration'
|
24
23
|
require 'rspec_around_all'
|
25
24
|
require 'prefactory/prefactory_lookup'
|
26
25
|
require 'yaml'
|
@@ -140,6 +139,7 @@ module Prefactory
|
|
140
139
|
|
141
140
|
module Transactionality
|
142
141
|
def self.included(base)
|
142
|
+
require 'prefactory/active_record_integration'
|
143
143
|
base.extend RSpecAroundAll
|
144
144
|
# Wrap outermost describe block in a transaction, so before(:all) data is rolled back at the end of this suite.
|
145
145
|
base.before(:all) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prefactory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- developers@socialcast.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec_around_all
|