{"_id":"grunt-mongo-migrations","_rev":"39-c5d9a094fad1e356eaad527773f175ee","name":"grunt-mongo-migrations","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist-tags":{"latest":"0.7.0"},"versions":{"0.5.4":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.4","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.1.x"},"_id":"grunt-mongo-migrations@0.5.4","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"590317f5c9039d994577cf82d2fe26f1b5f66391","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.4.tgz","integrity":"sha512-ABHgMapOp/3wizpS1mMw0LYQdOUcU/w6BRwVfEZKgP4EOZCrXuwPVXSuYDu3fTX4AX04ROzSwXd5cxBLqf3/AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHcd+T8x7r5lpjhMUiV3p+ATRIicBTyHtIUU66wDkDVMAiBG4z7DzTt94agNHZtudEVqZU4mci7NTW6FpFi6riMZIQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.5":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.5","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.1.x"},"_id":"grunt-mongo-migrations@0.5.5","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"739392387295b38391aaf70582e9f8d71ca06e68","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.5.tgz","integrity":"sha512-39VAA4i3BHu27pg/Jj8o7PTMKIpgVzFN9Dym7G6JXbTivHDwQ7QMrbD3FAnXVsjYo9pYzYFzIbV/2/4rTJVfvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3oY/vOB/swEV3257He+4C74F4GBz/M8NL8FrVvkTh7QIhAIQQRqwknTXf4z8GYSW0ZeiD/K0Z+3EuqhgsPF5PoKn+"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.6":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.6","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.1.x"},"_id":"grunt-mongo-migrations@0.5.6","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"6a10e5132e5ee1043d71d20c68feafd636498ae9","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.6.tgz","integrity":"sha512-xhjvpz7OnitlLRYwttt+tmXI3EBcqdWwNQLhCyd0aDrCHrJJVmNQ7SFj5PyRo37aP884/h0t4BH3PDA5BLGZUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGorbiTJV23hu2jX+aEflV3Ii2ZElCRQqOvuLslS26G9AiEAoOWejQ4FdBRJTejXNaWCqTtQaDTdRP9NJqB9X93URUY="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.7":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.7","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.1.x"},"_id":"grunt-mongo-migrations@0.5.7","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"f034aac39997338bede774bcc28b240a667a9082","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.7.tgz","integrity":"sha512-ZvQkbU1q+QA3uLn+9GeX9297iQsQXIL22WfrzA/YGyPktamzWr5TMhlMXP11Y8lR+VU7MvosJdWdinSiOwr80w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQd8ZOeycq7WAn6+VwDpXPVZ+2eEerLVkAikysOQvhyAiA16aEp8IxcdpXAExGqi6TebskTDlMRDQyAQt99Cb5KZg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.8":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.8","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.1.x"},"_id":"grunt-mongo-migrations@0.5.8","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"add12fa71a352b221e0bbf93a008bae1bd1e3f6d","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.8.tgz","integrity":"sha512-6A161Noex1AFedDAa/68S8Vo4FcgjQgWyDdoypOlIpPj6bgHG5vkD2weDXb/vA+itxt5H3WYfWkbHzx4hU4Luw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFERgm2vtsHWW465g2fa4IkV8805rjNKnqALgS7vJCiKAiBOUQ7h8xJPbqY9V10p7CJk2zXdh4AsfncJzg2jdeO8Yw=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.9":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.9","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.2.x"},"_id":"grunt-mongo-migrations@0.5.9","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"32fb291d702a2c1dff701ef737a87ad605ca2c37","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.9.tgz","integrity":"sha512-xPlpkOeFyQ8206rRvizkwNHGN2b8C4V0EgC5GSuP1YRz8kym+OU9NoSLXLHhmytqbqL5/D5NLFp445ZOP4Iquw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6mzPWbQUaPjsMoIL8J5oZxVKSXh8SZApx3QzQJcZTbAIhAKMB76RsWH3XVPIqF7HSTHzK4hdfsQ0eMiwp5RgyR1r/"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.5.10":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.5.10","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"*","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","lazy.js":"0.2.x","coffee-errors":"~0.8.4"},"_id":"grunt-mongo-migrations@0.5.10","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","dist":{"shasum":"5fcbf7ddcc10b3c3dca1a1286562ecbb87abe278","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.5.10.tgz","integrity":"sha512-j0aeIvzOmjcoT03nDqqfh67eDo6ZeyDIqIx5zEMkZUP/HXnhPa85KPzkVsFvxqpW0E/41Jr5uy6Z7swVwes9LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnq82Hmmb5Awbw7HsR00d9VSAWTPVIkcTcP/YhnmnLKAIhAKaFG5G/4FUkrFvPXOCwgLGI0KZ5eK/5lFX+abb9hwIX"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"directories":{}},"0.6.0":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.6.0","scripts":{"test":"./node_modules/.bin/mocha test/*.spec.coffee","pretest":"./node_modules/.bin/coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"~1.6.3","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","coffee-errors":"~0.8.4"},"description":"A helper grunt task to manage Mongoose MongoDB database migrations.","bugs":{"url":"https://github.com/goodeggs/grunt-mongo-migrations/issues"},"_id":"grunt-mongo-migrations@0.6.0","dist":{"shasum":"991d7f92942173ce1aafe29931c54f7762d51268","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.6.0.tgz","integrity":"sha512-jSaeS97N6BKT22Jl1qAkAu89771Q+tT8btL2cIJTKLGVL59o7CZME2/xxZwcc8NjX/pZivLbCpT+Q2MN/5Klew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbEsOCRrezumBCyp1kwd8a/em9YSKsArc5KoA1j9P70AiBfpmdRREWYtxiG/AiEy01X6Fnm6+gH2pFncdq+W0WLrw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"adborden","email":"aaron@goodeggs.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},{"name":"adborden","email":"aaron@goodeggs.com"},{"name":"goodeggs","email":"open-source@goodeggs.com"}],"directories":{}},"0.6.1":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.6.1","scripts":{"test":"mocha test/*.spec.coffee","pretest":"coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git@github.com:goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"~1.6.3","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","coffee-errors":"~0.8.4"},"description":"A helper grunt task to manage Mongoose MongoDB database migrations.","bugs":{"url":"https://github.com/goodeggs/grunt-mongo-migrations/issues"},"homepage":"https://github.com/goodeggs/grunt-mongo-migrations","_id":"grunt-mongo-migrations@0.6.1","dist":{"shasum":"c0841a6dbc5abb1be024f6e5be16ae09e9e99d28","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.6.1.tgz","integrity":"sha512-CXfo8Myi81vv27CB8A54CBCUes3721ctC9jR0ofIU17zfGQ7zDsEFuLNlUjr0NBpjGFZCdOPPXNyp1zR52cGmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnFElXVfQxvnUNpDWrcvqs4dU1G+msiS0e7Ro7hwm6jAIhAMhnJ6bZUsIMrljylXuvlrGa4QUt/C3sA5eqYnnOZocS"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"goodeggs","email":"open-source@goodeggs.com"},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},{"name":"adborden","email":"aaron@goodeggs.com"},{"name":"goodeggs","email":"open-source@goodeggs.com"},{"name":"demands","email":"npm@maxedmands.com"}],"directories":{}},"0.7.0":{"name":"grunt-mongo-migrations","main":"./index.js","version":"0.7.0","scripts":{"test":"mocha test/*.spec.coffee","pretest":"coffee --bare --compile *.coffee tasks/*.coffee"},"repository":{"type":"git","url":"git+ssh://git@github.com/goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"licenses":["MIT"],"devDependencies":{"coffee-script":"~1.6.3","mocha":"*","fibrous":"*","chai":"*","sinon-chai":"*","sinon":"*"},"dependencies":{"grunt":"*","fibrous":"*","mongoose":"*","slugify":"0.x","coffee-errors":"~0.8.4"},"gitHead":"2ea43d7e57feac43ec68cdc9af8ad0addaa1e3ce","description":"A helper grunt task to manage Mongoose MongoDB database migrations.","bugs":{"url":"https://github.com/goodeggs/grunt-mongo-migrations/issues"},"homepage":"https://github.com/goodeggs/grunt-mongo-migrations#readme","_id":"grunt-mongo-migrations@0.7.0","_shasum":"7c30331ee200921a77225d73c346487f50c12bd6","_from":".","_npmVersion":"3.7.2","_nodeVersion":"4.2.6","_npmUser":{"name":"goodeggs","email":"open-source@goodeggs.com"},"dist":{"shasum":"7c30331ee200921a77225d73c346487f50c12bd6","tarball":"https://registry.npmjs.org/grunt-mongo-migrations/-/grunt-mongo-migrations-0.7.0.tgz","integrity":"sha512-AlKngtcHHOLqXbAHApFce/8c00tp4ukt7ivBNbvPDrVXlBtK5RFLmP+FRmbTbiRHwHK+edBQw4jd+ANVsEiAcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOumhW9tWWSFjSzpk7vrxSQYq4ahERzMFs2qxdMK+/9wIhAIG4yaZR/XQ1ixwknQknx5wDACA65c56orhmoIFDhtBV"}]},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},{"name":"adborden","email":"aaron@goodeggs.com"},{"name":"goodeggs","email":"open-source@goodeggs.com"},{"name":"demands","email":"npm@maxedmands.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grunt-mongo-migrations-0.7.0.tgz_1461775992231_0.9664603236597031"},"directories":{}}},"readme":"## grunt-mongo-migrations\n\nA helper grunt task to manage Mongoose MongoDB database migrations.\n\n[![Dependency status](https://david-dm.org/goodeggs/grunt-mongo-migrations.png)](https://david-dm.org/goodeggs/grunt-mongo-migrations) [![Build Status](https://travis-ci.org/goodeggs/grunt-mongo-migrations.png)](https://travis-ci.org/goodeggs/grunt-mongo-migrations)\n\n## Description\n\n<img src=\"http://gruntjs.com/img/grunt-logo.png\" width=\"100\" align=\"right\"/>\n\n`grunt-mongo-migrations` works by keeping track of migration files that it executes in the `migrations_versions` MongoDB collection. You create and write your migrations which you then execute on your server. Migrations that were already executed will not execute again.\n\n## Installation\n\n    $ npm install grunt-mongo-migrations\n\n## Tests\n\n    $ npm test\n\n## Usage\n\n### Gruntfile\n\n    module.exports = (grunt) ->\n      grunt.loadNpmTasks 'grunt-mongo-migrations'\n\n      grunt.initConfig\n        migrations:\n          path: \"#{__dirname}/migrations\"\n          template: grunt.file.read \"#{__dirname}/migrations/_template.coffee\" # optional\n          mongo: 'mongodb://localhost:12345'\n          ext: \"coffee\"\n\n#### Options\n\n##### path (required)\nType: `String`  \nPath to directory containing migrations.\n\n##### template\nType: `String`  \nTemplate for generating new migration files.\n\n##### mongo\nType: `String` | `Object` | `Function`  \nIf a string is specified, it is the connection string for MongoDB. If an object is specified, it may have two properties: `uri` (required) which is the connection string, and `opts` which will be passed through to `mongoose.createConnection`. Ex:\n\n    grunt.initConfig\n      migrations:\n        path: \"#{__dirname}/migrations\"\n        mongo:\n          uri: 'mongodb://localhost:12345'\n          opts:\n            ssl: true\nIf a function is specified, it must return either a string or object as described above.\n\n##### ext\nType: `String`  \nDefault: `'coffee'`  \nValues: `'coffee'` | `'js'`  \nMigrations file extension.\n\n### _template.coffee\n\nBy default the task will generate a migration in CoffeeScript using the same template as in this example. You can of course provide your own template in JavaScript.\n\n    module.exports =\n      requiresDowntime: FIXME # true or false\n\n      up: (callback) ->\n        // your migration goes here\n        callback()\n\n      down: (callback) ->\n        // throw new Error('Irreversible migration.');\n        callback()\n\n      test: (callback) ->\n        // your test goes here\n        callback()\n\n### Down Time Management\n\n`requiresDowntime` is an option that intentionaly set to invalid value so that developer has to fix it. The flag is meant for **your own** deployment pipeline to be aware that there's a migration that requires server down time.\n\n## Tasks\n\n* `migrate:generate`\n* `migrate:pending`\n* `migrate:all`\n* `migrate:one`\n* `migrate:test`\n\n### migrate:generate\n\nWill create a migration using template in the file name with a `[timestamp]_[name].[ext]`\n\n    $ grunt migrate:generate --name=rename_created_on_to_created_at\n\n    Running \"migrate:generate\" task\n    >> Created `./migrations/20131108211056037_rename_created_on_to_created_at.coffee`\n\n    Done, without errors.\n\n### migrate:pending\n\nPrints out a list of pending migrations\n\n    $ grunt migrate:pending\n\n    Running \"migrate:pending\" task\n    >> `20131108193444023_move_users` is pending (requires downtime)\n    >> `20131108211056037_rename_created_on_to_created_at` is pending\n\n\n### migrate:all\n\nRuns all pending migrations.\n\n    $ grunt migrate:all\n\n    Running \"migrate:all\" task\n    >> Running migration `20131108193444023_test1`\n    >> Running migration `20131108211056037_rename_created_on_to_created_at`\n    >> Finished migrations\n\n    Done, without errors.\n\nRunning this again will do nothing because all migrations have been ran.\n\n    $ grunt migrate:all\n\n    Running \"migrate:all\" task\n    >> Finished migrations\n\n    Done, without errors.\n\n### migrate:down\n\nRuns down the last migration.\n\n    $ grunt migrate:all\n\n    Running \"migrate:down\" task\n    >> Reversing migration `20131108211056037_rename_created_on_to_created_at`\n    >> Migrated down\n\n### migrate:one\n\nRuns specific migration by name. If it was already executed before, will generate an error.\n\n    $ grunt migrate:one --name=rename_created_on_to_created_at\n\n    Running \"migrate:one\" task\n    >> Running migration `20131108211056037_rename_created_on_to_created_at`\n    >> Finished migrations\n\n    Done, without errors.\n\n### migrate:test\n\nRuns specific migration by name via test runner. You should take care of using correct test databases. The template includes a proposed way of copying development database into test on every run.\n\n    $ grunt migrate:test --name=rename_created_on_to_created_at\n\n    Running \"migrate:test\" task\n    >> Testing migration `20131108211056037_rename_created_on_to_created_at`\n    >> Finished migrations\n\n    Done, without errors.\n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Good Eggs Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"email":"open-source@goodeggs.com","name":"goodeggs-admin"},{"email":"alex.gorbatchev@gmail.com","name":"alexgorbatchev"},{"email":"npm@maxedmands.com","name":"demands"},{"email":"adborden@a14n.net","name":"adborden"}],"time":{"modified":"2022-06-18T15:32:00.548Z","created":"2013-11-09T00:26:55.602Z","0.5.4":"2013-11-09T00:26:56.894Z","0.5.5":"2013-11-09T01:19:08.670Z","0.5.6":"2013-11-09T02:11:38.345Z","0.5.7":"2013-11-09T02:26:25.974Z","0.5.8":"2013-11-09T02:30:23.718Z","0.5.9":"2013-11-11T17:44:00.316Z","0.5.10":"2013-11-12T00:14:50.250Z","0.6.0":"2014-04-18T00:21:38.431Z","0.6.1":"2014-07-07T16:34:52.654Z","0.7.0":"2016-04-27T16:53:13.396Z"},"repository":{"type":"git","url":"git+ssh://git@github.com/goodeggs/grunt-mongo-migrations.git"},"keywords":["grunt","mongo","migrations","migrate"],"contributors":[{"name":"Alex Gorbatchev","email":"alex.gorbatchev@gmail.com","url":"https://github.com/alexgorbatchev"},{"name":"Randy Puro","email":"randypuro@gmail.com","url":"https://github.com/randypuro"},{"name":"Alon Salant","email":"alon@salant.org","url":"https://github.com/asalant"},{"name":"Bob Zoller","email":"bob@zoller.us","url":"https://github.com/bobzoller"},{"name":"Adam Hull","email":"adam@hmlad.com","url":"https://github.com/hurrymaplelad"}],"readmeFilename":"README.md","bugs":{"url":"https://github.com/goodeggs/grunt-mongo-migrations/issues"},"users":{"fgribreau":true},"homepage":"https://github.com/goodeggs/grunt-mongo-migrations#readme"}