{"_id":"pg-jobs","_rev":"38-a7218da12dfdf600fb58a912de073a5d","name":"pg-jobs","description":"A simple yet powerful postgres backed job queue for node.js.","dist-tags":{"latest":"4.4.2"},"versions":{"2.0.0":{"name":"pg-jobs","version":"2.0.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"grunt-env":"~0.4.1","grunt-contrib-watch":"~0.5.3","grunt-mocha-cli":"~1.5.0","grunt":"~0.4.2","grunt-contrib-jshint":"~0.8.0","mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@2.0.0","dist":{"shasum":"f13c1db006a9d071ca7c0fe48219cfd2d43be546","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-2.0.0.tgz","integrity":"sha512-wcCn13WLRB2AhjU7IdmlORGmCzsjUfi7nOk1mYQYnPrYLmUs+Ur4LtjrVeQ/TBgAXql6jU1ZWsM9LX84Mui6hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICnT3mu409rh+4FoPiYvEov4XhtJeQkaVk+9WZb4rxhEAiEAqAJO2rjkW6X8i8k2ulVD468Clw4Vt3H16OqPr3XEe0Q="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"3.0.0":{"name":"pg-jobs","version":"3.0.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"gitHead":"863da390d157150c0204c03f9262694367ab3b05","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.0.0","_shasum":"17ca1e73504436a95f92b9491c207e0e82b5b6c4","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"17ca1e73504436a95f92b9491c207e0e82b5b6c4","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.0.0.tgz","integrity":"sha512-idZjpSLC81l/apHu0xn/3bKUHfVDKJ3YybLqrXWimeG+fqgzDZ5llolwFYO1WnrK2mhPN8ulSHdWt4l4HWsSuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHeuOMLUWA2lOPD+CxZet3oa7D5m9COVUj5w1/AC/PSyAiEAh5HLUf0bXUuvEht7QaoA63oLqWmUATCmG8GFXodQPNI="}]}},"3.1.0":{"name":"pg-jobs","version":"3.1.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"gitHead":"7bf4f6d1d9c7c0773f2258eceedf8fdc78c6635f","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.1.0","_shasum":"4dfddede5ee3b0cf6931c16c17638aceec6a9b40","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"4dfddede5ee3b0cf6931c16c17638aceec6a9b40","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.1.0.tgz","integrity":"sha512-Iulp+lhh6ie3AA5EGboT9t8qnxiq8bu/i9dX06ECjtQADLQJ9f24gspQ5iJVMF756jm0n2IUTMqq4jSwbDEK3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu23M+A707N33RP+qa4Peq2hSDlqy6Wlx7F2l4FyzKqwIgIK+H70v/jSkJHedxqxU551Jsqme0xNoBDxKBf4/o7NI="}]}},"3.1.1":{"name":"pg-jobs","version":"3.1.1","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"gitHead":"7815a92addcda0f75109e74ef4c6de8962f8309a","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.1.1","_shasum":"c3fe2fde69f9f549633911c012b6dc4cd946b26b","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"c3fe2fde69f9f549633911c012b6dc4cd946b26b","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.1.1.tgz","integrity":"sha512-lguYY+jVwyM+9bZ5o2p7Ud7ZXkTyFWagVsr2ufchpNXoCjdyDvf5m1ttFBWnR4SKj9F6OJt0bozJ4+RabXRZNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAFMxIkcV7nOPD3Aj1U3NHbm787S84Vanj6Hyn+lqAhAiEAmVtaaEmd7KBHIm5gZPSKgsn4SFdDQLErOVKP7SVcJP8="}]}},"3.1.2":{"name":"pg-jobs","version":"3.1.2","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"gitHead":"a7def146a7e23fab2b3176ad3d78bc5b2e26ffb1","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.1.2","_shasum":"ceedf94fad3dd1675140ac7808932d0eb5f4d71a","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"ceedf94fad3dd1675140ac7808932d0eb5f4d71a","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.1.2.tgz","integrity":"sha512-3pEdH6YX4r+VvnAjA0iNtEQ9CrEArlsZmT+MK9IjpolQIRD4/kQmCKsgNJn8qsKAUTENNeXjAk24KvpsVqWuTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKWIXe/PW8GPL8AXGSMpbsBfEueIiqvMammLdE/wFXQAiB242uVThxawFryvMyOwEMtb9X8F7j2XafReXZcxg9bBg=="}]}},"3.1.3":{"name":"pg-jobs","version":"3.1.3","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"mocha-unfunk-reporter":"~0.4.0","sinon":"~1.7.3","chai":"~1.8.1","mocha":"~1.17.1","db-migrate":"~0.6.4"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.2","sql":"~0.35.0"},"gitHead":"edf0d914a998e6dd6e08c0d4320bf69b83e674c6","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.1.3","_shasum":"19a82d0946b8d35b930498a256a7423e9872a5f6","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"19a82d0946b8d35b930498a256a7423e9872a5f6","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.1.3.tgz","integrity":"sha512-qGobAZmk+lVuB3e0oPO0a1XlWl3e/eQOqRdaNNJkq5JDSSqLqMFn84bw+xacsuCAlwWTLQxJ9RZMJH7cwu97qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeNi0JgtKFo2R+GZ53Q/V0DZAiX28Rim4DznmgD2uowAiEAij+Gh4zvPJOQ+2aS96Fh5OvjjTBl8kTVkN7hfdAa5oA="}]}},"3.2.0":{"name":"pg-jobs","version":"3.2.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"~0.6.4","expect.js":"^0.3.1","mocha":"~1.17.1","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"git+https://github.com/timlesallen/node-pg-transaction.git#43466cd5812f4c05cba59d324fe8f9ccbde50c6b","sql":"~0.35.0"},"gitHead":"da359a6d7b3417eb5281664fc035121dad197834","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@3.2.0","_shasum":"c894bad2cdc6a153172be7db907380fac49ce0a1","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"c894bad2cdc6a153172be7db907380fac49ce0a1","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-3.2.0.tgz","integrity":"sha512-DQgKPN1GQa0+/MwaiS3ZZGwDOPaFw23YxpeSdxsSwOmrvbdjo2WNOxu95oBJcSREqu7xz9mnJK/ejEQQR1Wiag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7V65wYgIFK6FDdY6Uobu/31/WcbRwzifwT2MnWadO3wIhAOmVD2lhJ/GmlhymMpAoNGlkUHW4ggUmkwzIwT02Qm7x"}]},"deprecated":"3.2.0 should have been 4.0.0 (breaking changes)"},"4.0.0":{"name":"pg-jobs","version":"4.0.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"~0.6.4","expect.js":"^0.3.1","mocha":"~1.17.1","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"e759e8c3b0683583e2db2122f99758c5a7aa0311","homepage":"https://github.com/noblesamurai/node-pg-jobs","_id":"pg-jobs@4.0.0","_shasum":"6af2aac40cfa62c2beb9b567aa82035d306ac25f","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"6af2aac40cfa62c2beb9b567aa82035d306ac25f","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.0.0.tgz","integrity":"sha512-XB+uwPObodrO5WqGhAq9aQiL9DL48MpaIOnLxH3+v2Vk2LW+KQzKH1uJpAf9ULKd5GeSdBKtKipZOgsez02lCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDad7kfsK8BjEBRU6oifAJxkHwFok38AZjVrf/QXEMtBAiEAztUPNtuns6F7wsCBF6Tb+VVzK//ThUznGWYYz7nbbyo="}]}},"4.1.0":{"name":"pg-jobs","version":"4.1.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"~0.6.4","expect.js":"^0.3.1","mocha":"~1.17.1","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"09502c26cdc1f59f8ba31d1b7b4e2c16dcc041dd","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.1.0","_shasum":"3aafc580115e2ddb53f9f0b8bd0b4366b08eee5d","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.35","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"3aafc580115e2ddb53f9f0b8bd0b4366b08eee5d","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.1.0.tgz","integrity":"sha512-/qfIaF1xCwUbKC94yv4d7IdfxaRDpCISmw7HykfZOeCBp57DR7UWoXYmACNzb/cVPRhNc5Jscfi13zYHDmyNcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHH2rmFVsIhxVIEZLkCuryBQcknv79TaCmmzA5GSZGljAiB3eftKZJu+P/mIGZhfZgOUweJn4jwtETXNmwpESehovA=="}]}},"4.1.1":{"name":"pg-jobs","version":"4.1.1","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"DATABASE_URL=postgres://localhost/node_pg_jobs_test NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"~0.6.4","expect.js":"^0.3.1","mocha":"~1.17.1","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"0b7f2b3593225c27f6256c2ce2d3d28d2acab17d","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.1.1","_shasum":"3216f0c48a96d90b1dd37f17ce6b1e808ec49b89","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.35","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"dist":{"shasum":"3216f0c48a96d90b1dd37f17ce6b1e808ec49b89","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.1.1.tgz","integrity":"sha512-T1RRrPgT5CpJG574LqQNelwOrhoAAEY/UZIAMsCaafnDHTodYhgy00PUYXfaibKXG920eqmBnMKkUpv/MQ9w8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHy7GOu831vS6YOpLLdEiDdGTygdVyZFcUPlnMsPOYN8CIQCxswGnCzKmbiTE2XQF54iVt6jNe5qX9vpsH7P/kC/WWg=="}]}},"4.1.2":{"name":"pg-jobs","version":"4.1.2","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~2.11.1","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"4fa0dcd59b4fdb9367eae7cb9379efecb7b8dfcd","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.1.2","_shasum":"194fe2392f5d59a2bbbab7047a3a19e54e0b801c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"194fe2392f5d59a2bbbab7047a3a19e54e0b801c","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.1.2.tgz","integrity":"sha512-lFGCwzepl94tUFGmLD8B1KBEuwbbxNM5EHBwU6rEMuGaLdk9hDTHGrPdsrA/FBdYZEHQYd3W1NUqzGVdKM2WLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjeFFq53gk8FPTolOa001VGDrCRNo//LqFo6XWJPmD3wIgQ1yhvCiOr8XKbHXuzx6N/1udpyl63z+rO60os/iA+0w="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"4.2.0":{"name":"pg-jobs","version":"4.2.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && NODE_ENV=test mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~4.4.3","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"3b8d3b7453c3b31082b5a97312e7e906b7f53657","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.2.0","_shasum":"fbb215b767a6924c28f273d29fd313e9ce727ec8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"fbb215b767a6924c28f273d29fd313e9ce727ec8","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.2.0.tgz","integrity":"sha512-OjIE8f0NUT8Sf96muvWgJj5NM9PvT/RFUR2A4Tdd7dBM/qTE8rdYUjQnKxRR+Rz9D2op8uS9BlV1cPDJJt29fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAd3gEKSAkxRsOj8RijndQwpxjdSgAdTNNEzWgXcIpbYAiAzWw39UtT4oVYJXEO1UnJ2iXAl2aIAgaiCFe/L82NJvA=="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"4.3.0":{"name":"pg-jobs","version":"4.3.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~4.4.3","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"311a06c693e2113961fc1a011ddbbb6fd6001430","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.3.0","_shasum":"166a43a01180610a55587d050cc8ce5c6a4b2fe5","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"166a43a01180610a55587d050cc8ce5c6a4b2fe5","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.3.0.tgz","integrity":"sha512-ByPwSrXdnIFG8VUs/T/ubji3aP4vv57w2yky7Ulb2ROAI/BVScLztMGdJasX9/RirnX5UxIvmrhtuuji7WM+sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEcAmCuj6PxWfK9mefJomqDZgZbPq8Exc2VF9nuGAOSgIgHkcD/pC9XjYjg4yZoR2U5kYazEj3PnP5E4HKOk/Tw3E="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"4.3.1":{"name":"pg-jobs","version":"4.3.1","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~4.4.3","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"57b5b80e6873fbf1d36ca6be3614af472495e5e1","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.3.1","_shasum":"ef83362c9acaf3dbca9fbe567f1a740516ea7818","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"ef83362c9acaf3dbca9fbe567f1a740516ea7818","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.3.1.tgz","integrity":"sha512-Nr3F640F1cdj0zZQjZm2dePKotTqSbAEwqASr0u1Su1GQv43m0z/T/iptMY8G5mefE77B85BaDkrZrNFKrxWIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDT00eoT+aPXOyl0PsF5b+Og/0wCvIMdxEkbT9ht4lnSAiEA3X8ns9cehHCRrf7HX/JytDM6CRJQvrGOnf7f7rRnFXk="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"4.3.2":{"name":"pg-jobs","version":"4.3.2","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"~4.4.3","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"212d613e5f1599e8b7f921b60fda9e776db5ea01","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.3.2","_shasum":"15b0ec51724c088a5c8a770acec5267fe1492484","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"15b0ec51724c088a5c8a770acec5267fe1492484","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.3.2.tgz","integrity":"sha512-EmwBDTSwT4ZlHHOXZ9OX4ebQ62DsRgjRTMrJRk/ZXWCoOvmfXxRL9J3b9UBEs/NJAn6w64zM10JGZqSBrtbMNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNQBvwlBa+wbIjnCzo8m1fWCgpWNM5sOaQlXyt8LDImQIgerJLQyreWIUkxOBGP1N+2KG398wLiuE7Eh4az/UzzMA="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}]},"4.4.0":{"name":"pg-jobs","version":"4.4.0","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"~2.5.0","pg":"^6.1.5","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"46c52e60635f85be0e589112edf7cc4def2ede49","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.4.0","_shasum":"f00b1c18a5c35befc9d6a24993152365f1377c31","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"f00b1c18a5c35befc9d6a24993152365f1377c31","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.4.0.tgz","integrity":"sha512-VyebtZKf1R9ywKCfopju01+LZ3MPFG0pDQ974v67efdCeH0kSZk4rADDb1dOaejqmv1O35qKbONBfOkn0zd9eA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhDWCcfNeDDq8tqZbBhEwQSjRHL6rfZdKE/r5EqYGWYAiBUgkgIOpeueArVF0WXKQf2zvrkyn8fbedwBNW8vcSgFg=="}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pg-jobs-4.4.0.tgz_1494547876625_0.714254684979096"}},"4.4.1":{"name":"pg-jobs","version":"4.4.1","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"^2.5.0","pg":"^6.1.5","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"f1110254245779cd9e00bcbeb47866193f966f71","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.4.1","_shasum":"5339d3312b8ae19d404a0b29b57462a62fa8641b","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"5339d3312b8ae19d404a0b29b57462a62fa8641b","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.4.1.tgz","integrity":"sha512-PGsT4zA5qlHGXaWzZytJYkDccJwwdviFbPy7zujHiAdI7LOVlId6utIqUFJ9JV0LuAybB1nE/p6SleiLvRUSsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZDkGaGQRpsj192mP5itXCbmNmp58FKlrcEV1WZbXjiwIhAKp9oYRJwVXtOZko+euMkr9aZZKt5XDEJsljxD5+oCln"}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pg-jobs-4.4.1.tgz_1494801603917_0.09267111937515438"}},"4.4.2":{"name":"pg-jobs","version":"4.4.2","description":"A simple yet powerful postgres backed job queue for node.js.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node db-destroy-create && db-migrate up -e test && mocha --recursive ./test"},"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"keywords":["job","queue","postgres"],"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"devDependencies":{"db-migrate":"^0.10.0-beta.4","db-migrate-pg":"^0.1.6","expect.js":"^0.3.1","mocha":"~1.17.1","pg-destroy-create-db":"^1.0.2","sinon":"~1.7.3"},"dependencies":{"async":"~0.2.9","debug":"^2.0.0","lodash":"~2.4.1","moment":"^2.5.0","pg":"^6.1.5","pg-transaction":"^1.0.4","sql":"~0.35.0"},"gitHead":"0e4840eab757b2a48241ab774122f134bb9dbcff","homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","_id":"pg-jobs@4.4.2","_shasum":"4100f648841591f2baf0767054bd5604262dd222","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"timlesallen","email":"allen.timothy.email@gmail.com"},"dist":{"shasum":"4100f648841591f2baf0767054bd5604262dd222","tarball":"https://registry.npmjs.org/pg-jobs/-/pg-jobs-4.4.2.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22iWCRA9TVsSAnZWagAAINMP/1iZz1ZUi3xtWo0aHwkk\nFMu+ZxveWyaFP3k8XxbJAQGmKFRPewJAlOwPm61Sc3m6gR5nDkjfT4xC/xQr\nETe4yD3jjbu/bskTDd2H4SL8eHMcL4aA1Rjd2jqq7l/saHagCx2AzTyMVXPY\neDwWrEkXbd767DmggOB7JsjoarBMf5mAd6J065TFs2FGSNmjmSkBMD/7Lpdb\nwEOUzLwXhFOD7aGNnixJxN/ESdF7mfG8Peb+E9bfkk9jSStssF/aU/L5Y6C4\nd/5uD9BLEbZgU+0BV0/PeKdpCM0qyI5CBhuPozzTDi6IfzSsk4kWptH64bve\nI7mVF1phuKrGrO4lC//52rQnZ6JmaSIVOn0FcQT6pHKmP5PS1CdTrb+jawK/\nPMzP1TZjhod5APBGmEmnzDm9+kuZeVtYETSJ6sfIS/pDaECzjR8KG6Mf+IGt\n9SDRBI01Wr4kmUV6wYoqEL4+p/xWuuBYvLyqvtoQMuAaEzCeENzoD0J2s4ph\n1RYKvaoNZmYohrFIppdD6rBEznR9D0ffpnu8qA5pOi+rjcmpKWuyFzzuhfdh\njgvoP1hA+JFk4K63+cllboUQDTBQKOstu+3SV2kqsJZ9OPFwrCNL/BPqNZSv\nxJCd0i386HmM/lKjOYx4XZ4f8Jw5IsTfTMvltMP5jxYUGQek9UChMntWQPfh\nlw82\r\n=7+3G\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dvsCnytkvT+xTnZbwDygEopDcCwI56l36KHySR/IlaPpwJU7bWVRzGMj1+T2/oug38WFCkgp9Tme0w6/BS2YUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeSLYdZbkVnf+D9BH5I9PjN2qkj2nxJUPoERjRTL5XBwIhAIa+AZG289NqD5qSePOB+JDSWruVT47jO4ajzj6LHH2Z"}]},"maintainers":[{"name":"timlesallen","email":"allen.timothy.email@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pg-jobs-4.4.2.tgz_1494802000074_0.7346399347297847"}}},"readme":"node-pg-jobs\n============\n\nA simple yet flexible postgres backed job queue for node.js.\n\n```javascript\nvar job = require('pg-jobs')({\n  db: 'postgres://localhost/mydb'\n});\n```\n\n*Creating a job* is simple a matter of calling `jobs.create()` with a freeform\nobject representing the job to be created, and specifying when we should\nconsider the job for service.\n\n```javascript\n/**\n * @param {Object} job The data you want to save for the job.  This is freeform\n *                     and up to you.\n * @param {int} processIn The job will not get service until this many ms have\n                          elapsed. Set to null if you do not want to service it again.\n * @param {function} done Callback - called when job is enqueued (or on error).\n */\njobs.create(jobData, processIn, done);\n```\nE.g:\n```javascript\njobs.create({\n  externalJobId: 'number1',\n  state: 'ready',\n  specialInstructions: 'quickly now'\n}, 2000, done);\n```\n\n## Process jobs\n### Providing continual service\nThe `worker` function passed to `jobs.process()` is the brains here.\nIt defines what will happen when a job receives service.  It is\npassed the job and a done callback that it should call to notify\nwhat should happen to the job after processing.  The `id` is the `id`\nthat was automatically created when the job was created.\n```javascript\nvar worker = function(id, job, done) {\n // Do stuff with job\n job.state = 'a_new_state';\n job.eatBananas = true;\n\n // Call done callback and update the job.  It will run again in > 200ms.\n done(null, job, 200);\n}\n\n/**\n * Iterate through all scheduled jobs and service those that have served out\n   their delay.\n * @param {function(job, done)} worker The callback to be called on each job.\n *                                       Must call done() as per example above.\n * @param {function(err)} done Called when stopProcessing() is called or on fatal error.\n */\njobs.process(worker, done);\n\n/**\n * Call this to stop processing.\n */\njobs.stopProcessing();\n```\nNote that jobs.process() is synchronous (processes one job after the\nother) but you can safely run two calls to it either in the same or different\nprocesses.\n\n### Make it happen now\n\nIf you want a job to service a job right away (due to say, some external event\noccurring), use `processNow()`.\nIf the job is currently being serviced in a `jobs.process()` or another\n`jobs.processNow()` the worker will only be called when the lock has been ceded.\n\n*If the job cannot be found*, `callback()` will be called with an error. `worker()`\nwill not be called.\n\n*If the `done()` function passed to `worker()` is called with an error* then no\nchanges are made to the job, and `callback` will be passed that error.\n\n```javascript\nvar worker = function(id, jobData, done) {\n // Do stuff with job\n doSomeAction(jobData);\n jobData.state = 'a_new_state';\n jobData.eatBananas = true;\n\n // Call done callback and update the job.  It will run again in > 200ms.\n done(null, jobData, 200);\n}\n\n/** The job with the given id will be run now.\n * @param {int} id The ID of the job to run now.\n * @param {function} worker - The callback to be passed the job, of the same\n                                form as for jobs.process().\n * @param {function} callback - callback called when everything is completed.\n */\njobs.processNow(id, worker, callback);\n```\n\n## Running migrations\n```script\nnpm install -g db-migrate\nnpm install -g pg\ndb-migrate up -m migrations/ --config database.json\n```\nwill create \"node_pg_jobs_dev\".\n\n## Running migrations on heroku\nThis is a bit yuk, but it should work:\n```\nheroku run bash\nnpm install db-migrate\n./node_modules/.bin/db-migrate up -m ./node_modules/pg-jobs/migrations/ --config $DATABASE_URL\nexit\n```\n\n# Development\n## Tests\n```\ndocker-compose up pg_jobs\n```\nOR if you have a local postgres with correct user acc:\n```\nnpm test\n```\n\n## Inspect the test db\n```\ndocker-compose run psql\n```\n\n## Contributing\n\npg-jobs is an **OPEN Open Source Project**. This means that:\n\n> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.\n\nSee the [CONTRIBUTING.md](https://github.com/eugeneware/replacestream/blob/master/CONTRIBUTING.md) file for more details.\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2013 Eguene Ware &lt;eugene@noblesamurai.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"email":"npm@noblesamurai.com","name":"noblesamurai"},{"email":"eugene@noblesamurai.com","name":"eugeneware"},{"email":"jacob@noblesamurai.com","name":"jacob-samurai"},{"email":"allen.timothy.email@gmail.com","name":"timlesallen"}],"time":{"modified":"2022-06-23T19:42:37.411Z","created":"2014-04-04T03:17:16.495Z","2.0.0":"2014-04-04T03:17:16.495Z","3.0.0":"2014-07-31T04:53:04.016Z","3.1.0":"2014-07-31T22:42:53.016Z","3.1.1":"2014-10-07T14:28:25.691Z","3.1.2":"2014-10-07T14:38:09.969Z","3.1.3":"2014-10-20T00:54:52.458Z","3.2.0":"2014-11-13T05:52:57.027Z","4.0.0":"2014-11-14T01:24:16.569Z","4.1.0":"2015-09-24T04:31:36.468Z","4.1.1":"2015-10-07T05:07:05.724Z","4.1.2":"2015-11-23T03:34:38.547Z","4.2.0":"2015-11-23T03:51:40.422Z","4.3.0":"2015-12-10T04:12:23.370Z","4.3.1":"2015-12-11T05:40:45.068Z","4.3.2":"2015-12-14T02:00:53.247Z","4.4.0":"2017-05-12T00:11:16.869Z","4.4.1":"2017-05-14T22:40:05.824Z","4.4.2":"2017-05-14T22:46:40.324Z"},"homepage":"https://github.com/noblesamurai/node-pg-jobs#readme","keywords":["job","queue","postgres"],"repository":{"type":"git","url":"git://github.com/noblesamurai/node-pg-jobs.git"},"author":{"name":"Timothy Leslie Allen","email":"allen.timothy.email@gmail.com","url":"https://github.com/timlesallen"},"bugs":{"url":"https://github.com/noblesamurai/node-pg-jobs/issues"},"license":"BSD-3-Clause","readmeFilename":"README.md","users":{"briandela":true}}