{"_id":"grunt-diff-archive","_rev":"35-2edf3a17d54e3a373619fd5c5e431989","name":"grunt-diff-archive","time":{"modified":"2022-06-18T14:51:35.692Z","created":"2014-07-07T07:07:56.647Z","0.0.1":"2014-07-07T07:07:56.647Z","0.0.2":"2014-07-07T07:15:41.138Z","0.0.2-a":"2014-07-07T07:17:13.098Z","0.0.2-b":"2014-07-07T07:20:39.163Z","0.0.2-c":"2014-07-07T08:48:32.652Z","0.0.2-d":"2014-07-07T09:38:32.272Z","0.0.3":"2014-07-07T14:18:28.412Z","0.0.4":"2014-07-08T17:29:50.076Z","0.0.4-a":"2014-07-09T03:06:22.359Z","0.0.4-b":"2014-07-09T03:22:43.233Z","0.0.4-c":"2014-09-10T10:35:20.602Z","0.0.5":"2014-09-10T11:24:26.808Z","0.0.5-b":"2014-09-10T11:44:26.035Z","0.0.6":"2014-09-11T03:44:23.088Z"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist-tags":{"latest":"0.0.6"},"description":"Git diff archiving grunt plugin.","readme":"# grunt-diff-archive\n\n> Git diff archiving grunt plugin.\n\n> Git の差分ファイルを抽出してアーカイブします\n\nv0.0.6\n\n[www.npmjs.org/package/grunt-diff-archive](//www.npmjs.org/package/grunt-diff-archive)\n\n## Getting Started\nThis plugin requires Grunt `~0.4.5`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-diff-archive --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-diff-archive');\n```\n\n## The \"diff\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `diff` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  diff: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    }\n  }\n});\n```\n\n### Options\n\n#### options.pathName\n\n指定の名前のディレクトリ名でアーカイブされます\n\nType: `String`\nDefault: `'root'`\n\n#### options.fileName\n\nアーカイブファイル名\n\nType: `String`\nDefault value: `'archive'`\n\n#### options.format\n\nアーカイブフォーマット\n\nType: `String` `'zip'` or `'tar'`\nDefault value: `'zip'`\n\n#### originCommit\n\n基点となるコミットID\n\nType: `String`\nDefault value: `'HEAD'`\n\n#### options.targetCommit\n\n対象のコミットID\n\n数値の場合は `options.originCommit` 遡る数のほか\n\n任意のコミットID (文字列)も渡せます\n\nType: `Number` or `String`\nDefault value: `1`\n\n\n### Usage Examples\n\n#### Default Options\n\n```js\ngrunt.initConfig({\n  diff: {\n    options: {\n      pathName: 'root',\n      fileName: 'archive',\n      format: 'zip',\n      originCommit: 'HEAD',\n      targetCommit: 1\n    },\n\n    target: {}\n  }\n});\n```\n\n#### Custom Options\n\n```js\ngrunt.initConfig({\n  diff: {\n    options: {\n      pathName: 'archive',\n      fileName: 'diff-archive',\n      targetCommit: '414fb27g' // commitID\n    },\n\n    target: {}\n  }\n});\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) github.com/sugarshin\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\n## Release History\n* 2014-09-11 v0.0.6\n* 2014-09-10 v0.0.5-b\n* 2014-07-09 v0.0.4-b\n","versions":{"0.0.3":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.3","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"grunt-shell":"^0.7.0"},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt-shell":"^0.7.0","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"4b65372014cbccf999bd6c5eb634c69a0dd1a313","_id":"grunt-diff-archive@0.0.3","_shasum":"43d33340d7f7fbbfc8e840a286a1095f8f13854c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"43d33340d7f7fbbfc8e840a286a1095f8f13854c","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.3.tgz","integrity":"sha512-48GPdJvoH1ZcDzAEfij+fM6q93Om2ZHGCH+o+AfVR8eCPS0u3QP9E7Er439mZ8q7yklV/LOf+rrkn/hc/1XoKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDClLNIXMtq0uyxPgvMPsgrFFbxOY+Rb3cTyKm4VJCR7AiAHtXJC4vfD8u7J4u4l7XL9GeBkBAzwPRVFq2VLkGQlBg=="}]}},"0.0.4":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.4","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"871d61fec4ef1dd4203f44ce1e80720c24a91b93","_id":"grunt-diff-archive@0.0.4","_shasum":"9595e1438edd2b39d270f22be5ab60eb618a302d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"9595e1438edd2b39d270f22be5ab60eb618a302d","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.4.tgz","integrity":"sha512-tD4JK88xxJC/sFB+5FEXIeV2ePJDNp4ZPz0QisNO8DBQgXXzPZXb9mlt60uC3+3WnCvoCiwSRXv5S09JK26i+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERi6o7QZhYh2nAEl/lQlttAvNbpJLV7XoVHg0vNQp6oAiAyHExHyeuL8BIALEa/bs/aoKrB8Z3k/zP8aR0sOQNhxw=="}]}},"0.0.4-a":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.4-a","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"_id":"grunt-diff-archive@0.0.4-a","dist":{"shasum":"03913e9c0fc72722054e3bf2c892b3e8264851e9","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.4-a.tgz","integrity":"sha512-PvEb40iZqn+armTbSQQPMdrLBcJ/JF+HVfYedIeSxd0SGpZ2xI0xI0fez2G3AulDd9fkeGyfruruVztq+LZpog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlOoaR8PniuFW4vqxExo0qH2Rtm1V6R/iwz2buC0VMpwIhAIwdi1mXKQxiqdi7K4OD52q+gbLk151SsX3f7Lsr+O3L"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}]},"0.0.4-b":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.4-b","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"_id":"grunt-diff-archive@0.0.4-b","dist":{"shasum":"6e5a6ddfd9f0fdf54e1e65cfa9354f5d4f6f3ccd","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.4-b.tgz","integrity":"sha512-VRoAG0w2VVKZ3LoHfn7ziuJqW95X2Nre4PY449wNN52snCRPi0W1dmRVQzjEupth3k2e7d7avriu1I8xHuswNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8vGlRazMLvYfkOOnZn/2RRWxGhcZJInNY2zG8ewP8HAiAZsuaq5X4mAMphA3tde39GnHd24aNSuPQ3+HXpviADsA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}]},"0.0.4-c":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.4-c","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"3bfe979123103028ba45ba67744958d0913e51e2","_id":"grunt-diff-archive@0.0.4-c","_shasum":"e1aca8596dfc255b4196410b42f2851e9466b816","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"e1aca8596dfc255b4196410b42f2851e9466b816","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.4-c.tgz","integrity":"sha512-ogXYLp+JKRT00XC/PZS4bIxEGIzJEqAME5m/cq6AAJsNHo4pnm16qt3NdB3TRjVGw7L7gFhNKlRXnMalAPEYsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFLYv5klQ9f4Ba1+dj0GfL64rDi9j8KxFAQbJLd0SLIwIhAPkEC0SilRHPzxH0fROMB+eFZJSzgh3a1XL+9Kekc67M"}]}},"0.0.5":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.5","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"fade6c46505f233f2cdc8060c5635c75c9a60689","_id":"grunt-diff-archive@0.0.5","_shasum":"63cd5b090e96ab3325eb7cadc608c2a02707f25f","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"63cd5b090e96ab3325eb7cadc608c2a02707f25f","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.5.tgz","integrity":"sha512-mnMZic1CE9q2vH2ZLcMDe3Qog9p9voSuTKp28iPxDA0GUp151uDfrQZ4MVybu+C4s1Fs+ThYfColzUSzitabwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqcSGoLSK0rQpNaA54eiFf8RGqyX8a+A7lzMys2eoKrwIhAN/WWrHX3wNID8TPcLZRW4MToW52JZJ3/7DtZe9p+OIN"}]}},"0.0.5-b":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.5-b","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"1ec042fa8a4f1823d905e19677a26d560feed7bd","_id":"grunt-diff-archive@0.0.5-b","_shasum":"4894453d93f126b40e2be91c19cfcc896e320f07","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"4894453d93f126b40e2be91c19cfcc896e320f07","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.5-b.tgz","integrity":"sha512-rWXvjOSkG9V9/zYu5b9VPcAOG/VCEvZYkQpDDPuJuerYnIaZ9BTG6P+14Jj3gc78ZZKuvWLOET4t072AIB+UdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGklA+dkZoVR79R3lDnjU3c1BypJ5Kskpkak3b8hfqLBAiEAo4jwNLpkd6/WeSU531TOsti2OkZrG5BDBw4ht6bkrEk="}]}},"0.0.6":{"name":"grunt-diff-archive","description":"Git diff archiving grunt plugin.","version":"0.0.6","homepage":"https://github.com/sugarshin/grunt-diff-archive","author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"licenses":[{"type":"MIT","url":"https://github.com/sugarshin/grunt-diff-archive/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"^0.10.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-nodeunit":"^0.4.1","grunt":"~0.4.5"},"peerDependencies":{"grunt":"~0.4.5"},"keywords":["gruntplugin"],"gitHead":"457756890f001b03cd5ea314f9ef6d58c50448b7","_id":"grunt-diff-archive@0.0.6","_shasum":"5bb82ed446ccaf5e7110808bafb6b6e10e28ab6c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sugarshin","email":"shinsugar@gmail.com"},"maintainers":[{"name":"sugarshin","email":"shinsugar@gmail.com"}],"dist":{"shasum":"5bb82ed446ccaf5e7110808bafb6b6e10e28ab6c","tarball":"https://registry.npmjs.org/grunt-diff-archive/-/grunt-diff-archive-0.0.6.tgz","integrity":"sha512-XSKAtcORYMCHshMRDZSfOnl2d5P+jkl8c4ZW3Trwl08R85HJjp7K3B/LXwAflRaqDR3JgBN16V0R8VpLgdXDcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8CJJYKPtZZtmjw9yOWb/Ux6OeP+rEusAeFkS9/p4R+AiBwvWHrUn8BjCdzZ4oM5CzAS1aBxak6NevclLGcvVZm+Q=="}]}}},"homepage":"https://github.com/sugarshin/grunt-diff-archive","keywords":["gruntplugin"],"repository":{"type":"git","url":"git@github.com:sugarshin/grunt-diff-archive.git"},"author":{"name":"sugarshin","email":"shinsugar@gmail.com"},"bugs":{"url":"https://github.com/sugarshin/grunt-diff-archive/issues"},"readmeFilename":"README.md"}