{"id":13492992,"url":"https://github.com/redis-store/redis-sinatra","last_synced_at":"2025-08-17T01:33:29.322Z","repository":{"id":66770222,"uuid":"2346943","full_name":"redis-store/redis-sinatra","owner":"redis-store","description":"Redis stores for Sinatra","archived":false,"fork":false,"pushed_at":"2025-06-24T13:38:17.000Z","size":32,"stargazers_count":29,"open_issues_count":0,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-24T14:42:38.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://redis-store.org/redis-sinatra","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/redis-store.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2011-09-08T07:20:22.000Z","updated_at":"2025-06-24T13:38:22.000Z","dependencies_parsed_at":"2023-02-23T17:45:14.473Z","dependency_job_id":null,"html_url":"https://github.com/redis-store/redis-sinatra","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/redis-store/redis-sinatra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-sinatra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-sinatra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-sinatra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-sinatra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-store","download_url":"https://codeload.github.com/redis-store/redis-sinatra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-store%2Fredis-sinatra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270796219,"owners_count":24647319,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-07-31T19:01:11.134Z","updated_at":"2025-08-17T01:33:29.296Z","avatar_url":"https://github.com/redis-store.png","language":"Ruby","funding_links":[],"categories":["NoSQL"],"sub_categories":[],"readme":"# Redis stores for Sinatra\n\n__`redis-sinatra`__ provides a Redis backed cache store for __Sinatra__. See the main [redis-store readme](https://github.com/redis-store/redis-store) for general guidelines.\n\n## Installation\n\n```ruby\n# Gemfile\ngem 'redis-sinatra'\n```\n\n## Usage\n\n```ruby\nrequire 'sinatra'\nrequire 'redis-sinatra'\n\nclass MyApp \u003c Sinatra::Base\n  register Sinatra::Cache\n\n  get '/hi' do\n    settings.cache.fetch('greet') { 'Hello, World!' }\n  end\nend\n```\n\nKeep in mind that the above fetch will return `\"OK\"` on success, not the return of the block.\n\n## Running tests\n\n```ruby\ngem install bundler\ngit clone git://github.com/redis-store/redis-sinatra.git\ncd redis-sinatra\nbundle install\nbundle exec rake\n```\n\nIf you are on **Snow Leopard** you have to run `env ARCHFLAGS=\"-arch x86_64\" bundle exec rake`\n\n## Status\n\n[![Gem Version](https://badge.fury.io/rb/redis-sinatra.png)](http://badge.fury.io/rb/redis-sinatra) \n[![Build Status](https://secure.travis-ci.org/redis-store/redis-sinatra.png?branch=master)](http://travis-ci.org/redis-store/redis-sinatra?branch=master) \n[![Code Climate](https://codeclimate.com/github/redis-store/redis-sinatra.png)](https://codeclimate.com/github/redis-store/redis-sinatra)\n\n## Copyright\n\n2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-sinatra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-store%2Fredis-sinatra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-store%2Fredis-sinatra/lists"}