database_cleaner 1.99.0 → 2.0.1

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 +12 -482
  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/base.rb +0 -101
  12. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/deletion.rb +0 -108
  13. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/transaction.rb +0 -59
  14. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/truncation.rb +0 -288
  15. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record/version.rb +0 -5
  16. data/adapters/database_cleaner-active_record/lib/database_cleaner/active_record.rb +0 -6
  17. data/adapters/database_cleaner-active_record/lib/database_cleaner-active_record.rb +0 -1
  18. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/base.rb +0 -7
  19. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/truncation.rb +0 -28
  20. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato/version.rb +0 -5
  21. data/adapters/database_cleaner-couch_potato/lib/database_cleaner/couch_potato.rb +0 -13
  22. data/adapters/database_cleaner-couch_potato/lib/database_cleaner-couch_potato.rb +0 -1
  23. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/base.rb +0 -25
  24. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/transaction.rb +0 -28
  25. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/truncation.rb +0 -173
  26. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper/version.rb +0 -5
  27. data/adapters/database_cleaner-data_mapper/lib/database_cleaner/data_mapper.rb +0 -6
  28. data/adapters/database_cleaner-data_mapper/lib/database_cleaner-data_mapper.rb +0 -1
  29. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/base.rb +0 -16
  30. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/deletion.rb +0 -8
  31. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation.rb +0 -74
  32. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/truncation_mixin.rb +0 -26
  33. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo/version.rb +0 -5
  34. data/adapters/database_cleaner-mongo/lib/database_cleaner/mongo.rb +0 -11
  35. data/adapters/database_cleaner-mongo/lib/database_cleaner-mongo.rb +0 -1
  36. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/base.rb +0 -24
  37. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/truncation.rb +0 -35
  38. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper/version.rb +0 -5
  39. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner/mongo_mapper.rb +0 -5
  40. data/adapters/database_cleaner-mongo_mapper/lib/database_cleaner-mongo_mapper.rb +0 -1
  41. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/base.rb +0 -20
  42. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/deletion.rb +0 -10
  43. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo1_truncation_mixin.rb +0 -26
  44. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongo2_truncation_mixin.rb +0 -38
  45. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/mongoid_truncation_mixin.rb +0 -65
  46. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/truncation.rb +0 -49
  47. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid/version.rb +0 -5
  48. data/adapters/database_cleaner-mongoid/lib/database_cleaner/mongoid.rb +0 -11
  49. data/adapters/database_cleaner-mongoid/lib/database_cleaner-mongoid.rb +0 -1
  50. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/base.rb +0 -39
  51. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation.rb +0 -9
  52. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/truncation_base.rb +0 -44
  53. data/adapters/database_cleaner-moped/lib/database_cleaner/moped/version.rb +0 -5
  54. data/adapters/database_cleaner-moped/lib/database_cleaner/moped.rb +0 -12
  55. data/adapters/database_cleaner-moped/lib/database_cleaner-moped.rb +0 -1
  56. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/base.rb +0 -66
  57. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/deletion.rb +0 -16
  58. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/transaction.rb +0 -35
  59. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/truncation.rb +0 -9
  60. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j/version.rb +0 -5
  61. data/adapters/database_cleaner-neo4j/lib/database_cleaner/neo4j.rb +0 -7
  62. data/adapters/database_cleaner-neo4j/lib/database_cleaner-neo4j.rb +0 -1
  63. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/truncation.rb +0 -24
  64. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm/version.rb +0 -5
  65. data/adapters/database_cleaner-ohm/lib/database_cleaner/ohm.rb +0 -12
  66. data/adapters/database_cleaner-ohm/lib/database_cleaner-ohm.rb +0 -1
  67. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/base.rb +0 -45
  68. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/deletion.rb +0 -9
  69. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/truncation.rb +0 -26
  70. data/adapters/database_cleaner-redis/lib/database_cleaner/redis/version.rb +0 -5
  71. data/adapters/database_cleaner-redis/lib/database_cleaner/redis.rb +0 -5
  72. data/adapters/database_cleaner-redis/lib/database_cleaner-redis.rb +0 -1
  73. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/base.rb +0 -26
  74. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/deletion.rb +0 -47
  75. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/transaction.rb +0 -40
  76. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/truncation.rb +0 -79
  77. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel/version.rb +0 -5
  78. data/adapters/database_cleaner-sequel/lib/database_cleaner/sequel.rb +0 -6
  79. data/adapters/database_cleaner-sequel/lib/database_cleaner-sequel.rb +0 -1
  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/database_helper.rb +0 -82
  92. data/lib/database_cleaner/spec/shared_examples.rb +0 -15
  93. data/lib/database_cleaner/spec.rb +0 -2
  94. data/lib/database_cleaner/version.rb +0 -3
