Sha256: eb3551447e57c3285f9e46c330dd1945e928c51132801c264aaced2a4156cd77
Contents?: true
Size: 534 Bytes
Versions: 12
Compression:
Stored size: 534 Bytes
Contents
const version_rb = { filename: "lib/waitest/version.rb", updater: { readVersion: function (contents) { const match = contents.match(/^\s*VERSION = ["'](.+)["']$/m); return match[1]; }, writeVersion: function (contents, version) { const currentVersion = this.readVersion(contents); // this isn't the most reliable, but meh return contents.replace(currentVersion, version); }, }, }; module.exports = { bumpFiles: [version_rb], packageFiles: [version_rb], preset: "angular", };
Version data entries
12 entries across 12 versions & 1 rubygems