Sha256: 825658aa120f7089332518fbf30dad26f1345fd1751b5d88ebcded4dbfff64ac

Contents?: true

Size: 503 Bytes

Versions: 10

Compression:

Stored size: 503 Bytes

Contents

'use strict';
var execSync = require('child_process').execSync;
var URI = require('urijs');

var gemspec = JSON.parse(execSync('bundle exec parse-gemspec-cli env_pull_request.gemspec'));
var homepageUrl = gemspec.homepage;
var url = new URI(homepageUrl);
var host = url.protocol() + '://' + url.authority();
var owner = url.pathname().split('/')[1];
var repository = url.pathname().split('/')[2];

module.exports = {
  version: gemspec.version,
  host: host,
  owner: owner,
  repository: repository
};

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
env_pull_request-1.1.0 .conventional-changelog.context.js
env_pull_request-1.0.0 .conventional-changelog.context.js
env_pull_request-0.3.3 .conventional-changelog.context.js
env_pull_request-0.3.2 .conventional-changelog.context.js
env_pull_request-0.3.1 .conventional-changelog.context.js
env_pull_request-0.3.0 .conventional-changelog.context.js
env_pull_request-0.2.2 .conventional-changelog.context.js
env_pull_request-0.2.1 .conventional-changelog.context.js
env_pull_request-0.2.0 .conventional-changelog.context.js
env_pull_request-0.1.0 .conventional-changelog.context.js