{"_id":"@snyk/gemfile","_rev":"157982","name":"@snyk/gemfile","description":"A Gemfile.lock parser for Node.js represented with JSON.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"snyk-admin","email":""}],"time":{"modified":"2021-06-03T11:37:58.000Z","created":"2017-06-04T06:44:41.969Z","1.2.0":"2019-02-08T12:24:34.305Z","1.1.0":"2018-11-16T13:59:51.375Z","1.0.0":"2017-06-04T06:44:41.969Z"},"users":{},"author":{"name":"Trey Cordova"},"repository":{"type":"git","url":"git+https://github.com/snyk/gemfile.git"},"versions":{"1.2.0":{"name":"@snyk/gemfile","description":"A Gemfile.lock parser for Node.js represented with JSON.","main":"gemfile.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/snyk/gemfile.git"},"keywords":["Gemfile","Gemfile.lock","parser","Ruby","Rails","Gems","RubyGems"],"author":{"name":"Trey Cordova"},"license":"MIT","devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.1"},"engines":{"node":">= 4.2.4"},"version":"1.2.0","gitHead":"fff475bd7de03660baf8626c435e810cc4d91580","bugs":{"url":"https://github.com/snyk/gemfile/issues"},"homepage":"https://github.com/snyk/gemfile#readme","_id":"@snyk/gemfile@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"snyk-admin","email":"npmjs+snyk-admin@snyk.io"},"dist":{"shasum":"919857944973cce74c650e5428aaf11bcd5c0457","size":11166,"noattachment":false,"key":"/@snyk/gemfile/-/@snyk/gemfile-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@snyk/gemfile/download/@snyk/gemfile-1.2.0.tgz"},"maintainers":[{"name":"snyk-admin","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gemfile_1.2.0_1549628674166_0.6992389261937282"},"_hasShrinkwrap":false,"publish_time":1549628674305,"_cnpm_publish_time":1549628674305},"1.1.0":{"name":"@snyk/gemfile","description":"A Gemfile.lock parser for Node.js represented with JSON.","main":"gemfile.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/snyk/gemfile.git"},"keywords":["Gemfile","Gemfile.lock","parser","Ruby","Rails","Gems","RubyGems"],"author":{"name":"Trey Cordova"},"license":"MIT","devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.1.1"},"engines":{"node":">= 4.2.4"},"version":"1.1.0","gitHead":"8f3c39cc20cda87ade42143c03dd84e5dc54009f","bugs":{"url":"https://github.com/snyk/gemfile/issues"},"homepage":"https://github.com/snyk/gemfile#readme","_id":"@snyk/gemfile@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"snyk-admin","email":"npmjs+snyk-admin@snyk.io"},"dist":{"shasum":"8c254dfc7739b2e8513c44c976fc41872d5f6af0","size":10685,"noattachment":false,"key":"/@snyk/gemfile/-/@snyk/gemfile-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@snyk/gemfile/download/@snyk/gemfile-1.1.0.tgz"},"maintainers":[{"name":"snyk-admin","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gemfile_1.1.0_1542376791138_0.6719378763374995"},"_hasShrinkwrap":false,"publish_time":1542376791375,"_cnpm_publish_time":1542376791375},"1.0.0":{"name":"@snyk/gemfile","description":"A Gemfile.lock parser for Node.js represented with JSON.","main":"gemfile.js","scripts":{"test":"mocha --harmony","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/snyk/gemfile.git"},"keywords":["Gemfile","Gemfile.lock","parser","Ruby","Rails","Gems","RubyGems"],"author":{"name":"Trey Cordova"},"license":"MIT","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4","sinon":"^1.17.2","semantic-release":"^6.3.6"},"publishConfig":{"access":"restricted"},"version":"1.0.0","gitHead":"a4a2f37c3b97c04b45e12f09d4f71aa0bf30738a","bugs":{"url":"https://github.com/snyk/gemfile/issues"},"homepage":"https://github.com/snyk/gemfile#readme","_id":"@snyk/gemfile@1.0.0","_shasum":"56c2db5f2110793686c2a3b2ed967576b93460df","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"snyk-admin","email":"admin+snyk@snyk.io"},"dist":{"shasum":"56c2db5f2110793686c2a3b2ed967576b93460df","size":7305,"noattachment":false,"key":"/@snyk/gemfile/-/@snyk/gemfile-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@snyk/gemfile/download/@snyk/gemfile-1.0.0.tgz"},"maintainers":[{"name":"snyk-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gemfile-1.0.0.tgz_1496558680690_0.051823948277160525"},"directories":{},"publish_time":1496558681969,"_cnpm_publish_time":1496558681969}},"readme":"## gemfile\n### A Gemfile.lock parser for Node.js represented with JSON.\n#### Installation\n```bash\n$ npm install gemfile\n```\n#### API\n```javascript\n// Takes a path to a Gemfile.lock.\nparse(filename) // String => Promise => String\nparseSync(filename) // String => String\n\n// Takes the Gemfile.lock in String format.\ninterpret(gemfile) // String => String\n```\n#### Output Expectations\n1. Anything that looks like a path will be identifiable by `.path`.\n2. Anything that looks like a package version will be identifiable by `.version`.\n3. Anything that uses a remote resource that is **not** [https://rubygems.org](https://rubygems.org) will be identifiable by `.outsourced`.\n4. Anything that looks like a SHA-1 will be identifiable by `.sha`.\n6. Everything other than \"BUNDLED WITH\" is an object.\n5. \"BUNDLED WITH\" is _not_ an Object, but rather a String containing the version.\n\n#### Tests\n```bash\n$ npm test\n```\n\n#### Contributions\nPlease feel free to improve the script and submit a [pull request](https://github.com/treycordova/gemfile/compare).\n","_attachments":{},"homepage":"https://github.com/snyk/gemfile#readme","bugs":{"url":"https://github.com/snyk/gemfile/issues"},"license":"MIT"}