New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tr_semver

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tr_semver

  • 2.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
3
Created
Source

SemVer2 3.0.x gem, following semver.org 2.0.0-rc.1

quickstart on the command line

install it

% gem install semver

use it

% semver init
% semver tag                # => v0.0.0
% semver inc minor          # => v0.1.0
% semver special 'alpha.45' # => v0.1.0-alpha.45
% semver format "%M.%m"     # => 0.1
% git tag -a `semver tag`
% say 'that was easy'

quickstart for ruby

require 'semver'
v = SemVer.find
v.major                     # => "0"
v.major += 1
v.major                     # => "1"
v.special = 'alpha.46'
v.format "%M.%m.%p%s"       # => "1.1.0-alpha.46"
v.to_s                      # => "v1.1.0"
v.save

git integration

% git config --global alias.semtag '!git tag -a $(semver tag) -m "tagging $(semver tag)"'

Franco Lazzarino Henrik Feldt

FAQs

Package last updated on 05 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc