database_cleaner 1.99.0 → 2.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/database_cleaner.rb +1 -47
  3. metadata +14 -484
  4. data/CONTRIBUTE.markdown +0 -27
  5. data/Gemfile.lock +0 -324
  6. data/History.rdoc +0 -514
  7. data/LICENSE +0 -20
  8. data/README.markdown +0 -389
  9. data/Rakefile +0 -44
  10. data/TODO +0 -3
  11. data/adapters/database_cleaner-active_record/lib/database_cleaner-active_record.rb +0 -1
  12. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record.rb +0 -6
  13. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/base.rb +0 -101
  14. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/deletion.rb +0 -108
  15. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/transaction.rb +0 -59
  16. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/truncation.rb +0 -288
  17. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/version.rb +0 -5
  18. data/adapters/database_cleaner-couch_potato/lib/database_cleaner-couch_potato.rb +0 -1
  19. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato.rb +0 -13
  20. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/base.rb +0 -7
  21. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/truncation.rb +0 -28
  22. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/version.rb +0 -5
  23. data/adapters/database_cleaner-data_mapper/lib/database_cleaner-data_mapper.rb +0 -1
  24. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper.rb +0 -6
  25. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/base.rb +0 -25
  26. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/transaction.rb +0 -28
  27. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/truncation.rb +0 -173
  28. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/version.rb +0 -5
  29. data/adapters/database_cleaner-mongo/lib/database_cleaner-mongo.rb +0 -1
  30. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo.rb +0 -11
  31. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/base.rb +0 -16
  32. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/deletion.rb +0 -8
  33. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation.rb +0 -74
  34. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation_mixin.rb +0 -26
  35. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/version.rb +0 -5
  36. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner-mongo_mapper.rb +0 -1
  37. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper.rb +0 -5
  38. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/base.rb +0 -24
  39. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/truncation.rb +0 -35
  40. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/version.rb +0 -5
  41. data/adapters/database_cleaner-mongoid/lib/database_cleaner-mongoid.rb +0 -1
  42. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid.rb +0 -11
  43. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/base.rb +0 -20
  44. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/deletion.rb +0 -10
  45. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo1_truncation_mixin.rb +0 -26
  46. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo2_truncation_mixin.rb +0 -38
  47. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongoid_truncation_mixin.rb +0 -65
  48. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/truncation.rb +0 -49
  49. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/version.rb +0 -5
  50. data/adapters/database_cleaner-moped/lib/database_cleaner-moped.rb +0 -1
  51. data/adapters/database_cleaner-moped/lib/database_cleaner/moped.rb +0 -12
  52. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/base.rb +0 -39
  53. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation.rb +0 -9
  54. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation_base.rb +0 -44
  55. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/version.rb +0 -5
  56. data/adapters/database_cleaner-neo4j/lib/database_cleaner-neo4j.rb +0 -1
  57. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j.rb +0 -7
  58. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/base.rb +0 -66
  59. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/deletion.rb +0 -16
  60. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/transaction.rb +0 -35
  61. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/truncation.rb +0 -9
  62. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/version.rb +0 -5
  63. data/adapters/database_cleaner-ohm/lib/database_cleaner-ohm.rb +0 -1
  64. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm.rb +0 -12
  65. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/truncation.rb +0 -24
  66. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/version.rb +0 -5
  67. data/adapters/database_cleaner-redis/lib/database_cleaner-redis.rb +0 -1
  68. data/adapters/database_cleaner-redis/lib/database_cleaner/redis.rb +0 -5
  69. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/base.rb +0 -45
  70. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/deletion.rb +0 -9
  71. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/truncation.rb +0 -26
  72. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/version.rb +0 -5
  73. data/adapters/database_cleaner-sequel/lib/database_cleaner-sequel.rb +0 -1
  74. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel.rb +0 -6
  75. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/base.rb +0 -26
  76. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/deletion.rb +0 -47
  77. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/transaction.rb +0 -40
  78. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/truncation.rb +0 -79
  79. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/version.rb +0 -5
  80. data/cucumber.yml +0 -1
  81. data/lib/database_cleaner/base.rb +0 -169
  82. data/lib/database_cleaner/configuration.rb +0 -136
  83. data/lib/database_cleaner/cucumber.rb +0 -3
  84. data/lib/database_cleaner/deprecation.rb +0 -26
  85. data/lib/database_cleaner/generic/base.rb +0 -29
  86. data/lib/database_cleaner/generic/transaction.rb +0 -11
  87. data/lib/database_cleaner/generic/truncation.rb +0 -40
  88. data/lib/database_cleaner/null_strategy.rb +0 -20
  89. data/lib/database_cleaner/orm_autodetector.rb +0 -41
  90. data/lib/database_cleaner/safeguard.rb +0 -107
  91. data/lib/database_cleaner/spec.rb +0 -2
  92. data/lib/database_cleaner/spec/database_helper.rb +0 -82
  93. data/lib/database_cleaner/spec/shared_examples.rb +0 -15
  94. data/lib/database_cleaner/version.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dad4628851dea0ce03e2db6a48eb7da958236403160f4445655fb9ca999681bf
4
- data.tar.gz: 1719ac34c70689ee205a6b0f148bfdd6eaf99db45731c37a495a7ad38cd6beb7
3
+ metadata.gz: f0aca0df96c7f483ed08e7c3df38910347beb8aa5c18ded06d41f264f2b335dc
4
+ data.tar.gz: b9dd7c7a8706a857003f17afb507278e8f2fe6cbb6979194ea6d4e5e6a8d3e19
5
5
  SHA512:
