
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
= Paneron Register Ruby Gem
image:https://img.shields.io/gem/v/paneron-register.svg["Gem Version", link="https://rubygems.org/gems/paneron-register"] image:https://github.com/paneron/ruby-paneron-register/actions/workflows/test.yaml/badge.svg["Build Status",Link="https://github.com/paneron/ruby-paneron-register/actions/workflows/test.yaml"] image:https://codeclimate.com/github/paneron/ruby-paneron-register/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/paneron/ruby-paneron-register"] image:https://img.shields.io/github/issues-pr-raw/paneron/ruby-paneron-register.svg["Pull Requests", link="https://github.com/paneron/ruby-paneron-register/pulls"] image:https://img.shields.io/github/commits-since/paneron/ruby-paneron-register/latest.svg["Commits since latest",link="https://github.com/paneron/ruby-paneron-register/releases"]
== Installation
gem install paneron-register
== Usage
require "paneron/register" include Paneron::Register
raw_data_set = Raw::DataSet.new( "/Users/username/Library/Application Support/Electron/working_copies/00000000-0001-0000-0000-000000000001", "data_set_name-1" )
data_set = raw_data_set.to_lutaml
raw_register = Raw::Register.new( "/Users/username/Library/Application Support/Electron/working_copies/00000000-0001-0000-0000-000000000001", )
raw_register = Raw::Register.from_git( "https://github.com/isogr/registry",
)
raw_data_set = raw_register.data_sets("data_set_name-1")
data_set = raw_data_set.to_lutaml
raw_data_set.item_classes
data_set.item_classes
raw_item_class = raw_data_set.item_classes("item-class-1")
item_class = raw_item_class.to_lutaml
raw_item_class.items
item_class.items
raw_item = raw_item_class.items["00000000-0000-0000-0000-000000000001"] id = raw_item["id"] blob1 = raw_item["data"]["blob1"]
For more usage examples, see link:docs/examples.adoc[Examples
^]
and related link:spec/worked_examples_spec.rb[spec/worked_examples_spec.rb
^].
== Development
Git clone this repository, then install dependencies.
=== Without Nix
Open development shell (irb
) with:
Open development shell (pry
) with:
Run tests with:
bundle exec rspec
Run lint with:
Run lint with autocorrect with:
Release to Rubygem (adds a Git tag, pushes to GitHub and releases to Rubygem) with:
=== With Nix
If your system is using Nix, run the following to gain access to shell aliases:
Open development shell (irb
) with:
irb
Open development shell (pry
) with:
Run tests with:
Run lint with:
lint
Run lint with autocorrect with:
lint -a
Release to Rubygem (adds a Git tag, pushes to GitHub and releases to Rubygem) with:
Update Nix flakes with:
== Release workflow
When actually creating a new version for release, do the following:
VERSION
in file link:lib/paneron/register/version.rb[lib/paneron/register/version.rb
^].
. [[:space:]]
+
[source,shell]git add lib/paneron/register/version.rb git commit -m 'chore: Release vX.Y.Z' # change X.Y.Z to actual version git push
== License
See link:LICENSE.txt[LICENSE.txt
]
FAQs
Unknown package
We found that paneron-register demonstrated a healthy version release cadence and project activity because the last version was released less than 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.