database_cleaner 1.8.2 → 2.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/database_cleaner.rb +1 -47
- metadata +14 -481
- data/CONTRIBUTE.markdown +0 -27
- data/Gemfile.lock +0 -325
- data/History.rdoc +0 -482
- data/LICENSE +0 -20
- data/README.markdown +0 -389
- data/Rakefile +0 -44
- data/TODO +0 -3
- data/adapters/database_cleaner-active_record/lib/database_cleaner-active_record.rb +0 -1
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record.rb +0 -6
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/base.rb +0 -101
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/deletion.rb +0 -108
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/transaction.rb +0 -59
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/truncation.rb +0 -280
- data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/version.rb +0 -5
- data/adapters/database_cleaner-couch_potato/lib/database_cleaner-couch_potato.rb +0 -1
- data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato.rb +0 -11
- data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/base.rb +0 -7
- data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/truncation.rb +0 -28
- data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/version.rb +0 -5
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner-data_mapper.rb +0 -1
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper.rb +0 -4
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/base.rb +0 -25
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/transaction.rb +0 -28
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/truncation.rb +0 -173
- data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/version.rb +0 -5
- data/adapters/database_cleaner-mongo/lib/database_cleaner-mongo.rb +0 -1
- data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo.rb +0 -10
- data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/base.rb +0 -16
- data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation.rb +0 -62
- data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation_mixin.rb +0 -26
- data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/version.rb +0 -5
- data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner-mongo_mapper.rb +0 -1
- data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper.rb +0 -4
- data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/base.rb +0 -24
- data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/truncation.rb +0 -35
- data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/version.rb +0 -5
- data/adapters/database_cleaner-mongoid/lib/database_cleaner-mongoid.rb +0 -1
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid.rb +0 -10
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/base.rb +0 -20
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo1_truncation_mixin.rb +0 -26
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo2_truncation_mixin.rb +0 -38
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongoid_truncation_mixin.rb +0 -65
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/truncation.rb +0 -49
- data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/version.rb +0 -5
- data/adapters/database_cleaner-moped/lib/database_cleaner-moped.rb +0 -1
- data/adapters/database_cleaner-moped/lib/database_cleaner/moped.rb +0 -10
- data/adapters/database_cleaner-moped/lib/database_cleaner/moped/base.rb +0 -39
- data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation.rb +0 -9
- data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation_base.rb +0 -44
- data/adapters/database_cleaner-moped/lib/database_cleaner/moped/version.rb +0 -5
- data/adapters/database_cleaner-neo4j/lib/database_cleaner-neo4j.rb +0 -1
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j.rb +0 -6
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/base.rb +0 -66
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/deletion.rb +0 -16
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/transaction.rb +0 -35
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/truncation.rb +0 -9
- data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/version.rb +0 -5
- data/adapters/database_cleaner-ohm/lib/database_cleaner-ohm.rb +0 -1
- data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm.rb +0 -12
- data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/truncation.rb +0 -24
- data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/version.rb +0 -5
- data/adapters/database_cleaner-redis/lib/database_cleaner-redis.rb +0 -1
- data/adapters/database_cleaner-redis/lib/database_cleaner/redis.rb +0 -4
- data/adapters/database_cleaner-redis/lib/database_cleaner/redis/base.rb +0 -41
- data/adapters/database_cleaner-redis/lib/database_cleaner/redis/truncation.rb +0 -26
- data/adapters/database_cleaner-redis/lib/database_cleaner/redis/version.rb +0 -5
- data/adapters/database_cleaner-sequel/lib/database_cleaner-sequel.rb +0 -1
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel.rb +0 -6
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/base.rb +0 -26
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/deletion.rb +0 -47
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/transaction.rb +0 -40
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/truncation.rb +0 -79
- data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/version.rb +0 -5
- data/cucumber.yml +0 -1
- data/lib/database_cleaner/base.rb +0 -149
- data/lib/database_cleaner/configuration.rb +0 -141
- data/lib/database_cleaner/cucumber.rb +0 -3
- data/lib/database_cleaner/deprecation.rb +0 -21
- data/lib/database_cleaner/generic/base.rb +0 -29
- data/lib/database_cleaner/generic/transaction.rb +0 -11
- data/lib/database_cleaner/generic/truncation.rb +0 -40
- data/lib/database_cleaner/null_strategy.rb +0 -20
- data/lib/database_cleaner/orm_autodetector.rb +0 -40
- data/lib/database_cleaner/safeguard.rb +0 -107
- data/lib/database_cleaner/spec.rb +0 -2
- data/lib/database_cleaner/spec/database_helper.rb +0 -82
- data/lib/database_cleaner/spec/shared_examples.rb +0 -15
- data/lib/database_cleaner/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0aca0df96c7f483ed08e7c3df38910347beb8aa5c18ded06d41f264f2b335dc
|
4
|
+
data.tar.gz: b9dd7c7a8706a857003f17afb507278e8f2fe6cbb6979194ea6d4e5e6a8d3e19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 466a2c8d3fbcfb3a2d58923278faa30bc7667bc315a0782d71ce40d8cab93e0754aac3e15a77b4dcc59484611f081016360bb3532e42097ff8e33fbe4c82082d
|
7
|
+
data.tar.gz: 51e6b4b24c44308fe0cc0f67ecdf5e51683603d5b19d1c2c1fcf4a93c5675f8dda0a9256b288d0132136614809700aa24974d03d983eb06573b65aa4489389d1
|
data/lib/database_cleaner.rb
CHANGED
@@ -1,47 +1 @@
|
|
1
|
-
|
2
|
-
require 'database_cleaner/version'
|
3
|
-
require 'database_cleaner/configuration'
|
4
|
-
require 'database_cleaner/deprecation'
|
5
|
-
require 'forwardable'
|
6
|
-
|
7
|
-
module DatabaseCleaner
|
8
|
-
class << self
|
9
|
-
extend Forwardable
|
10
|
-
delegate [
|
11
|
-
:[],
|
12
|
-
:app_root=,
|
13
|
-
:app_root,
|
14
|
-
:logger=,
|
15
|
-
:logger,
|
16
|
-
:cleaners,
|
17
|
-
:cleaners=,
|
18
|
-
:strategy=,
|
19
|
-
:orm=,
|
20
|
-
:start,
|
21
|
-
:clean,
|
22
|
-
:clean_with,
|
23
|
-
:cleaning,
|
24
|
-
|
25
|
-
# TODO remove in 2.0
|
26
|
-
:clean!,
|
27
|
-
:clean_with!,
|
28
|
-
:init_cleaners,
|
29
|
-
:add_cleaner,
|
30
|
-
:connections,
|
31
|
-
:remove_duplicates,
|
32
|
-
] => :configuration
|
33
|
-
|
34
|
-
attr_accessor :allow_remote_database_url, :allow_production, :url_whitelist
|
35
|
-
|
36
|
-
def can_detect_orm?
|
37
|
-
DatabaseCleaner.deprecate "Calling `DatabaseCleaner.can_detect_orm?` is deprecated, and will be removed in database_cleaner 2.0 with no replacement."
|
38
|
-
DatabaseCleaner::Base.autodetect_orm
|
39
|
-
end
|
40
|
-
|
41
|
-
private
|
42
|
-
|
43
|
-
def configuration
|
44
|
-
@configuration ||= Configuration.new
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
1
|
+
require "database_cleaner/active_record"
|
metadata
CHANGED
@@ -1,512 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: database_cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Mabey
|
8
8
|
- Ernesto Tagwerker
|
9
|
+
- Micah Geisel
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2020-
|
13
|
+
date: 2020-05-30 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '0'
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: bundler
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: json_pure
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: activerecord-mysql2-adapter
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: activerecord
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: datamapper
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: dm-migrations
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: dm-sqlite-adapter
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: mongoid
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: tzinfo
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: mongoid-tree
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - ">="
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '0'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - ">="
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: mongo_mapper
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - ">="
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '0'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - ">="
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: mongo
|
16
|
+
name: database_cleaner-active_record
|
184
17
|
requirement: !ruby/object:Gem::Requirement
|
185
18
|
requirements:
|
186
19
|
- - "~>"
|
187
20
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
189
|
-
type: :
|
21
|
+
version: 2.0.0.beta2
|
22
|
+
type: :runtime
|
190
23
|
prerelease: false
|
191
24
|
version_requirements: !ruby/object:Gem::Requirement
|
192
25
|
requirements:
|
193
26
|
- - "~>"
|
194
27
|
- !ruby/object:Gem::Version
|
195
|
-
version:
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: moped
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '0'
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ">="
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '0'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: neo4j-core
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - ">="
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: '0'
|
217
|
-
type: :development
|
218
|
-
prerelease: false
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - ">="
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: '0'
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: couch_potato
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - ">="
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: '0'
|
231
|
-
type: :development
|
232
|
-
prerelease: false
|
233
|
-
version_requirements: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - ">="
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '0'
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: sequel
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - "~>"
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: 3.21.0
|
245
|
-
type: :development
|
246
|
-
prerelease: false
|
247
|
-
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
requirements:
|
249
|
-
- - "~>"
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: 3.21.0
|
252
|
-
- !ruby/object:Gem::Dependency
|
253
|
-
name: ohm
|
254
|
-
requirement: !ruby/object:Gem::Requirement
|
255
|
-
requirements:
|
256
|
-
- - "~>"
|
257
|
-
- !ruby/object:Gem::Version
|
258
|
-
version: 0.1.3
|
259
|
-
type: :development
|
260
|
-
prerelease: false
|
261
|
-
version_requirements: !ruby/object:Gem::Requirement
|
262
|
-
requirements:
|
263
|
-
- - "~>"
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: 0.1.3
|
266
|
-
- !ruby/object:Gem::Dependency
|
267
|
-
name: guard-rspec
|
268
|
-
requirement: !ruby/object:Gem::Requirement
|
269
|
-
requirements:
|
270
|
-
- - ">="
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
version: '0'
|
273
|
-
type: :development
|
274
|
-
prerelease: false
|
275
|
-
version_requirements: !ruby/object:Gem::Requirement
|
276
|
-
requirements:
|
277
|
-
- - ">="
|
278
|
-
- !ruby/object:Gem::Version
|
279
|
-
version: '0'
|
280
|
-
- !ruby/object:Gem::Dependency
|
281
|
-
name: listen
|
282
|
-
requirement: !ruby/object:Gem::Requirement
|
283
|
-
requirements:
|
284
|
-
- - "~>"
|
285
|
-
- !ruby/object:Gem::Version
|
286
|
-
version: 3.0.0
|
287
|
-
type: :development
|
288
|
-
prerelease: false
|
289
|
-
version_requirements: !ruby/object:Gem::Requirement
|
290
|
-
requirements:
|
291
|
-
- - "~>"
|
292
|
-
- !ruby/object:Gem::Version
|
293
|
-
version: 3.0.0
|
294
|
-
- !ruby/object:Gem::Dependency
|
295
|
-
name: rspec
|
296
|
-
requirement: !ruby/object:Gem::Requirement
|
297
|
-
requirements:
|
298
|
-
- - ">="
|
299
|
-
- !ruby/object:Gem::Version
|
300
|
-
version: '0'
|
301
|
-
type: :development
|
302
|
-
prerelease: false
|
303
|
-
version_requirements: !ruby/object:Gem::Requirement
|
304
|
-
requirements:
|
305
|
-
- - ">="
|
306
|
-
- !ruby/object:Gem::Version
|
307
|
-
version: '0'
|
308
|
-
- !ruby/object:Gem::Dependency
|
309
|
-
name: cucumber
|
310
|
-
requirement: !ruby/object:Gem::Requirement
|
311
|
-
requirements:
|
312
|
-
- - ">="
|
313
|
-
- !ruby/object:Gem::Version
|
314
|
-
version: '0'
|
315
|
-
type: :development
|
316
|
-
prerelease: false
|
317
|
-
version_requirements: !ruby/object:Gem::Requirement
|
318
|
-
requirements:
|
319
|
-
- - ">="
|
320
|
-
- !ruby/object:Gem::Version
|
321
|
-
version: '0'
|
322
|
-
- !ruby/object:Gem::Dependency
|
323
|
-
name: mongo_ext
|
324
|
-
requirement: !ruby/object:Gem::Requirement
|
325
|
-
requirements:
|
326
|
-
- - ">="
|
327
|
-
- !ruby/object:Gem::Version
|
328
|
-
version: '0'
|
329
|
-
type: :development
|
330
|
-
prerelease: false
|
331
|
-
version_requirements: !ruby/object:Gem::Requirement
|
332
|
-
requirements:
|
333
|
-
- - ">="
|
334
|
-
- !ruby/object:Gem::Version
|
335
|
-
version: '0'
|
336
|
-
- !ruby/object:Gem::Dependency
|
337
|
-
name: bson_ext
|
338
|
-
requirement: !ruby/object:Gem::Requirement
|
339
|
-
requirements:
|
340
|
-
- - ">="
|
341
|
-
- !ruby/object:Gem::Version
|
342
|
-
version: '0'
|
343
|
-
type: :development
|
344
|
-
prerelease: false
|
345
|
-
version_requirements: !ruby/object:Gem::Requirement
|
346
|
-
requirements:
|
347
|
-
- - ">="
|
348
|
-
- !ruby/object:Gem::Version
|
349
|
-
version: '0'
|
350
|
-
- !ruby/object:Gem::Dependency
|
351
|
-
name: mysql
|
352
|
-
requirement: !ruby/object:Gem::Requirement
|
353
|
-
requirements:
|
354
|
-
- - "~>"
|
355
|
-
- !ruby/object:Gem::Version
|
356
|
-
version: 2.9.1
|
357
|
-
type: :development
|
358
|
-
prerelease: false
|
359
|
-
version_requirements: !ruby/object:Gem::Requirement
|
360
|
-
requirements:
|
361
|
-
- - "~>"
|
362
|
-
- !ruby/object:Gem::Version
|
363
|
-
version: 2.9.1
|
364
|
-
- !ruby/object:Gem::Dependency
|
365
|
-
name: mysql2
|
366
|
-
requirement: !ruby/object:Gem::Requirement
|
367
|
-
requirements:
|
368
|
-
- - ">="
|
369
|
-
- !ruby/object:Gem::Version
|
370
|
-
version: '0'
|
371
|
-
type: :development
|
372
|
-
prerelease: false
|
373
|
-
version_requirements: !ruby/object:Gem::Requirement
|
374
|
-
requirements:
|
375
|
-
- - ">="
|
376
|
-
- !ruby/object:Gem::Version
|
377
|
-
version: '0'
|
378
|
-
- !ruby/object:Gem::Dependency
|
379
|
-
name: pg
|
380
|
-
requirement: !ruby/object:Gem::Requirement
|
381
|
-
requirements:
|
382
|
-
- - ">="
|
383
|
-
- !ruby/object:Gem::Version
|
384
|
-
version: '0'
|
385
|
-
type: :development
|
386
|
-
prerelease: false
|
387
|
-
version_requirements: !ruby/object:Gem::Requirement
|
388
|
-
requirements:
|
389
|
-
- - ">="
|
390
|
-
- !ruby/object:Gem::Version
|
391
|
-
version: '0'
|
392
|
-
- !ruby/object:Gem::Dependency
|
393
|
-
name: sqlite3
|
394
|
-
requirement: !ruby/object:Gem::Requirement
|
395
|
-
requirements:
|
396
|
-
- - ">="
|
397
|
-
- !ruby/object:Gem::Version
|
398
|
-
version: '0'
|
399
|
-
type: :development
|
400
|
-
prerelease: false
|
401
|
-
version_requirements: !ruby/object:Gem::Requirement
|
402
|
-
requirements:
|
403
|
-
- - ">="
|
404
|
-
- !ruby/object:Gem::Version
|
405
|
-
version: '0'
|
28
|
+
version: 2.0.0.beta2
|
406
29
|
description: Strategies for cleaning databases. Can be used to ensure a clean slate
|
407
30
|
for testing.
|
408
31
|
email:
|
409
32
|
- ernesto@ombulabs.com
|
410
33
|
executables: []
|
411
34
|
extensions: []
|
412
|
-
extra_rdoc_files:
|
413
|
-
- LICENSE
|
414
|
-
- README.markdown
|
415
|
-
- TODO
|
35
|
+
extra_rdoc_files: []
|
416
36
|
files:
|
417
|
-
- CONTRIBUTE.markdown
|
418
|
-
- Gemfile.lock
|
419
|
-
- History.rdoc
|
420
|
-
- LICENSE
|
421
|
-
- README.markdown
|
422
|
-
- Rakefile
|
423
|
-
- TODO
|
424
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner-active_record.rb
|
425
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record.rb
|
426
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record/base.rb
|
427
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record/deletion.rb
|
428
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record/transaction.rb
|
429
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record/truncation.rb
|
430
|
-
- adapters/database_cleaner-active_record/lib/database_cleaner/active_record/version.rb
|
431
|
-
- adapters/database_cleaner-couch_potato/lib/database_cleaner-couch_potato.rb
|
432
|
-
- adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato.rb
|
433
|
-
- adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/base.rb
|
434
|
-
- adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/truncation.rb
|
435
|
-
- adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/version.rb
|
436
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner-data_mapper.rb
|
437
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper.rb
|
438
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/base.rb
|
439
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/transaction.rb
|
440
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/truncation.rb
|
441
|
-
- adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/version.rb
|
442
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner-mongo.rb
|
443
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner/mongo.rb
|
444
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner/mongo/base.rb
|
445
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation.rb
|
446
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation_mixin.rb
|
447
|
-
- adapters/database_cleaner-mongo/lib/database_cleaner/mongo/version.rb
|
448
|
-
- adapters/database_cleaner-mongo_mapper/lib/database_cleaner-mongo_mapper.rb
|
449
|
-
- adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper.rb
|
450
|
-
- adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/base.rb
|
451
|
-
- adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/truncation.rb
|
452
|
-
- adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/version.rb
|
453
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner-mongoid.rb
|
454
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid.rb
|
455
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/base.rb
|
456
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo1_truncation_mixin.rb
|
457
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo2_truncation_mixin.rb
|
458
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongoid_truncation_mixin.rb
|
459
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/truncation.rb
|
460
|
-
- adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/version.rb
|
461
|
-
- adapters/database_cleaner-moped/lib/database_cleaner-moped.rb
|
462
|
-
- adapters/database_cleaner-moped/lib/database_cleaner/moped.rb
|
463
|
-
- adapters/database_cleaner-moped/lib/database_cleaner/moped/base.rb
|
464
|
-
- adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation.rb
|
465
|
-
- adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation_base.rb
|
466
|
-
- adapters/database_cleaner-moped/lib/database_cleaner/moped/version.rb
|
467
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner-neo4j.rb
|
468
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j.rb
|
469
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/base.rb
|
470
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/deletion.rb
|
471
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/transaction.rb
|
472
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/truncation.rb
|
473
|
-
- adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/version.rb
|
474
|
-
- adapters/database_cleaner-ohm/lib/database_cleaner-ohm.rb
|
475
|
-
- adapters/database_cleaner-ohm/lib/database_cleaner/ohm.rb
|
476
|
-
- adapters/database_cleaner-ohm/lib/database_cleaner/ohm/truncation.rb
|
477
|
-
- adapters/database_cleaner-ohm/lib/database_cleaner/ohm/version.rb
|
478
|
-
- adapters/database_cleaner-redis/lib/database_cleaner-redis.rb
|
479
|
-
- adapters/database_cleaner-redis/lib/database_cleaner/redis.rb
|
480
|
-
- adapters/database_cleaner-redis/lib/database_cleaner/redis/base.rb
|
481
|
-
- adapters/database_cleaner-redis/lib/database_cleaner/redis/truncation.rb
|
482
|
-
- adapters/database_cleaner-redis/lib/database_cleaner/redis/version.rb
|
483
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner-sequel.rb
|
484
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel.rb
|
485
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel/base.rb
|
486
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel/deletion.rb
|
487
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel/transaction.rb
|
488
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel/truncation.rb
|
489
|
-
- adapters/database_cleaner-sequel/lib/database_cleaner/sequel/version.rb
|
490
|
-
- cucumber.yml
|
491
37
|
- lib/database_cleaner.rb
|
492
|
-
- lib/database_cleaner/base.rb
|
493
|
-
- lib/database_cleaner/configuration.rb
|
494
|
-
- lib/database_cleaner/cucumber.rb
|
495
|
-
- lib/database_cleaner/deprecation.rb
|
496
|
-
- lib/database_cleaner/generic/base.rb
|
497
|
-
- lib/database_cleaner/generic/transaction.rb
|
498
|
-
- lib/database_cleaner/generic/truncation.rb
|
499
|
-
- lib/database_cleaner/null_strategy.rb
|
500
|
-
- lib/database_cleaner/orm_autodetector.rb
|
501
|
-
- lib/database_cleaner/safeguard.rb
|
502
|
-
- lib/database_cleaner/spec.rb
|
503
|
-
- lib/database_cleaner/spec/database_helper.rb
|
504
|
-
- lib/database_cleaner/spec/shared_examples.rb
|
505
|
-
- lib/database_cleaner/version.rb
|
506
38
|
homepage: https://github.com/DatabaseCleaner/database_cleaner
|
507
39
|
licenses:
|
508
40
|
- MIT
|
509
|
-
metadata:
|
41
|
+
metadata:
|
42
|
+
changelog_uri: https://github.com/DatabaseCleaner/database_cleaner/blob/master/History.rdoc
|
510
43
|
post_install_message:
|
511
44
|
rdoc_options: []
|
512
45
|
require_paths:
|
@@ -515,14 +48,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
515
48
|
requirements:
|
516
49
|
- - ">="
|
517
50
|
- !ruby/object:Gem::Version
|
518
|
-
version:
|
51
|
+
version: '0'
|
519
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
520
53
|
requirements:
|
521
|
-
- - "
|
54
|
+
- - ">"
|
522
55
|
- !ruby/object:Gem::Version
|
523
|
-
version:
|
56
|
+
version: 1.3.1
|
524
57
|
requirements: []
|
525
|
-
rubygems_version: 3.0.
|
58
|
+
rubygems_version: 3.0.3
|
526
59
|
signing_key:
|
527
60
|
specification_version: 4
|
528
61
|
summary: Strategies for cleaning databases. Can be used to ensure a clean slate for
|