Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support repeated parameters and add support for new ones #8

Merged
merged 5 commits into from
Feb 9, 2016

Conversation

joeyAghion
Copy link
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
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