Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

releases

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

releases

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Version

Releases

Library to interact with GitLab releases and versions. The information is fetched from two sources:

  1. versions.gitlab.com
  2. releases.yml

Installation

$ gem install releases

Usage

There are different methods available:

  • upcoming_releases - Returns the GitLab release date and the associated version for the next 12 months.
  • active_version - Returns the active GitLab version.
  • current_version - Returns the current GitLab version.
  • next_versions - Returns the next GitLab patch versions (for patch and security releases).

To make use of it:

  1. Create a personal access token with read_api scope.
  2. Store it under PRODUCTION_TOKEN
  3. Open up an irb session:
> require 'releases'
> releases = Releases
> releases.upcoming_releases
=>
{"16.2"=>"2023-07-22",
 "16.3"=>"2023-08-22",
 "16.4"=>"2023-09-22",
 "16.5"=>"2023-10-22",
 "16.6"=>"2023-11-16",
 "16.7"=>"2023-12-21",
 "16.8"=>"2024-01-18",
 "16.9"=>"2024-02-15",
 "16.10"=>"2024-03-21",
 "16.11"=>"2024-04-18",
 "17.0"=>"2024-05-16",
 "17.1"=>"2024-06-20",
 "17.2"=>"2024-07-18"}

> releases.active_version
=> "16.3"
> releases.current_version
=> "16.2"
> releases.next_versions
=> ["16.2.5", "16.1.5", "16.0.9"]

Contributing

Bug reports and pull requests are welcome on GitLab at https://gitlab.com/gitlab-org/delivery/releases. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Releases project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 22 Aug 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