Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump version and fix package configuration

  • Loading branch information...
commit 45ac3b59bc900725bb999b1f1871ac92dc5f6e5c 1 parent 22d9afb
Danny Gräf authored
Showing with 60 additions and 13 deletions.
  1. +22 −0 LICENSE
  2. +15 −0 README.md
  3. +23 −13 package.json
22 LICENSE
View
@@ -0,0 +1,22 @@
+
+Copyright (c) 2012 Danny Gräf
+
+see http://www.opensource.org/licenses/MIT
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
15 README.md
View
@@ -0,0 +1,15 @@
+# connect express Sequelize session store implementation
+
+ express = require 'express'
+ C3Store = require('c3store') express
+
+ sequelize = new Sequelize 'db.name', 'db.user', 'db.pass'
+ sessionStore = new C3Store sequelize
+
+ app = express.createServer()
+ ...
+ app.configure 'production', ->
+ ...
+ app.use express.session
+ secret: "MyAwesomeAppSessionSecret",
+ store: sessionStore
36 package.json
View
@@ -1,22 +1,22 @@
{
- "author": "Danny Gräf <github@dagnu.de>"
- , "name": "c3store"
- , "description": "connect Sequelize session store"
+ "name": "c3store"
, "version": "0.0.2"
- , "homepage": "http://github.com/dgf/c3store"
+ , "author": "Danny Gräf <github@dagnu.de>"
+
+ , "keywords": ["session", "store", "SQL"]
+ , "description": "connect Sequelize session store"
+ , "main": "lib/c3store.js"
+
+ , "licenses": [{
+ "type": "MIT"
+ , "url": "http://github.com/dgf/c3store/raw/master/LICENSE"
+ }]
+
, "repository": {
"type": "git"
, "url": "git@github.com:dgf/c3store.git"
}
- , "main": "lib/c3store.js"
- , "scripts": {
- "pretest": "cake build"
- , "prepublish": "cake build"
- , "test": "cake spec"
- }
- , "engines": {
- "node": "~0.6.7"
- }
+
, "dependencies": {
"coffee-script": "1.2.x"
, "underscore": "1.3.x"
@@ -28,4 +28,14 @@
, "jasmine-node": "1.0.x"
, "sqlite3": "2.1.x"
}
+
+ , "engines": {
+ "node": "~0.6.7"
+ }
+
+ , "scripts": {
+ "pretest": "cake build"
+ , "prepublish": "cake build"
+ , "test": "cake spec"
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.