utensils 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utensils/database_cleaner.rb +2 -1
- data/lib/utensils/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f38644669d6ccc95eb2ba6a735be1dade78212cf
|
4
|
+
data.tar.gz: 55283748ac2678f05e80a3512c28373030ed3c5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae55ed1cc6af1363a4bd18c6c39b4e8e9494edc5a1f1d4b2af147c0ee0eee6bec040edb26b0a4f01c1b539e7a11f98361c5f92dde94daf5ef087d10406aef9b2
|
7
|
+
data.tar.gz: d20bcd5979769a5b5cb833171ead76cdaca7ca095b3c92bb0dc2e607224a4a03a4cef93065d2fb50ccaccb7a5633910c04946015c1b1f59bc3cce914d646891f
|
@@ -1,6 +1,7 @@
|
|
1
1
|
RSpec.configure do |config|
|
2
2
|
config.around(:each) do |example|
|
3
|
-
DatabaseCleaner.strategy = example.metadata[:js] ? :truncation : :transaction
|
3
|
+
DatabaseCleaner[:active_record].strategy = example.metadata[:js] ? :truncation : :transaction
|
4
|
+
|
4
5
|
DatabaseCleaner.cleaning do
|
5
6
|
example.run
|
6
7
|
end
|
data/lib/utensils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utensils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Balvig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rspec stuff we use over and over again
|
14
14
|
email:
|
@@ -54,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 2.4.
|
57
|
+
rubygems_version: 2.4.5
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: Rspec stuff we use over and over again
|
61
61
|
test_files: []
|
62
|
+
has_rdoc:
|