database_cleaner 1.7.0 → 2.0.2
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 -12
- metadata +24 -418
- data/CONTRIBUTE.markdown +0 -28
- data/Gemfile.lock +0 -286
- data/History.rdoc +0 -453
- data/LICENSE +0 -20
- data/README.markdown +0 -541
- data/Rakefile +0 -40
- data/TODO +0 -3
- data/VERSION.yml +0 -4
- data/cucumber.yml +0 -1
- data/lib/database_cleaner/active_record/base.rb +0 -92
- data/lib/database_cleaner/active_record/deletion.rb +0 -108
- data/lib/database_cleaner/active_record/transaction.rb +0 -59
- data/lib/database_cleaner/active_record/truncation.rb +0 -275
- data/lib/database_cleaner/base.rb +0 -166
- data/lib/database_cleaner/configuration.rb +0 -131
- data/lib/database_cleaner/couch_potato/base.rb +0 -7
- data/lib/database_cleaner/couch_potato/truncation.rb +0 -28
- data/lib/database_cleaner/cucumber.rb +0 -3
- data/lib/database_cleaner/data_mapper/base.rb +0 -21
- data/lib/database_cleaner/data_mapper/transaction.rb +0 -28
- data/lib/database_cleaner/data_mapper/truncation.rb +0 -172
- 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/mongo/base.rb +0 -16
- data/lib/database_cleaner/mongo/truncation.rb +0 -62
- data/lib/database_cleaner/mongo/truncation_mixin.rb +0 -26
- data/lib/database_cleaner/mongo2/base.rb +0 -16
- data/lib/database_cleaner/mongo2/truncation_mixin.rb +0 -39
- data/lib/database_cleaner/mongo_mapper/base.rb +0 -20
- data/lib/database_cleaner/mongo_mapper/truncation.rb +0 -19
- data/lib/database_cleaner/mongoid/base.rb +0 -20
- data/lib/database_cleaner/mongoid/truncation.rb +0 -49
- data/lib/database_cleaner/moped/base.rb +0 -39
- data/lib/database_cleaner/moped/truncation.rb +0 -9
- data/lib/database_cleaner/moped/truncation_base.rb +0 -40
- data/lib/database_cleaner/neo4j/base.rb +0 -62
- data/lib/database_cleaner/neo4j/deletion.rb +0 -16
- data/lib/database_cleaner/neo4j/transaction.rb +0 -35
- data/lib/database_cleaner/neo4j/truncation.rb +0 -9
- data/lib/database_cleaner/null_strategy.rb +0 -20
- data/lib/database_cleaner/ohm/truncation.rb +0 -15
- data/lib/database_cleaner/redis/base.rb +0 -37
- data/lib/database_cleaner/redis/truncation.rb +0 -26
- data/lib/database_cleaner/safeguard.rb +0 -72
- data/lib/database_cleaner/sequel/base.rb +0 -22
- data/lib/database_cleaner/sequel/deletion.rb +0 -47
- data/lib/database_cleaner/sequel/transaction.rb +0 -40
- data/lib/database_cleaner/sequel/truncation.rb +0 -78
data/History.rdoc
DELETED
@@ -1,453 +0,0 @@
|
|
1
|
-
== Development (master)
|
2
|
-
|
3
|
-
=== Bug Fixes
|
4
|
-
=== Changes
|
5
|
-
|
6
|
-
== 1.7.0 2017-04-19
|
7
|
-
|
8
|
-
=== Bug Fixes
|
9
|
-
* Remove unnecessary folders from gem: https://github.com/DatabaseCleaner/database_cleaner/pull/508
|
10
|
-
* Properly quote table names: https://github.com/DatabaseCleaner/database_cleaner/pull/501
|
11
|
-
* Use more idiomatic Ruby in README: https://github.com/DatabaseCleaner/database_cleaner/pull/510
|
12
|
-
* Return ::ActiveRecord::Base from `establish_connection`: https://github.com/DatabaseCleaner/database_cleaner/pull/399
|
13
|
-
|
14
|
-
=== Changes
|
15
|
-
* Safeguard against running in production or running against a remote database: https://github.com/DatabaseCleaner/database_cleaner/pull/521
|
16
|
-
|
17
|
-
== 1.6.2 2017-10-29
|
18
|
-
|
19
|
-
=== Bug Fixes
|
20
|
-
* ActiveRecord::Base namespace patch: https://github.com/DatabaseCleaner/database_cleaner/pull/490
|
21
|
-
* Better exclusion condition based on Rails version: https://github.com/DatabaseCleaner/database_cleaner/pull/487
|
22
|
-
|
23
|
-
=== Changes
|
24
|
-
* Better documentation. Typos were fixed. Sequel deletion is supported: https://github.com/DatabaseCleaner/database_cleaner/pull/500
|
25
|
-
|
26
|
-
== 1.6.1 2017-05-09
|
27
|
-
|
28
|
-
=== Bug Fixes
|
29
|
-
* Deletion strategy fix for ActiveRecord (@kawamoto)
|
30
|
-
|
31
|
-
== 1.6.0 2017-05-04
|
32
|
-
|
33
|
-
=== New Features/Changes
|
34
|
-
* Rails 5.1 support: Remove deprecation warning (@activefx)
|
35
|
-
* MySQL 5.6+ InnoDB support (@ahorek)
|
36
|
-
* Better documentation (fixed typo) (@hoshinotsuyoshi)
|
37
|
-
|
38
|
-
=== Bug Fixes
|
39
|
-
* Fix Redis db option (@soylent)
|
40
|
-
* Make NullStrategy API-complete (@anicholson)
|
41
|
-
|
42
|
-
== 1.5.3 2016-04-22
|
43
|
-
|
44
|
-
=== Bug Fixes
|
45
|
-
* @P9GIT fixed issue #436
|
46
|
-
|
47
|
-
== 1.5.2 2016-04-17
|
48
|
-
|
49
|
-
=== New Features/Changes
|
50
|
-
* Use default_client with mongoid 5.0 (@stjhimy)
|
51
|
-
* Added comparable support for strategies (@st0012)
|
52
|
-
* Better README instructions that suggest `append_after` (@jrochkind)
|
53
|
-
* Removed deprecation warnings for Rails 5.0+ (@pschambacher)
|
54
|
-
* Upgrade to RSpec 2.14 (@skalee)
|
55
|
-
|
56
|
-
=== Bug Fixes
|
57
|
-
* @dmitrypol fixed issue #409
|
58
|
-
* @schmierkov fixed the Travis builds with PR #416
|
59
|
-
* @shosti fixed issue #345
|
60
|
-
* @kylev fixed issue #379
|
61
|
-
* @skalee fixed the Travis builds for Neo4j with PR #433
|
62
|
-
|
63
|
-
== 1.5.1 2015-09-05
|
64
|
-
|
65
|
-
== Bug Fix
|
66
|
-
* Added mongo2 missing files to the gemspec. (@geerzo)
|
67
|
-
|
68
|
-
== 1.5.0 2015-09-02
|
69
|
-
|
70
|
-
=== New Features/Changes
|
71
|
-
* Use ensure within the cleaning method. (@cema-sp)
|
72
|
-
* Restored mysql2 + jruby support. (@ahorek)
|
73
|
-
* Added required ruby version to gemspec. (@garethrees)
|
74
|
-
* Added support for Mongoid 5.0 and Mongo Ruby Driver 2.0. (@jprincipe)
|
75
|
-
* Added support for additional Neo4j::Session.open options. (@brienw)
|
76
|
-
* And a bunch of code style and README improvements
|
77
|
-
|
78
|
-
=== Bug Fixes
|
79
|
-
* Fixed truncation for MongoDB 3. (@andreale)
|
80
|
-
* Fixed YAML error when building gem. (@joshnesbitt)
|
81
|
-
* Fixed deletion strategy for JDBC MySQL. (@DanElbert)
|
82
|
-
* Fixed open transactions for multiple connections. (@claptimes5)
|
83
|
-
|
84
|
-
== 1.4.1 2015-03-09
|
85
|
-
* Support for deletion with Sequel. (@cyberdelia)
|
86
|
-
* Use ActiveRecord::Base configuration when different from config file. (@wendy0402)
|
87
|
-
* Removed dependency of Mongo. (@codegourmet)
|
88
|
-
* Fixed issue with tables schema prefix in Postgres. (@phoenixek12)
|
89
|
-
* Use ruby 1.8 syntax. (@daniel-g)
|
90
|
-
* Added license to gemspec. (@chrismar035)
|
91
|
-
* Improved coverage for migrations table. (@jonallured)
|
92
|
-
|
93
|
-
== 1.4.0 2014-12-17
|
94
|
-
|
95
|
-
=== New Features/Changes
|
96
|
-
* Support for Neo4j. (@dpisarewski)
|
97
|
-
* Support for multiple connections on Mongoid. (@nyarly)
|
98
|
-
|
99
|
-
=== Better Performance
|
100
|
-
* Using the deletion strategy with Mysql now only deletes those tables which have had records added to them. (@MadRabbit)
|
101
|
-
* Add support for pre_count on Sequel with Mysql. (@vrinek)
|
102
|
-
* Cache collection names in mongo's truncation strategy. (@nyarly)
|
103
|
-
|
104
|
-
=== Bug Fixes
|
105
|
-
* Fix undefined method error with DataMapper SQLite adaptor. (@lanej)
|
106
|
-
* Fully define Mysql2 adaptor constant. (@jgonera)
|
107
|
-
* Don't truncate schema tables in Postgres. (@billywatson)
|
108
|
-
* Fix issue where Moped cleaner was missing collections with 'system' in their name. (@MartinNowak)
|
109
|
-
|
110
|
-
== 1.3.0 2014-05-23
|
111
|
-
|
112
|
-
=== New Features/Changes
|
113
|
-
* Introduced `DatabaseCleaner::cleaning` method that takes a block. (@ethco)
|
114
|
-
* Improved Sequel support and added more tests (@ethco, @rhunter)
|
115
|
-
|
116
|
-
=== Bug Fixes
|
117
|
-
|
118
|
-
* Fixed an issue with the `Transaction` strategy and Active Record where application-level transactions
|
119
|
-
are not rolledback correctly. (Godfrey Chan)
|
120
|
-
* activerecord-oracle_enhanced-adapter now works again (#259, @sockmonk)
|
121
|
-
|
122
|
-
== 1.2.0 2013-10-09
|
123
|
-
|
124
|
-
A huge thanks goes to @tommeier for fixing the bug with class loading that was cuasing the wrong adapters
|
125
|
-
to be used in certain cases.
|
126
|
-
|
127
|
-
=== New Features/Changes
|
128
|
-
|
129
|
-
* Upgraded RSpec to remove deprecation warnings (John Rowe)
|
130
|
-
* Caching of tables to truncate is now optional (@marcoow)
|
131
|
-
|
132
|
-
=== Bug Fixes
|
133
|
-
|
134
|
-
* Use class_eval loading of superclasses to ensure right version of class is patched. (Tom Meier, Joel Nimety, Ernesto Tagwerker)
|
135
|
-
* Add truncate_tables method to SQLiteAdapter. (Chris Mo)
|
136
|
-
* Fixes missing #uses_sequence invokation in adapter classes for sqlite and sqlite3 (Lefteris Laskaridis)
|
137
|
-
|
138
|
-
|
139
|
-
== 1.1.1 2013-08-01
|
140
|
-
|
141
|
-
=== Bug Fixes
|
142
|
-
|
143
|
-
* Fixes typo in Postgres superclass (POSTGRE_ADAPTER_PARENT > POSTGRES_ADAPTER_PARENT) (Joel Nimety)
|
144
|
-
|
145
|
-
== 1.1.0 2013-08-01
|
146
|
-
|
147
|
-
=== New Features/Changes
|
148
|
-
|
149
|
-
* schema_migrations table name is now retrieved from ActiveRecord (Kyle Stevens)
|
150
|
-
* Autoloading logic is now exposed, see PR #212 for details (Jeff Felchner)
|
151
|
-
|
152
|
-
=== Bug Fixes
|
153
|
-
|
154
|
-
* Deletion strategy works again on MySQL, had to roll back multiple statements patch.
|
155
|
-
* Fix MySqlAdapter superclass bug via class_eval loading of superclasses (Tom Meier)
|
156
|
-
* Sequel strategy fix dealing with symbol/string mismatch on table names. (Fred Wu)
|
157
|
-
|
158
|
-
== 1.0.1 2013-05-13
|
159
|
-
|
160
|
-
* Patch release to fix broken gemspec file. Sorry folks!
|
161
|
-
|
162
|
-
== 1.0.0 2013-05-13
|
163
|
-
|
164
|
-
=== New Features/Changes
|
165
|
-
|
166
|
-
* Dropping support for Ruby 1.8.x; Only 1.9.x and beyond will be supported going forward.
|
167
|
-
* Now supporting and testing against ruby 2.0.x.
|
168
|
-
* Adds support for AR 4.0 by using `begin_transaction` (David Chelimsky and Steve Madsen)
|
169
|
-
* Adds Rails 4 support for SQLite3Adapter
|
170
|
-
* Suppport for Moped when used without Mongoid (Cyprian Kowalczyk)
|
171
|
-
* Redis & Ohm support (Hengbin Qiu, James Conroy-Finn)
|
172
|
-
|
173
|
-
* CI Improvements (Jan Vlnas, Murahashi Sanemat Kenichi, Samer Masry, Jordan Hollinger)
|
174
|
-
* README/Documentation improvements (Marcelo Cajueiro, Donald Ball, TJ Chambers, Nick Huanca, Justin Edwards, Ryota Arai)
|
175
|
-
|
176
|
-
=== Bug Fixes
|
177
|
-
|
178
|
-
* Fixes transaction errors when using `after_commit` hooks in AR.
|
179
|
-
* Fixes truncation error with SQLite (Daniel White)
|
180
|
-
* Fixes `pre_count` logic in AR Postgres. (Jordan Hollinger)
|
181
|
-
* Sequel fix to normalize all table names to strings. (Lauri Peltola)
|
182
|
-
* #clean_with now works with multiple connections. (John Ferlito)
|
183
|
-
* Always start a AR transaction to prevent nil errors in AR when rolling back (John Hampton, M.Shibuya)
|
184
|
-
|
185
|
-
== 0.9.1 2012-10-11
|
186
|
-
|
187
|
-
(0.9.0 was released first but was yanked due to bad gemspec)
|
188
|
-
|
189
|
-
=== New Features
|
190
|
-
|
191
|
-
* New options for AR :truncation for speed. See README for details. (Stanislaw Pankevich)
|
192
|
-
* view caching works with the schema_plus gem loaded
|
193
|
-
* ActiveRecord::ConnectionAdapters::AbstractAdapter#views was renamed to an internal name
|
194
|
-
* ActiveRecord truncation strategy caches the list of tables #130 (Petteri Räty)
|
195
|
-
* Caches AR DB connections which speeds up cleaning with multiple DBs and allows for transation strategy.
|
196
|
-
* MongoDB :truncation strategy (wihtout use of additional library like Mogoid). #138 (Christopher Darrell & Richard Luther/@sidereel)
|
197
|
-
* Add Sequel support for multiple migration storage names in #148 (Jack Chu)
|
198
|
-
* Multiple database support for Mongoid 3 #149 (Luke Francl)
|
199
|
-
|
200
|
-
=== Bug Fixes
|
201
|
-
|
202
|
-
* :deletion for AR Postgres in JRuby now works #140 (Heiko Seebach)
|
203
|
-
* Rescue LoadError when AR adapters not available. #145 (Garrow Bedrossian)
|
204
|
-
* Fixes DatabaseCleaner::[] to cache cleaners.
|
205
|
-
|
206
|
-
== 0.8.0 2012-06-02
|
207
|
-
|
208
|
-
* Faster truncation strategy for ActiveRecord with MySQL or PostgreSQL
|
209
|
-
* Upgrade to RSpec 2
|
210
|
-
* Support for Mongoid 3/Moped (Andrew Bennett)
|
211
|
-
* Postgres Adapter no longer generates invalid SQL when no tables provided. (Michael-Keith Bernard)
|
212
|
-
|
213
|
-
== 0.7.2 2012-03-21
|
214
|
-
|
215
|
-
* Proper Mysql2Adapter superclass fix. (Jonathan Viney)
|
216
|
-
* Sequel::Transaction works with latest Sequel. (David Barri)
|
217
|
-
* Documenation fixes/improvements. (David Barri, Ben Mabey, Kevin Moore)
|
218
|
-
|
219
|
-
== 0.7.1 2012-01-15
|
220
|
-
|
221
|
-
=== New Features
|
222
|
-
|
223
|
-
* Support for Rails 3.2. (David Demaree)
|
224
|
-
|
225
|
-
=== Bugfixes
|
226
|
-
|
227
|
-
* Truncation resets the id count on SQLite. (Jordan Hollinger)
|
228
|
-
* AR delete strategy now disables referential integrity. (Ben Mabey)
|
229
|
-
* Fixes Postgres adapter for JRuby. (Dmytrii Nagirniak, Uģis Ozols)
|
230
|
-
* Documenation fixes. (Josh Rendek, Joshua Flanagan)
|
231
|
-
* Fixes bad error message when no database is specified for AR. (issue #72, Ben Mabey)
|
232
|
-
|
233
|
-
|
234
|
-
== 0.7.0 2011-11-12
|
235
|
-
|
236
|
-
=== New Features
|
237
|
-
|
238
|
-
* Sequel Support (Corin Langosch)
|
239
|
-
* Updates DataMapper strategies to work with DataMapper 1.1 (Xavier Shay and Anthony Williams)
|
240
|
-
* for AR and PSQL, truncate all tables with one command, improving performance due to avoiding cascades (Leonid Shevtsov)
|
241
|
-
|
242
|
-
=== Bugfixes
|
243
|
-
|
244
|
-
* Avoids trying to load the ':default' ActiveRecord config. #72 (Ben Mabey)
|
245
|
-
|
246
|
-
== 0.6.7 2011-04-21
|
247
|
-
|
248
|
-
=== Bugfixes
|
249
|
-
|
250
|
-
* Explicity require ERB. (Vít Ondruch)
|
251
|
-
* Cache DB connections, fixes referential integrity bug when using multiple DBs. (John Ferlito)
|
252
|
-
|
253
|
-
== 0.6.6 2011-03-16
|
254
|
-
|
255
|
-
=== Bugfixes
|
256
|
-
|
257
|
-
* Don't modify the array passed in with the :except key. (Eric Wollesen)
|
258
|
-
* Fixes version checking for postgresql. (Greg Barnett)
|
259
|
-
|
260
|
-
== 0.6.5 2011-03-08
|
261
|
-
|
262
|
-
=== Bugfixes
|
263
|
-
|
264
|
-
* When truncating in postgresql (>= 8.4) sequences are now reset. (Greg Barnett)
|
265
|
-
* Fixes the MongoDB truncation so non system collections starting with 'system' are not excluded for truncation. (Dmitry Naumov)
|
266
|
-
|
267
|
-
== 0.6.4 2011-02-21
|
268
|
-
|
269
|
-
=== Bugfixes
|
270
|
-
|
271
|
-
* Avoids trying to drop views in Postgres. (Bernerd Schaefer)
|
272
|
-
|
273
|
-
== 0.6.3 2011-02-09
|
274
|
-
|
275
|
-
=== New Features
|
276
|
-
|
277
|
-
* Configurable logger to aid in debugging database cleaner. (Marty Haught)
|
278
|
-
|
279
|
-
== 0.6.2 2011-02-04
|
280
|
-
|
281
|
-
=== New Features
|
282
|
-
|
283
|
-
* Support IBM_DB Adapter for table truncation. This is for DB2 >= 9.7 (GH-39 Samer Abukhait)
|
284
|
-
|
285
|
-
=== Bugfixes
|
286
|
-
|
287
|
-
* Reversed GH-41 after larger community discussion. Mongo indexes are no longer dropped. (Ben Mabey)
|
288
|
-
* Truncation strategy works on SqlServer tables with FKs. (GH-33, Hugo Freire)
|
289
|
-
|
290
|
-
== 0.6.1 2011-01-27
|
291
|
-
|
292
|
-
=== New Features
|
293
|
-
|
294
|
-
* Default strategies for all ORM libs are defined. (GH-36, GH-38 Prem Sichanugrist)
|
295
|
-
* Add a NullStrategy. (GH-6 Ben Mabey)
|
296
|
-
|
297
|
-
=== Bugfixes
|
298
|
-
|
299
|
-
* Mongo colletion indexes are dropped for collections being removed. (GH-41 Ben Mabey)
|
300
|
-
* Exclude database views from tables_to_truncate, if the connection adapter
|
301
|
-
supports reading from the ANSI standard information_schema views. (GH-25 Samer Abukhait)
|
302
|
-
* ORM types can be specified in string format and not mysteriously blowup. (GH-26 Ben Mabey)
|
303
|
-
* Do not remove MongoDB reserved system collections. (GH-24 Ches Martin)
|
304
|
-
|
305
|
-
== 0.6.0 2010-10-25 - The Multi-ORM/Connection Release
|
306
|
-
|
307
|
-
This release has the often asked for functionality of being able to clean
|
308
|
-
multiple databases within the same project. This involves being able to
|
309
|
-
clean databases managed by the same ORM (i.e. different connections) and
|
310
|
-
also being able to clean databases managed by distinct ORMs. So, for
|
311
|
-
example you can now use DatabaseCleaner on a project that has ActiveRecord
|
312
|
-
and Mongoid to help ensure all DBs all in a clean state. Please see the
|
313
|
-
README for more information. The old API has been preserved so this release
|
314
|
-
is backwards compatible.
|
315
|
-
|
316
|
-
This release is a result of Jon Rowe's hard work. Many thanks to Jon for all
|
317
|
-
of the hours and effort he put into making this feature request a reality.
|
318
|
-
|
319
|
-
=== New Features
|
320
|
-
|
321
|
-
* Ability to clean multiple database connections managed by the same ORM. (Jon Rowe)
|
322
|
-
* Ability to clean multiple DBs managed by different ORMs in same project. (Jon Rowe)
|
323
|
-
* Allows for the ActiveRecord config file (database.yml) to contain ERB and process it. (Fletcher Nichol)
|
324
|
-
* Mysql2Adapter support. (Kamal Fariz Mahyuddin and John Ferlito)
|
325
|
-
* Deletion strategy for ActiveRecord (Mikl Kurkov)
|
326
|
-
|
327
|
-
=== Bugfixes
|
328
|
-
|
329
|
-
* Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
|
330
|
-
* Addresses Ruby 1.9 and 1.8 differences causing a bug in the AR PostgreSQLAdapter truncation strategy. (GH-14, James B. Byrne)
|
331
|
-
* Fixes syntax error that MySQL was throwing during DataMapper truncation. (Blake Gentry)
|
332
|
-
* Fixes truncation for PostgreSQL (Bodaniel Jeanes and Gabriel Sobrinho)
|
333
|
-
* Workaround for superclass mismatches for the ActiveRecord-jdbc-adapter (Toms Mikoss)
|
334
|
-
|
335
|
-
== 0.5.2
|
336
|
-
|
337
|
-
=== Bugfixes
|
338
|
-
|
339
|
-
* Removes extraneous puts call from configuration.rb. (Ben Mabey)
|
340
|
-
|
341
|
-
== 0.5.1 - The Mongoid Release
|
342
|
-
|
343
|
-
This release also attempts to fix AR for Rails 3 support. I have seen mixed reviews on this. Some people
|
344
|
-
claim the fixes allow for use in Rails3 while others have not had good luck with it. I plan on reworking
|
345
|
-
the way AR support is added so that it is more friendly with how Rails 3 uses autoload.
|
346
|
-
|
347
|
-
=== New features
|
348
|
-
|
349
|
-
* Clean and clean_with methods are now aliased to clean! and clean_with!. (Ben Mabey)
|
350
|
-
* Mongoid Support! (Sidney Burks)
|
351
|
-
|
352
|
-
=== Bugfixes
|
353
|
-
|
354
|
-
* Check PostgreSQL version >= 8.2 before using TRUNCATE CASCADE (James B. Byrne)
|
355
|
-
* Correct superclass is used in ActiveRecord connection adapters. (johnathan, Aslak Hellesoy, Ben Mabey)
|
356
|
-
|
357
|
-
== 0.5.0 2010-02-22 - The CouchPotato Release
|
358
|
-
|
359
|
-
=== New features
|
360
|
-
|
361
|
-
* Basic truncation support for CouchPotato / CouchDB. (Martin Rehfeld)
|
362
|
-
* SQLite3 on JRuby will fall back to delete if truncate doesn't work. (Darrin Holst)
|
363
|
-
* JDBC is used for ActiveRecord automaticaly when JRuby is detected. (Darrin Holst)
|
364
|
-
|
365
|
-
=== Bufixes
|
366
|
-
|
367
|
-
* MongoMapper truncation strategy now works with :only and :except options. (Ben Mabey)
|
368
|
-
|
369
|
-
== 0.4.3 2010-01-17
|
370
|
-
|
371
|
-
=== New features
|
372
|
-
|
373
|
-
* Truncation for ActiveRecord oracle_enhanced adapter. (Edgars Beigarts)
|
374
|
-
|
375
|
-
== 0.4.2 2010-01-12
|
376
|
-
|
377
|
-
=== Bufixes
|
378
|
-
|
379
|
-
* Datamapper truncation now uses 'select' instead of deprecated the 'query' method. (Steve Tooke)
|
380
|
-
|
381
|
-
== 0.4.1 2010-01-07
|
382
|
-
|
383
|
-
=== Bufixes
|
384
|
-
|
385
|
-
* Postgres tables with FKs now truncate (added TRUNCADE CASCADE) using Datamapper. (Ben Mabey)
|
386
|
-
|
387
|
-
== 0.4.0 2009-12-23 (The MongoMapper Edition)
|
388
|
-
|
389
|
-
=== New features
|
390
|
-
|
391
|
-
* MongoMapper support for the truncation strategy. (Aubrey Holland)
|
392
|
-
|
393
|
-
== 0.3.0 2009-12-20
|
394
|
-
|
395
|
-
=== New features
|
396
|
-
|
397
|
-
* DataMapper 0.10.0 Compatible. (Martin Gamsjaeger)
|
398
|
-
|
399
|
-
=== Bufixes
|
400
|
-
|
401
|
-
* Postgres tables with FKs now truncate (added TRUNCADE CASCADE). (Vika - yozhyk on github)
|
402
|
-
|
403
|
-
== 0.2.3 2009-05-30
|
404
|
-
|
405
|
-
=== New features
|
406
|
-
|
407
|
-
* Support for SQL Server truncation (Adam Meehan)
|
408
|
-
|
409
|
-
== 0.2.2 2009-05-08
|
410
|
-
|
411
|
-
=== Bufixes
|
412
|
-
|
413
|
-
* Added proper gemspec description and summary. (Ben Mabey, thanks to Martin Gamsjaeger)
|
414
|
-
|
415
|
-
=== New features
|
416
|
-
|
417
|
-
== 0.2.1 2009-05-08
|
418
|
-
|
419
|
-
=== Bufixes
|
420
|
-
|
421
|
-
* Removed extraneous TruncationBase class definition. (Ben Mabey)
|
422
|
-
|
423
|
-
== 0.2.0 2009-05-08 - The Datamapper Release
|
424
|
-
|
425
|
-
=== New features
|
426
|
-
|
427
|
-
* DataMapper strategies (Martin Gamsjaeger)
|
428
|
-
* Transaction
|
429
|
-
* Truncation - working SQLite3, MySQL adapters. Experimental Postgres adapter (not tested).
|
430
|
-
|
431
|
-
== 0.1.3 2009-04-30
|
432
|
-
|
433
|
-
=== New features
|
434
|
-
|
435
|
-
* PostgresSQLAdapter for AR to support the truncation strategy. (Alberto Perdomo)
|
436
|
-
|
437
|
-
=== Bufixes
|
438
|
-
|
439
|
-
* Added missing quotes around table names in truncation calls. (Michael MacDonald)
|
440
|
-
|
441
|
-
== 0.1.2 2009-03-05
|
442
|
-
|
443
|
-
=== New features
|
444
|
-
|
445
|
-
* JDBC Adapter to enable AR truncation strategy to work. (Kamal Fariz Mahyuddin)
|
446
|
-
|
447
|
-
== 0.1.1 2009-03-04 - Initial Release (Ben Mabey)
|
448
|
-
|
449
|
-
* Basic infrastructure
|
450
|
-
* Features, RSpec code examples
|
451
|
-
* ActiveRecord strategies
|
452
|
-
* Truncation - with MySQL, and SQLite3 adapters.
|
453
|
-
* Transaction - wrap your modifications and roll them back.
|
data/LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2009 Ben Mabey
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|