Skip to content

Commit

Permalink
bump version and fix package configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dgf committed Mar 30, 2012
1 parent 22d9afb commit 45ac3b5
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 13 deletions.
22 changes: 22 additions & 0 deletions LICENSE
@@ -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 changes: 15 additions & 0 deletions README.md
@@ -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 changes: 23 additions & 13 deletions package.json
@@ -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"
Expand All @@ -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"
}
}

0 comments on commit 45ac3b5

Please sign in to comment.