RubyGems Navigation menu

semverify 0.3.2

Parse, compare, and increment RubyGem versions. This gem installs the `semverify` CLI tool to display and increment a gem's version based on SemVer rules. This tool can replace the `bump` command from the [bump gem](https://rubygems.org/gems/bump/) for incrementing gem version strings. This gem also provides the `Semverify::Semver` class which knows how to parse, validate, and compare [SemVer 2.0.0](https://semver.org/spec/v2.0.0.html) version strings. Both the CLI tool and the library code support prerelease versions and versions with build metadata. Example CLI commands: ```bash # Increment the gem version semverify {next-major|next-minor|next-patch} [--pre [--pretype=TYPE]] [--build=METADATA] [--dryrun] semverify next-pre [--pretype=TYPE] [--build=METADATA] [--dryrun] semverify next-release [--build=METADATA] [--dryrun] # Command to display the current gem version semverify current # Display the gem version file semverify file # Validate that a version conforms to SemVer 2.0.0 semverify validate VERSION # Get more detailed help for each command listed above semverify help [COMMAND] ```

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.3.4 - January 20, 2024 (20 KB)
  2. 0.3.3 - January 11, 2024 (19.5 KB)
  3. 0.3.2 - January 11, 2024 (20 KB)
  4. 0.3.1 - January 06, 2024 (18.5 KB)
  5. 0.3.0 - March 19, 2023 (18.5 KB)

Runtime Dependencies (1):

thor ~> 1.3

Development Dependencies (10):

bundler-audit ~> 0.9
rake ~> 13.1
redcarpet ~> 3.6
rspec ~> 3.12
rubocop ~> 1.59
simplecov ~> 0.22
yard ~> 0.9, >= 0.9.28
yardstick ~> 0.9

Owners:

Pushed by:

Authors:

  • James Couball

SHA 256 checksum:

d8ddb840162d3b6d1bf0d2332efd06c01b5ed880a9af93ac978dcd2e939abb07

Total downloads 1,979

For this version 171

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: