Sha256: 74cb102351eeeaccb8b3794823abea943dc8862c2468c9a2efd21bd7fe9cf936
Contents?: true
Size: 442 Bytes
Versions: 40
Compression:
Stored size: 442 Bytes
Contents
var grunt = require("grunt"); function gemLib(path) { return './lib/jasmine-core/' + path; } function nodeToRuby(version) { return version.replace('-', '.'); } module.exports = { copyToGem: function() { var versionRb = grunt.template.process( grunt.file.read("grunt/templates/version.rb.jst"), { data: { jasmineVersion: nodeToRuby(global.jasmineVersion) }}); grunt.file.write(gemLib("version.rb"), versionRb); } };
Version data entries
40 entries across 40 versions & 2 rubygems