Sha256: 6a5338316458761bb0112795a4d1aece9647b1a66b2fb21d3300ac0e34778d89

Contents?: true

Size: 970 Bytes

Versions: 9

Compression:

Stored size: 970 Bytes

Contents

const versionFileUpdater = {
    VERSION_REGEX: /VERSION = '(.+)'/,

    readVersion: function (contents) {
        const version = this.VERSION_REGEX.exec(contents)[1];
        return version;
    },

    writeVersion: function (contents, version) {
        return contents.replace(this.VERSION_REGEX.exec(contents)[0], `VERSION = '${version}'`);
    }
}

module.exports = {
    bumpFiles: [{ filename: './lib/stream-chat/version.rb', updater: versionFileUpdater }],
    types: [
        {"type": "feat", "section": "Features"},
        {"type": "fix", "section": "Bug Fixes"},
        {"type": "chore", "section": "Other", "hidden": false},
        {"type": "docs", "section": "Other", "hidden": false},
        {"type": "style", "section": "Other", "hidden": false},
        {"type": "refactor", "section": "Other", "hidden": false},
        {"type": "perf", "section": "Other", "hidden": false},
        {"type": "test", "section": "Other", "hidden": false}
    ]
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
stream-chat-ruby-3.10.0 .versionrc.js
stream-chat-ruby-3.9.0 .versionrc.js
stream-chat-ruby-3.8.0 .versionrc.js
stream-chat-ruby-3.7.0 .versionrc.js
stream-chat-ruby-3.5.1 .versionrc.js
stream-chat-ruby-3.5.0 .versionrc.js
stream-chat-ruby-3.4.0 .versionrc.js
stream-chat-ruby-3.3.0 .versionrc.js
stream-chat-ruby-3.2.0 .versionrc.js