Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update express, connect and tests

  • Loading branch information...
commit 6194ca7d22f736e45711b7f16963edd6ae34e2ae 1 parent 0a40bfe
@Caged authored
View
2  examples/layout.html
@@ -81,7 +81,7 @@
<body>
<header>
<h1><a href="http://github.com/caged/octo">Octo.js</a></h1>
- <h2>&mdash; JavaScript for GitHub API v3</h2>
+ <h2>&mdash; Easy Access to GitHub API v3</h2>
<p>Check your browsers console for output</p>
</header>
<section id="body">
View
4 package.json
@@ -21,10 +21,10 @@
"docco": "0.3.0",
"mocha": "1.7.4",
"should": "1.2.1",
- "connect": "2.1.2",
+ "connect": "2.7.1",
"coffee-script": "*",
"highlight": "0.2.2",
- "express": "2.5.9"
+ "express": "3.0.5"
},
"main": "index",
"scripts": {
View
2  test/browser/basic-auth.coffee
@@ -1,6 +1,6 @@
octo = require '../../octo'
express = require 'express'
-app = express.createServer()
+app = express()
app.use(express.basicAuth('Clay', 'getdatmoney'))
app.get '/', (req, res) -> res.end 'sheeeit'
View
2  test/browser/events.coffee
@@ -1,7 +1,7 @@
octo = require '../../octo'
express = require 'express'
should = require 'should'
-app = express.createServer()
+app = express()
app.listen(21202)
api = octo.api().host('http://localhost:21202')
View
2  test/browser/headers.coffee
@@ -1,6 +1,6 @@
octo = require '../../octo'
express = require 'express'
-app = express.createServer()
+app = express()
app.listen(21219)
api = octo.api().host('http://localhost:21219')
View
2  test/browser/paging.coffee
@@ -1,6 +1,6 @@
octo = require '../../octo'
express = require 'express'
-app = express.createServer()
+app = express()
app.listen(21217)
api = octo.api().host('http://localhost:21217')
View
2  test/browser/token-auth.coffee
@@ -1,6 +1,6 @@
octo = require '../../octo'
express = require 'express'
-app = express.createServer()
+app = express()
app.get '/', (req, res) ->
if req.header('authorization') == 'token farmerandthedale'
Please sign in to comment.
Something went wrong with that request. Please try again.