Sha256: df2cf576ecbd68ef39aaf35bd5496ce49ef835bb7ad35f7dcd81c05f64d4acb2

Contents?: true

Size: 470 Bytes

Versions: 13

Compression:

Stored size: 470 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 }],
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stream-chat-ruby-3.1.0 .versionrc.js
stream-chat-ruby-3.0.0 .versionrc.js
stream-chat-ruby-2.23.0 .versionrc.js
stream-chat-ruby-2.22.2 .versionrc.js
stream-chat-ruby-2.22.1 .versionrc.js
stream-chat-ruby-2.22.0 .versionrc.js
stream-chat-ruby-2.21.0 .versionrc.js
stream-chat-ruby-2.20.0 .versionrc.js
stream-chat-ruby-2.19.0 .versionrc.js
stream-chat-ruby-2.18.0 .versionrc.js
stream-chat-ruby-2.17.2 .versionrc.js
stream-chat-ruby-2.17.1 .versionrc.js
stream-chat-ruby-2.17.0 .versionrc.js