
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
EndOfLifeDateApiClient - the Ruby gem for the endoflife.date
Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the endoflife.date wiki
This SDK is automatically generated by the OpenAPI Generator project:
To build the Ruby code into a gem:
gem build endoflife_date.gemspec
Then either install the gem locally:
gem install ./endoflife_date-1.0.0.gem
(for development, run gem install --dev ./endoflife_date-1.0.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'endoflife_date', '~> 1.0.0'
If the Ruby gem is hosted at a git repository: https://github.com/oapicf/endoflife.date-api-clients, then add the following in the Gemfile:
gem 'endoflife_date', :git => 'https://github.com/oapicf/endoflife.date-api-clients.git'
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'endoflife_date'
api_instance = EndOfLifeDateApiClient::DefaultApi.new
begin
#All Products
result = api_instance.get_api_all_json
p result
rescue EndOfLifeDateApiClient::ApiError => e
puts "Exception when calling DefaultApi->get_api_all_json: #{e}"
end
All URIs are relative to https://endoflife.date
Class | Method | HTTP request | Description |
---|---|---|---|
EndOfLifeDateApiClient::DefaultApi | get_api_all_json | GET /api/all.json | All Products |
EndOfLifeDateApiClient::DefaultApi | get_api_product_cycle_json | GET /api/{product}/{cycle}.json | Single cycle details |
EndOfLifeDateApiClient::DefaultApi | get_api_product_json | GET /api/{product}.json | Get All Details |
Endpoints do not require authorization.
FAQs
Unknown package
We found that endoflife_date demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.