Socket
Socket
Sign inDemoInstall

@snyk/gemfile

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/gemfile - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

.github/PULL_REQUEST_TEMPLATE.md

8

gemfile.js

@@ -11,2 +11,3 @@ 'use strict';

const ORIGINS = ['GEM', 'GIT', 'PATH'];
const RUBY = /^ruby\s(.*)/;

@@ -130,4 +131,11 @@ module.exports = {

if (gemfile['RUBY VERSION']) {
const rawVersion= Object.keys(gemfile['RUBY VERSION'])[0];
const version = RUBY.exec(rawVersion)[1];
gemfile['RUBY VERSION'] = version;
}
if (extractMeta) {
gemfileMeta.bundledWith = gemfile['BUNDLED WITH'];
gemfileMeta.rubyVersion = gemfile['RUBY VERSION'];
gemfileMeta.platforms = gemfile['PLATFORMS'];

@@ -134,0 +142,0 @@ gemfileMeta.dependencies = gemfile['DEPENDENCIES'];

2

package.json

@@ -31,3 +31,3 @@ {

},
"version": "1.1.0"
"version": "1.2.0"
}
{
"bundledWith": "1.11.2",
"rubyVersion": "2.3.1p112",
"platforms": {

@@ -4,0 +5,0 @@ "ruby": {}

@@ -155,2 +155,3 @@ 'use strict';

let output = gemfile.interpret(file, true);
assert.deepEqual(output.rubyVersion, '2.3.1p0');
assert.property(output.specs.rspec, 'revision');

@@ -157,0 +158,0 @@ });

{
"bundledWith": "1.13.6",
"rubyVersion": "2.3.1p0",
"platforms": {

@@ -4,0 +5,0 @@ "ruby": {}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc