{"id":20661564,"url":"https://github.com/aerospike/aerospike-client-ruby","last_synced_at":"2025-04-08T09:10:12.861Z","repository":{"id":21870558,"uuid":"25194127","full_name":"aerospike/aerospike-client-ruby","owner":"aerospike","description":"Ruby client for the Aerospike database","archived":false,"fork":false,"pushed_at":"2024-12-17T15:21:08.000Z","size":1393,"stargazers_count":62,"open_issues_count":13,"forks_count":40,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-01T08:34:14.250Z","etag":null,"topics":["aerospike","database-driver","nosql","ruby"],"latest_commit_sha":null,"homepage":"https://www.aerospike.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aerospike.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-14T07:01:37.000Z","updated_at":"2025-01-23T18:54:01.000Z","dependencies_parsed_at":"2024-06-18T18:42:07.231Z","dependency_job_id":"9595c236-3106-4ff6-a61c-c7b688e7c4fe","html_url":"https://github.com/aerospike/aerospike-client-ruby","commit_stats":{"total_commits":382,"total_committers":32,"mean_commits":11.9375,"dds":0.5863874345549738,"last_synced_commit":"311369f39329916b148f587a320e1189a05a5eaa"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerospike","download_url":"https://codeload.github.com/aerospike/aerospike-client-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aerospike","database-driver","nosql","ruby"],"created_at":"2024-11-16T19:10:13.763Z","updated_at":"2025-04-08T09:10:12.838Z","avatar_url":"https://github.com/aerospike.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aerospike Ruby Client [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![gem][gem-image]][gem-url]\n\n[travis-image]: https://travis-ci.org/aerospike/aerospike-client-ruby.svg?branch=master\n[travis-url]: https://travis-ci.org/aerospike/aerospike-client-ruby\n[codecov-image]: https://codecov.io/gh/aerospike/aerospike-client-ruby/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/aerospike/aerospike-client-ruby\n[gem-image]: https://img.shields.io/gem/v/aerospike.svg\n[gem-url]: https://rubygems.org/gems/aerospike\n\nAn Aerospike library for Ruby.\n\nThis library is compatible with Ruby 2.3+ and supports Linux, Mac OS X and various other BSDs.\n\n- [Aerospike Ruby Client   ](#aerospike-ruby-client---)\n  - [Usage:](#usage)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n    - [Installation from Ruby gems](#installation-from-ruby-gems)\n    - [Installation from source](#installation-from-source)\n  - [Tests](#tests)\n  - [Examples](#examples)\n    - [Tools](#tools)\n  - [Benchmarks](#benchmarks)\n  - [API Documentation](#api-documentation)\n  - [License](#license)\n\n\n## Usage:\n\nThe following is a very simple example of CRUD operations in an Aerospike database.\n\n```ruby\nrequire 'rubygems'\nrequire 'aerospike'\n\ninclude Aerospike\n\nclient = Client.new(\"127.0.0.1\")\n\nkey = Key.new('test', 'test', 'key value')\nbin_map = {\n  'bin1' =\u003e 'value1',\n  'bin2' =\u003e 2,\n  'bin4' =\u003e ['value4', {'map1' =\u003e 'map val'}],\n  'bin5' =\u003e {'value5' =\u003e [124, \"string value\"]},\n}\n\nclient.put(key, bin_map)\nrecord = client.get(key)\nrecord.bins['bin1'] = 'other value'\n\nclient.put(key, record.bins)\nrecord = client.get(key)\nputs record.bins\n\nclient.delete(key)\nputs client.exists(key)\n\nclient.close\n```\n\nMore examples illustrating the use of the API are located in the\n[`examples`](examples) directory.\n\nDetails about the API are available in the [`docs`](docs) directory.\n\n\u003ca name=\"Prerequisites\"\u003e\u003c/a\u003e\n## Prerequisites\n\n[Ruby](https://ruby-lang.org) version v2.3+ is required.\n\nAerospike Ruby client implements the wire protocol, and does not depend on the C client.\nIt is thread friendly.\n\nSupported operating systems:\n\n- Major Linux distributions (Ubuntu, Debian, Redhat)\n- Mac OS X\n- other BSDs (untested)\n\n\u003ca name=\"Installation\"\u003e\u003c/a\u003e\n## Installation\n\n### Installation from Ruby gems\n\n1. gem install aerospike\n\n### Installation from source\n\n1. Install Ruby 2.3+\n2. Install RubyGems\n3. Install Bundler: ```gem install bundler```\n4. Install dependencies: ```bundler install```\n5. Build and Install the gem locally: ```rake build \u0026\u0026 rake install```\n6. Run the benchmark: ```./tools/benchmark/benchmark.rb -u```\n\n\u003ca name=\"Tests\"\u003e\u003c/a\u003e\n## Tests\n\nThis library is packaged with a number of tests.\n\nTo run all the test cases:\n\n    $ AEROSPIKE_HOSTS=\"\u003chost:port\u003e[,\u003chost:port\u003e]\" AEROSPIKE_USER=\"\u003cuser\u003e\" AEROSPIKE_PASSWORD=\"\u003cpass\u003e\" bundle exec rspec\n\n\u003ca name=\"Examples\"\u003e\u003c/a\u003e\n## Examples\n\nA variety of example applications are provided in the [`examples`](examples) directory.\n\n\u003ca name=\"Tools\"\u003e\u003c/a\u003e\n### Tools\n\nA variety of clones of original tools are provided in the [`tools`](tools) directory.\nThey show how to use more advanced features of the library to reimplement the same functionality in a more concise way.\n\n\u003ca name=\"Benchmarks\"\u003e\u003c/a\u003e\n## Benchmarks\n\nBenchmark utility is provided in the [`tools/benchmark`](tools/benchmark) directory.\nSee the [`tools/benchmark/README.md`](tools/benchmark/README.md) for details.\n\n\u003ca name=\"API-Documentation\"\u003e\u003c/a\u003e\n## API Documentation\n\nAPI documentation is available in the [`docs`](docs/README.md) directory.\n\n## License\n\nThe Aerospike Ruby Client is made available under the terms of the Apache License, Version 2, as stated in the file `LICENSE`.\n\nIndividual files may be made available under their own specific license,\nall compatible with Apache License, Version 2. Please see individual files for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-client-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerospike%2Faerospike-client-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-client-ruby/lists"}