6
- metadata.gz: 25a46e41cce5d26f2b62a89cc36f3e512486851031278c113027aaed8b5d2d73072f0a6bd9e904b582c27954e5d940cf30077e0b451f5341a103ebce0876ec81
7
- data.tar.gz: 90b1bf48990c38a8d1ecd73753926ae1287db968b834e96f09b4d119ca778f05f168e1173010506f84dd9bf6fdbf5113198bd5976f671a0c613e45c5370d2501
6
+ metadata.gz: 466a2c8d3fbcfb3a2d58923278faa30bc7667bc315a0782d71ce40d8cab93e0754aac3e15a77b4dcc59484611f081016360bb3532e42097ff8e33fbe4c82082d
7
+ data.tar.gz: 51e6b4b24c44308fe0cc0f67ecdf5e51683603d5b19d1c2c1fcf4a93c5675f8dda0a9256b288d0132136614809700aa24974d03d983eb06573b65aa4489389d1
@@ -1,47 +1 @@
1
- $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
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,515 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.0
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: 2021-01-31 00:00:00.000000000 Z
13
+ date: 2020-05-30 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- name: rake
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: 1.12.0
189
- type: :development
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: 1.12.0
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/deletion.rb
446
- - adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation.rb
447
- - adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation_mixin.rb
448
- - adapters/database_cleaner-mongo/lib/database_cleaner/mongo/version.rb
449
- - adapters/database_cleaner-mongo_mapper/lib/database_cleaner-mongo_mapper.rb
450
- - adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper.rb
451
- - adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/base.rb
452
- - adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/truncation.rb
453
- - adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/version.rb
454
- - adapters/database_cleaner-mongoid/lib/database_cleaner-mongoid.rb
455
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid.rb
456
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/base.rb
457
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/deletion.rb
458
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo1_truncation_mixin.rb
459
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo2_truncation_mixin.rb
460
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongoid_truncation_mixin.rb
461
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/truncation.rb
462
- - adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/version.rb
463
- - adapters/database_cleaner-moped/lib/database_cleaner-moped.rb
464
- - adapters/database_cleaner-moped/lib/database_cleaner/moped.rb
465
- - adapters/database_cleaner-moped/lib/database_cleaner/moped/base.rb
466
- - adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation.rb
467
- - adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation_base.rb
468
- - adapters/database_cleaner-moped/lib/database_cleaner/moped/version.rb
469
- - adapters/database_cleaner-neo4j/lib/database_cleaner-neo4j.rb
470
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j.rb
471
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/base.rb
472
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/deletion.rb
473
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/transaction.rb
474
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/truncation.rb
475
- - adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/version.rb
476
- - adapters/database_cleaner-ohm/lib/database_cleaner-ohm.rb
477
- - adapters/database_cleaner-ohm/lib/database_cleaner/ohm.rb
478
- - adapters/database_cleaner-ohm/lib/database_cleaner/ohm/truncation.rb
479
- - adapters/database_cleaner-ohm/lib/database_cleaner/ohm/version.rb
480
- - adapters/database_cleaner-redis/lib/database_cleaner-redis.rb
481
- - adapters/database_cleaner-redis/lib/database_cleaner/redis.rb
482
- - adapters/database_cleaner-redis/lib/database_cleaner/redis/base.rb
483
- - adapters/database_cleaner-redis/lib/database_cleaner/redis/deletion.rb
484
- - adapters/database_cleaner-redis/lib/database_cleaner/redis/truncation.rb
485
- - adapters/database_cleaner-redis/lib/database_cleaner/redis/version.rb
486
- - adapters/database_cleaner-sequel/lib/database_cleaner-sequel.rb
487
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel.rb
488
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel/base.rb
489
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel/deletion.rb
490
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel/transaction.rb
491
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel/truncation.rb
492
- - adapters/database_cleaner-sequel/lib/database_cleaner/sequel/version.rb
493
- - cucumber.yml
494
37
  - lib/database_cleaner.rb
495
- - lib/database_cleaner/base.rb
496
- - lib/database_cleaner/configuration.rb
497
- - lib/database_cleaner/cucumber.rb
498
- - lib/database_cleaner/deprecation.rb
499
- - lib/database_cleaner/generic/base.rb
500
- - lib/database_cleaner/generic/transaction.rb
501
- - lib/database_cleaner/generic/truncation.rb
502
- - lib/database_cleaner/null_strategy.rb
503
- - lib/database_cleaner/orm_autodetector.rb
504
- - lib/database_cleaner/safeguard.rb
505
- - lib/database_cleaner/spec.rb
506
- - lib/database_cleaner/spec/database_helper.rb
507
- - lib/database_cleaner/spec/shared_examples.rb
508
- - lib/database_cleaner/version.rb
509
38
  homepage: https://github.com/DatabaseCleaner/database_cleaner
510
39
  licenses:
511
40
  - MIT
512
- metadata: {}
41
+ metadata:
42
+ changelog_uri: https://github.com/DatabaseCleaner/database_cleaner/blob/master/History.rdoc
513
43
  post_install_message:
514
44
  rdoc_options: []
515
45
  require_paths:
@@ -518,14 +48,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
518
48
  requirements:
519
49
  - - ">="
520
50
  - !ruby/object:Gem::Version
521
- version: 1.9.3
51
+ version: '0'
522
52
  required_rubygems_version: !ruby/object:Gem::Requirement
523
53
  requirements:
524
- - - ">="
54
+ - - ">"
525
55
  - !ruby/object:Gem::Version
526
- version: '0'
56
+ version: 1.3.1
527
57
  requirements: []
528
- rubygems_version: 3.0.8
58
+ rubygems_version: 3.0.3
529
59
  signing_key:
530
60
  specification_version: 4
531
61
  summary: Strategies for cleaning databases. Can be used to ensure a clean slate for