data/Gemfile.lock DELETED
@@ -1,324 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- database_cleaner (1.99.0)
5
-
6
- PATH
7
- remote: adapters
8
- specs:
9
- database_cleaner-active_record (1.99.0)
10
- activerecord
11
- database_cleaner (~> 1.99.0)
12
- database_cleaner-couch_potato (1.99.0)
13
- couch_potato
14
- database_cleaner (~> 1.99.0)
15
- database_cleaner-data_mapper (1.99.0)
16
- database_cleaner (~> 1.99.0)
17
- datamapper
18
- dm-transactions
19
- database_cleaner-mongo (1.99.0)
20
- database_cleaner (~> 1.99.0)
21
- mongo
22
- database_cleaner-mongo_mapper (1.99.0)
23
- database_cleaner (~> 1.99.0)
24
- mongo_mapper
25
- database_cleaner-mongoid (1.99.0)
26
- database_cleaner (~> 1.99.0)
27
- mongoid
28
- database_cleaner-moped (1.99.0)
29
- database_cleaner (~> 1.99.0)
30
- moped
31
- database_cleaner-neo4j (1.99.0)
32
- database_cleaner (~> 1.99.0)
33
- neo4j-core
34
- database_cleaner-ohm (1.99.0)
35
- database_cleaner (~> 1.99.0)
36
- database_cleaner-redis (~> 1.99.0)
37
- ohm
38
- database_cleaner-redis (1.99.0)
39
- database_cleaner (~> 1.99.0)
40
- redis
41
- database_cleaner-sequel (1.99.0)
42
- database_cleaner (~> 1.99.0)
43
- sequel
44
-
45
- GEM
46
- remote: https://rubygems.org/
47
- specs:
48
- activemodel (3.0.0)
49
- activesupport (= 3.0.0)
50
- builder (~> 2.1.2)
51
- i18n (~> 0.4.1)
52
- activerecord (3.0.0)
53
- activemodel (= 3.0.0)
54
- activesupport (= 3.0.0)
55
- arel (~> 1.0.0)
56
- tzinfo (~> 0.3.23)
57
- activerecord-mysql2-adapter (0.0.3)
58
- mysql2
59
- activesupport (3.0.0)
60
- addressable (2.3.6)
61
- arel (1.0.1)
62
- activesupport (~> 3.0.0)
63
- bcrypt (3.1.7)
64
- bcrypt (3.1.7-java)
65
- bcrypt-ruby (3.1.5)
66
- bcrypt (>= 3.1.3)
67
- bcrypt-ruby (3.1.5-java)
68
- bcrypt (>= 3.1.3)
69
- bson (1.12.5)
70
- bson (1.12.5-java)
71
- bson_ext (1.12.5)
72
- bson (~> 1.12.5)
73
- builder (2.1.2)
74
- coderay (1.1.2)
75
- couch_potato (1.3.0)
76
- activemodel
77
- couchrest (~> 1.2.0)
78
- json (~> 1.6)
79
- couchrest (1.2.1)
80
- mime-types (>= 1.15)
81
- multi_json (~> 1.7, ~> 1.0)
82
- rest-client (~> 1.8.0)
83
- cucumber (1.2.1)
84
- builder (>= 2.1.2)
85
- diff-lcs (>= 1.1.3)
86
- gherkin (~> 2.11.0)
87
- json (>= 1.4.6)
88
- data_objects (0.10.14)
89
- addressable (~> 2.1)
90
- datamapper (1.2.0)
91
- dm-aggregates (~> 1.2.0)
92
- dm-constraints (~> 1.2.0)
93
- dm-core (~> 1.2.0)
94
- dm-migrations (~> 1.2.0)
95
- dm-serializer (~> 1.2.0)
96
- dm-timestamps (~> 1.2.0)
97
- dm-transactions (~> 1.2.0)
98
- dm-types (~> 1.2.0)
99
- dm-validations (~> 1.2.0)
100
- diff-lcs (1.3)
101
- dm-aggregates (1.2.0)
102
- dm-core (~> 1.2.0)
103
- dm-constraints (1.2.0)
104
- dm-core (~> 1.2.0)
105
- dm-core (1.2.1)
106
- addressable (~> 2.3)
107
- dm-do-adapter (1.2.0)
108
- data_objects (~> 0.10.6)
109
- dm-core (~> 1.2.0)
110
- dm-migrations (1.2.0)
111
- dm-core (~> 1.2.0)
112
- dm-serializer (1.2.2)
113
- dm-core (~> 1.2.0)
114
- fastercsv (~> 1.5)
115
- json (~> 1.6)
116
- json_pure (~> 1.6)
117
- multi_json (~> 1.0)
118
- dm-sqlite-adapter (1.2.0)
119
- dm-do-adapter (~> 1.2.0)
120
- do_sqlite3 (~> 0.10.6)
121
- dm-timestamps (1.2.0)
122
- dm-core (~> 1.2.0)
123
- dm-transactions (1.2.0)
124
- dm-core (~> 1.2.0)
125
- dm-types (1.2.2)
126
- bcrypt-ruby (~> 3.0)
127
- dm-core (~> 1.2.0)
128
- fastercsv (~> 1.5)
129
- json (~> 1.6)
130
- multi_json (~> 1.0)
131
- stringex (~> 1.4)
132
- uuidtools (~> 2.1)
133
- dm-validations (1.2.0)
134
- dm-core (~> 1.2.0)
135
- do_jdbc (0.10.14-java)
136
- data_objects (= 0.10.14)
137
- do_sqlite3 (0.10.14)
138
- data_objects (= 0.10.14)
139
- do_sqlite3 (0.10.14-java)
140
- data_objects (= 0.10.14)
141
- do_jdbc (= 0.10.14)
142
- jdbc-sqlite3 (>= 3.5.8)
143
- domain_name (0.5.20180417)
144
- unf (>= 0.0.5, < 1.0.0)
145
- faraday (0.9.0)
146
- multipart-post (>= 1.2, < 3)
147
- faraday_middleware (0.9.1)
148
- faraday (>= 0.7.4, < 0.10)
149
- fastercsv (1.5.5)
150
- ffi (1.9.25)
151
- ffi (1.9.25-java)
152
- formatador (0.2.5)
153
- gherkin (2.11.6)
154
- json (>= 1.7.6)
155
- gherkin (2.11.6-java)
156
- json (>= 1.7.6)
157
- guard (2.14.2)
158
- formatador (>= 0.2.4)
159
- listen (>= 2.7, < 4.0)
160
- lumberjack (>= 1.0.12, < 2.0)
161
- nenv (~> 0.1)
162
- notiffany (~> 0.0)
163
- pry (>= 0.9.12)
164
- shellany (~> 0.0)
165
- thor (>= 0.18.1)
166
- guard-compat (1.2.1)
167
- guard-rspec (4.7.3)
168
- guard (~> 2.1)
169
- guard-compat (~> 1.1)
170
- rspec (>= 2.99.0, < 4.0)
171
- http-cookie (1.0.3)
172
- domain_name (~> 0.5)
173
- httparty (0.13.3)
174
- json (~> 1.8)
175
- multi_xml (>= 0.5.2)
176
- httpclient (2.5.3.3)
177
- i18n (0.4.2)
178
- jdbc-sqlite3 (3.8.10.1)
179
- json (1.8.6)
180
- json (1.8.6-java)
181
- json_pure (1.8.1)
182
- listen (3.0.8)
183
- rb-fsevent (~> 0.9, >= 0.9.4)
184
- rb-inotify (~> 0.9, >= 0.9.7)
185
- lumberjack (1.0.13)
186
- method_source (0.9.0)
187
- mime-types (2.99.3)
188
- mongo (1.12.5)
189
- bson (= 1.12.5)
190
- mongo_ext (0.19.3)
191
- mongo_mapper (0.12.0)
192
- activemodel (~> 3.0)
193
- activesupport (~> 3.0)
194
- plucky (~> 0.5.2)
195
- mongoid (2.2.6)
196
- activemodel (~> 3.0.0)
197
- mongo (~> 1.3)
198
- tzinfo (~> 0.3.22)
199
- mongoid-tree (0.7.0)
200
- mongoid (~> 2.0)
201
- moped (1.5.2)
202
- multi_json (1.13.1)
203
- multi_xml (0.5.5)
204
- multipart-post (2.0.0)
205
- mysql (2.9.1)
206
- mysql2 (0.3.18)
207
- nenv (0.3.0)
208
- neo4j-community (2.1.5)
209
- neo4j-core (3.0.8)
210
- activesupport
211
- faraday (~> 0.9.0)
212
- faraday_middleware (~> 0.9.1)
213
- httparty
214
- httpclient
215
- json
216
- neo4j-community (~> 2.1.1)
217
- net-http-persistent
218
- os
219
- zip
220
- nest (1.1.2)
221
- redis
222
- net-http-persistent (2.9.4)
223
- netrc (0.11.0)
224
- notiffany (0.1.1)
225
- nenv (~> 0.1)
226
- shellany (~> 0.0)
227
- ohm (0.1.5)
228
- nest (~> 1.0)
229
- os (0.9.6)
230
- pg (0.18.2)
231
- plucky (0.5.2)
232
- mongo (~> 1.5)
233
- pry (0.11.3)
234
- coderay (~> 1.1.0)
235
- method_source (~> 0.9.0)
236
- pry (0.11.3-java)
237
- coderay (~> 1.1.0)
238
- method_source (~> 0.9.0)
239
- spoon (~> 0.0)
240
- rake (11.1.2)
241
- rb-fsevent (0.10.3)
242
- rb-inotify (0.9.10)
243
- ffi (>= 0.5.0, < 2)
244
- redis (3.1.0)
245
- rest-client (1.8.0)
246
- http-cookie (>= 1.0.2, < 2.0)
247
- mime-types (>= 1.16, < 3.0)
248
- netrc (~> 0.7)
249
- rspec (3.7.0)
250
- rspec-core (~> 3.7.0)
251
- rspec-expectations (~> 3.7.0)
252
- rspec-mocks (~> 3.7.0)
253
- rspec-core (3.7.1)
254
- rspec-support (~> 3.7.0)
255
- rspec-expectations (3.7.0)
256
- diff-lcs (>= 1.2.0, < 2.0)
257
- rspec-support (~> 3.7.0)
258
- rspec-mocks (3.7.0)
259
- diff-lcs (>= 1.2.0, < 2.0)
260
- rspec-support (~> 3.7.0)
261
- rspec-support (3.7.1)
262
- sequel (3.21.0)
263
- shellany (0.0.1)
264
- spoon (0.0.6)
265
- ffi
266
- sqlite3 (1.3.10)
267
- stringex (1.5.1)
268
- thor (0.20.0)
269
- tzinfo (0.3.48)
270
- unf (0.1.4)
271
- unf_ext
272
- unf (0.1.4-java)
273
- unf_ext (0.0.7.5)
274
- uuidtools (2.1.5)
275
- zip (2.0.2)
276
-
277
- PLATFORMS
278
- java
279
- ruby
280
-
281
- DEPENDENCIES
282
- activerecord
283
- activerecord-mysql2-adapter
284
- bson_ext
285
- bundler
286
- couch_potato
287
- cucumber
288
- database_cleaner!
289
- database_cleaner-active_record!
290
- database_cleaner-couch_potato!
291
- database_cleaner-data_mapper!
292
- database_cleaner-mongo!
293
- database_cleaner-mongo_mapper!
294
- database_cleaner-mongoid!
295
- database_cleaner-moped!
296
- database_cleaner-neo4j!
297
- database_cleaner-ohm!
298
- database_cleaner-redis!
299
- database_cleaner-sequel!
300
- datamapper
301
- dm-migrations
302
- dm-sqlite-adapter
303
- guard-rspec
304
- json_pure
305
- listen (~> 3.0.0)
306
- mongo (~> 1.12.0)
307
- mongo_ext
308
- mongo_mapper
309
- mongoid
310
- mongoid-tree
311
- moped
312
- mysql (~> 2.9.1)
313
- mysql2
314
- neo4j-core
315
- ohm (~> 0.1.3)
316
- pg
317
- rake
318
- rspec
319
- sequel (~> 3.21.0)
320
- sqlite3
321
- tzinfo
322
-
323
- BUNDLED WITH
324
- 1.17.3