Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobb-redis

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobb-redis

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Redis stores for Mobb

mobb-redis provides a Redis backed cache store for Mobb. See the main redis-store readme for general guidelines.

Installation

# Gemfile
gem 'mobb-redis'

Usage

require 'mobb'
require 'mobb-redis'

class MyApp < Mobb::Base
  register Mobb::Cache

  on 'hi' do
    settings.cache.fetch('greet') { 'Hello, World!' }
  end
end

Keep in mind that the above fetch will return "OK" on success, not the return of the block.

Running tests

gem install bundler
git clone https://github.com/kinoppyd/mobb-redis
cd mobb-redis
bundle install
bundle exec rake

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake

Original 2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license]

Modify kinoppyd

FAQs

Package last updated on 10 Dec 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc