
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
This is the Ruby SDK for StatelyDB. StatelyDB is a document database built on top of DynamoDB. It uses Elastic Schema to allow you to update your data model at any time, with automatic backwards and forwards compatibility.
Begin by following our Getting Started Guide which will help you define, generate, and publish a DB schema so that it can be used.
gem install statelydb
Create an authenticated client, then import your item types from your generated schema module and use the client!
require_relative 'schema/stately'
def put_my_item
# Create a client. This will use the environment variable
# STATELY_ACCESS_KEY to read your access key
client = StatelyDB::Client.new(store_id: <my-store-id>)
# Instantiate an item from your schema
item = StatelyDB::Types::MyItem.new(name: "Jane Doe")
# put and get the item!
put_result = client.put(item)
get_result = client.get(StatelyDB::KeyPath.with("name", "Jane Doe"))
puts put_result == get_result # true
FAQs
Unknown package
We found that statelydb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.