
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A primitive JSON data store
A simple persistence library with human-readable representation. Uses good 'ol filesystem. Features: basic operations & namespaces. To be used for prototyping and as a backend of more sophisticated/specific implementations.
Warning: Abbey intentionally uses JSON, therefore it inherits it's caveats. Most notably, symbols are serialized to strings.
require 'abbey'
abbey = Abbey::EntityStorage.new(Abbey::Settings.new('/var/myapp/data', [:users, :books]))
abbey.set_up! unless abbey.set_up? # will prepare directories and shit
abbey.save(:users, :admin, {:name => "John Smith"})
abbey.save(:users, :admin, {:name => "John Smith"}) # => Abbey::ItemAlreadyExistsError
abbey.get(:users, :admin) # => {"name" => "John Smith"}
abbey.update(:users, :admin, {:name => "John C. Smith"})
abbey.update(:users, :nonexistent, {:name => "Joe Black"}) # => Abbey::ItemNotFoundError
abbey.list(:users) # => #<Set: {:admin}>
abbey.get_all(:users) # => {"admin" => {"name" => "John Smith"}}
abbey.delete(:users, :admin)
abbey.drop(:users) # will delete all data in the namespace
abbey.exists?(:users, :admin) # => false
abbey.settings.namespaces # => [:users, :books]
abbey.settings.logger # => #<Logger....>
MIT. See LICENSE.txt
Pavel Kalvoda me@pavelkalvoda.com
FAQs
Unknown package
We found that abbey 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 new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.