Skip to content

Support repeated parameters and add support for new ones#8

Merged
dblock merged 5 commits intomongoid:masterfrom
joeyAghion:exclude
Feb 9, 2016
Merged

Support repeated parameters and add support for new ones#8
dblock merged 5 commits intomongoid:masterfrom
joeyAghion:exclude

Conversation

@joeyAghion
Copy link
Copy Markdown
Collaborator

Some parameters can be included multiple times. This adds support for setting parameters to arrays, which will then be repeated in the resulting command strings. E.g.:

mongodump --collection users --collection products

This also adds support for certain mongodump parameters that are new in 3.0: excludeCollection and excludeCollectionsWithPrefix. (I can separate the PRs if you prefer.)

@dblock
Copy link
Copy Markdown
Collaborator

dblock commented Feb 9, 2016

Looks good. Update CHANGELOG please.

The specs in 1.9.3 failed because of rubygems/bundler#3558 I believe, needs a bundle update or something. If you don't mind add Ruby 2.2 and 2.3.0 to .travis.yml.

dblock added a commit that referenced this pull request Feb 9, 2016
Support repeated parameters and add support for new ones
@dblock dblock merged commit 54904b2 into mongoid:master Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants