package

github.com/klirix/albedo_cr

master / published Feb 10, 2026 / repository

albedo_cr

TODO: Write a description here

Installation

This shard depends on the albedo library, available via Homebrew in klirix/tap.

  1. Install requirements:

    brew tap klirix/tap
    brew install albedo
  2. Add the dependency to your shard.yml:

    dependencies:
      albedo_cr:
        github: klirix/albedo_cr
  3. Run shards install

Usage example

require "albedo_cr"

bucket = AlbedoCr::Bucket.open("my.bucket")
bucket.insert({"name" => "Alice", "age" => 30})

bucket.list(AlbedoCr.where(age: 30)).each do |doc|
   puts doc["name"].as(String)
end

bucket.transform(AlbedoCr.where(name: "Alice")) do |doc|
   doc["age"] = 31
   doc
end

bucket.close

Contributing

  1. Fork it (https://github.com/your-github-user/albedo_cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

API

  • AlbedoCr

    TODO Write documentation for AlbedoCr