database_cleaner 1.8.4 → 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 542128460dcf57ee3cbb1abb9600c6f71c94e76a00d0e56b2ef1cd9d03eb301e
4
- data.tar.gz: 9448f484a16c73734c838eaa52b09b26cbe7cca4ded33fc0a42cc64f38b378d0
3
+ metadata.gz: 51b1c0f591c9266160e7ba246ab5a2e0edc88ff8e55aa10b205dad2371db9222
4
+ data.tar.gz: cbea6b1677f20cd1bc95eb0578df54933cdd329a034e67ef876b8bf9f1d406c6
5
5
  SHA512:
6
- metadata.gz: 1ebe87490fea5226d40c7afae00971818ebaeda43a90cd4d1bd2551cbb755f1a4206db28221639ad3184034db3c3fc60d3be96062e84d3e974a11dd6300f29bd
7
- data.tar.gz: 288b78f19d594b92ce5001ee3750b64ffd78da3e7b5cc66cd07dfd68d8e4555738d5895581ed99eaaf6c8660b2882057457dd8ed35086c8404affaed2b85dcf2
6
+ metadata.gz: 73ddb8b888360027d2f09c8c1f04a2e71605dad8b1166744df0b9b61c4c4ae382a5f43631857fe34ef8f899e7c0733351eddb014b6c729b8e394bd609ef484de
7
+ data.tar.gz: e3a654d8957c9f200750c244995e293a7a487c82f9885204cd6e29ac382daf1acc6101c751a25e42cdd418dd1afe6b9c90b46bb2386ec08573afa447dc468122
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- database_cleaner (1.8.4)
4
+ database_cleaner (1.8.5)
5
5
 
6
6
  PATH
7
7
  remote: adapters
@@ -1,5 +1,10 @@
1
1
  == Development (master)
2
2
 
3
+ == 1.8.5 2020-05-04
4
+
5
+ === Bug Fixes
6
+ * Fix :mongo strategy: https://github.com/DatabaseCleaner/database_cleaner/pull/645
7
+
3
8
  == 1.8.4 2020-04-02
4
9
 
5
10
  === Bug Fixes
@@ -1,9 +1,11 @@
1
1
  require 'database_cleaner/mongo/base'
2
+ require 'database_cleaner/generic/base'
2
3
  require 'database_cleaner/generic/truncation'
3
4
  require 'database_cleaner/mongo/truncation_mixin'
4
5
  module DatabaseCleaner
5
6
  module Mongo
6
7
  class Truncation
8
+ include ::DatabaseCleaner::Generic::Base
7
9
  include ::DatabaseCleaner::Generic::Truncation
8
10
  include TruncationMixin
9
11
  include Base
@@ -5,6 +5,7 @@ module DatabaseCleaner
5
5
  data_mapper: "DataMapper",
6
6
  mongo_mapper: "MongoMapper",
7
7
  mongoid: "Mongoid",
8
+ mongo: "Mongo",
8
9
  couch_potato: "CouchPotato",
9
10
  sequel: "Sequel",
10
11
  moped: "Moped",
@@ -1,3 +1,3 @@
1
1
  module DatabaseCleaner
2
- VERSION = "1.8.4"
2
+ VERSION = "1.8.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Mabey
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-04 00:00:00.000000000 Z
12
+ date: 2020-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -522,7 +522,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
522
522
  - !ruby/object:Gem::Version
523
523
  version: '0'
524
524
  requirements: []
525
- rubygems_version: 3.0.4
525
+ rubygems_version: 3.0.8
526
526
  signing_key:
527
527
  specification_version: 4
528
528
  summary: Strategies for cleaning databases. Can be used to ensure a clean slate for