Sha256: f4c2395f9f680f8e68e7512793535a5522efc4e5bc0b14029923fa7cd1ca164a
Contents?: true
Size: 684 Bytes
Versions: 3
Compression:
Stored size: 684 Bytes
Contents
#------------ # Mongo3 Sessions Options # # @@options defines where Mongo3 puts its sessions, which can be either mongo or memcache # if @@options is not defined mongo at localhost:27017 is used # # For customized sessions with Mongo uncomment and modify this line: # @@options={:protocol=>"mongo", :host=>"localhost", :port=>"11211", :db_name=>"mongo3_session", :cltn_name=>"sessions"} # # For Memcache session uncomment and modify this line: # @@options={:protocol=>"memcached", :host=>"localhost", :port=>"11211", :namespace=>"mongo3_session"} # #------------ require 'rubygems' require 'sinatra' require File.join(File.dirname(__FILE__), %w[lib app.rb]) run Sinatra::Application
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongo3-0.1.5 | config.ru |
mongo3-0.1.4 | config.ru |
mongo3-0.1.3 | config.ru |