database_cleaner-data_mapper
所属分类:collect
开发工具:Ruby
文件大小:0KB
下载次数:0
上传日期:2020-05-16 18:47:35
上 传 者:
sh-1993
说明: 数据库清理器数据映射器,,
(databasecleaner-datamapper,,)
文件列表:
.rspec (53, 2020-05-16)
.travis.yml (88, 2020-05-16)
Gemfile (222, 2020-05-16)
Gemfile.lock (2333, 2020-05-16)
LICENSE.txt (1076, 2020-05-16)
Rakefile (117, 2020-05-16)
bin/ (0, 2020-05-16)
bin/console (363, 2020-05-16)
bin/setup (149, 2020-05-16)
database_cleaner-data_mapper.gemspec (1409, 2020-05-16)
lib/ (0, 2020-05-16)
lib/database_cleaner-data_mapper.rb (39, 2020-05-16)
lib/database_cleaner/ (0, 2020-05-16)
lib/database_cleaner/data_mapper.rb (175, 2020-05-16)
lib/database_cleaner/data_mapper/ (0, 2020-05-16)
lib/database_cleaner/data_mapper/base.rb (410, 2020-05-16)
lib/database_cleaner/data_mapper/transaction.rb (756, 2020-05-16)
lib/database_cleaner/data_mapper/truncation.rb (5023, 2020-05-16)
lib/database_cleaner/data_mapper/version.rb (75, 2020-05-16)
spec/ (0, 2020-05-16)
spec/database_cleaner/ (0, 2020-05-16)
spec/database_cleaner/data_mapper/ (0, 2020-05-16)
spec/database_cleaner/data_mapper/base_spec.rb (838, 2020-05-16)
spec/database_cleaner/data_mapper/transaction_spec.rb (469, 2020-05-16)
spec/database_cleaner/data_mapper/truncation/ (0, 2020-05-16)
spec/database_cleaner/data_mapper/truncation/sqlite3_spec.rb (651, 2020-05-16)
spec/database_cleaner/data_mapper/truncation_spec.rb (286, 2020-05-16)
spec/spec_helper.rb (421, 2020-05-16)
spec/support/ (0, 2020-05-16)
spec/support/data_mapper_helper.rb (664, 2020-05-16)
spec/support/sample.config.yml (552, 2020-05-16)
tmp/ (0, 2020-05-16)
tmp/.keep (0, 2020-05-16)
# Database Cleaner Adapter for DataMapper
## Maintainers Wanted
**This adapter is currently unmaintained. This means that bugs will not be fixed and features will not be added unless someone else does so. If you're interested in taking over maintenance, please open an issue and tell us about it!**
[![Build Status](https://travis-ci.org/DatabaseCleaner/database_cleaner-data_mapper.svg?branch=master)](https://travis-ci.org/DatabaseCleaner/database_cleaner-data_mapper)
[![Code Climate](https://codeclimate.com/github/DatabaseCleaner/database_cleaner-data_mapper/badges/gpa.svg)](https://codeclimate.com/github/DatabaseCleaner/database_cleaner-data_mapper)
Clean your DataMapper databases with Database Cleaner.
See https://github.com/DatabaseCleaner/database_cleaner for more information.
## Installation
```ruby
# Gemfile
group :test do
gem 'database_cleaner-data_mapper'
end
```
## Supported Strategies
Here is an overview of the supported strategies:
Truncation |
Transaction |
Deletion |
Yes |
Yes |
No |
(Default strategy is denoted in bold)
## Configuration options
ORM |
How to access |
Notes |
Data Mapper |
DatabaseCleaner[:data_mapper] |
Connection specified as :symbol keys, loaded via Datamapper repositories |
## COPYRIGHT
See [LICENSE] for details.
近期下载者:
相关文件:
收藏者: