{"id":17914123,"url":"https://github.com/npepinpe/redstruct","last_synced_at":"2025-03-23T23:30:45.187Z","repository":{"id":56891569,"uuid":"63099759","full_name":"npepinpe/redstruct","owner":"npepinpe","description":"REDis data STRUCTures","archived":false,"fork":false,"pushed_at":"2017-11-27T11:43:35.000Z","size":460,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T00:18:00.112Z","etag":null,"topics":["data-structures","lua-script","redis","ruby"],"latest_commit_sha":null,"homepage":"https://npepinpe.github.io/redstruct/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npepinpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-11T20:28:27.000Z","updated_at":"2019-01-10T03:10:25.000Z","dependencies_parsed_at":"2022-08-20T16:01:01.470Z","dependency_job_id":null,"html_url":"https://github.com/npepinpe/redstruct","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npepinpe%2Fredstruct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npepinpe%2Fredstruct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npepinpe%2Fredstruct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npepinpe%2Fredstruct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npepinpe","download_url":"https://codeload.github.com/npepinpe/redstruct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186438,"owners_count":20574551,"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":["data-structures","lua-script","redis","ruby"],"created_at":"2024-10-28T19:56:26.187Z","updated_at":"2025-03-23T23:30:44.538Z","avatar_url":"https://github.com/npepinpe.png","language":"Ruby","readme":"# Redstruct\n\n[![Build Status](https://travis-ci.org/npepinpe/redstruct.svg?branch=master)](https://travis-ci.org/npepinpe/redstruct)\n\nProvides higher level data structures in Ruby using standard Redis commands. Also provides basic object mapping for pre-existing types.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'redstruct'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install redstruct\n\n## Usage\n\nTODO: Write usage instructions here\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n*Note*\n\nAvoid using transactions; the Redis documentation suggests using Lua scripts where possible, as in most cases they will be faster than transactions. Use the `Redstruct::Utils::Scriptable` module and the `defscript` macro instead.\n\n## TODO\n\n- [x] Implement factory\n- [x] Implement counter\n- [x] Implement lock (blocking/non-blocking)\n- [x] Implement string\n- [x] Implement hash\n- [x] Implement set\n- [x] Implement list\n- [x] Implement script\n- [x] Implement sorted set\n- [ ] Design/discuss stored factory meta-data (i.e. keep track of created objects, clear said objects, etc.)\n- [ ] Implement collections to leverage redis commands such as mget, mset, etc.\n- [ ] Implement value transformers (read and write) to make reusing types with specially encoded objects easy\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/npepinpe/redstruct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpepinpe%2Fredstruct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpepinpe%2Fredstruct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpepinpe%2Fredstruct/lists"}