Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
honkster-redis-store
Advanced tools
Download and install Redis from http://code.google.com/p/redis/
curl -OL http://redis.googlecode.com/files/redis-1.02.tar.gz
tar -zxvf redis-1.02.tar.gz
mv redis-1.02 redis
cd redis
make
Install the gems
sudo gem install redis-rb redis-store
Provides a cache store for your Ruby web framework of choice.
config.gem "redis-store", :source => "http://gemcutter.org", :lib => "redis-store"
require "redis-store"
config.cache_store = :redis_store
dependency "redis-store", "0.3.7"
dependency("merb-cache", merb_gems_version) do
Merb::Cache.setup do
register(:redis, Merb::Cache::RedisStore, :servers => ["127.0.0.1:6379"])
end
end
require "sinatra"
require "redis-store"
class MyApp < Sinatra::Base
register Sinatra::Cache
get "/hi" do
cache.fetch("greet") { "Hello, World!" }
end
end
Provides a Redis store for Rack::Session. See http://rack.rubyforge.org/doc/Rack/Session.html
require "rack"
require "redis-store"
require "application"
use Rack::Session::Redis
run Application.new
config.gem "redis-store", :source => "http://gemcutter.org", :lib => "redis-store"
ActionController::Base.session_store = Rack::Session::Redis
dependency "redis-store", "0.3.7"
Merb::Config.use do |c|
c[:session_store] = "redis"
end
Merb::BootLoader.before_app_loads do
Merb::SessionContainer.subclasses << "Merb::RedisSession"
end
Sorry, but Sinatra application boot system hardcode Rack::Session::Cookie
Provides a Redis store for HTTP caching. See http://github.com/rtomayko/rack-cache
require "rack"
require "rack/cache"
require "redis-store"
require "application"
use Rack::Cache,
:metastore => 'redis://localhost:6379/0',
:entitystore => 'redis://localhost:6380/1'
run Application.new
gem install jeweler bundler
git clone git://github.com/jodosha/redis-store.git
cd redis-store
gem bundle
rake dtach:install
rake redis:install
rake
If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" gem bundle
(c) 2009 Luca Guidi - http://lucaguidi.com, released under the MIT license
FAQs
Unknown package
We found that honkster-redis-store demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.