Browse files

Delete `Cakefile`.

Removed `Cakefile` and all of Twinkie. Remove some old Vows tests.

Add Node.js 0.8 to Travis CI build.

Closes #16.
  • Loading branch information...
1 parent ad32c9c commit e6f0191df47ef3f5722c34d76d8acd5082cc777f @bigeasy bigeasy committed Jun 28, 2012
Showing with 2 additions and 149 deletions.
  1. +0 −3 .gitmodules
  2. +2 −3 .travis.yml
  3. +0 −8 Cakefile
  4. +0 −1 vendor/twinkie
  5. +0 −134 vows/response-test.js
View
3 .gitmodules
@@ -1,3 +0,0 @@
-[submodule "vendor/twinkie"]
- path = vendor/twinkie
- url = git://github.com/bigeasy/twinkie.git
View
5 .travis.yml
@@ -2,17 +2,16 @@ language: node_js
node_js:
- 0.6
+ - 0.8
branches:
only:
- master
+ - travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- - npm install coffee-script proof
- - git submodule init && git submodule update
- - cake compile
View
8 Cakefile
@@ -1,8 +0,0 @@
-{Twinkie} = require "./vendor/twinkie/lib/twinkie"
-
-twinkie = new Twinkie
-twinkie.ignore "docs", "t/*/tmp"
-twinkie.master "javascript"
-twinkie.coffee "src/lib", "lib"
-twinkie.copy "src/lib", "lib", /\.js$/
-twinkie.tasks task, "compile", "idl", "docco", "gitignore"
1 vendor/twinkie
@@ -1 +0,0 @@
-Subproject commit fc67487a700a5ab36f2a76ea4eb3f2610d2b3f0a
View
134 vows/response-test.js
@@ -1,134 +0,0 @@
-var vows = require("vows"),
- fs = require("fs"),
- assert = require("assert");
-
-function responseValid (name, expected) {
- return function (topic) {
- var invoked = false;
- var parser = new topic.ResponseParser();
- parser.read(fs.readFileSync(__dirname + "/responses/" + name, "utf8"), function (error, response) {
- if (error) throw error;
- invoked = true;
- assert.deepEqual(response, expected);
- });
- assert.isTrue(invoked);
- }
-}
-
-vows.describe("Response").addBatch({
- "Response can parse": {
- topic: require("../lib/response"),
- "AllocateAddress": responseValid("AllocateAddress",
- { "publicIp": "67.202.55.255"
- }),
- "AttachVolume": responseValid("AttachVolume",
- { volumeId: "vol-4d826724",
- instanceId: "i-6058a509",
- device: "/dev/sdh",
- status: "attaching",
- attachTime: new Date(Date.UTC(2008, 4, 7, 11, 51, 50))
- }),
- "AuthorizeSecurityGroupIngress": responseValid("AuthorizeSecurityGroupIngress",
- { "return": true
- }),
- "BundleInstance": responseValid("BundleInstance",
- { requestId: "bun-c1a540a8",
- bundleInstanceTask:
- { instanceId: "i-12345678"
- , bundleId: "bun-c1a540a8"
- , state: "bundling"
- , startTime: new Date(Date.UTC(2008, 9, 7, 11, 41, 50))
- , updateTime: new Date(Date.UTC(2008, 9, 7, 11, 51, 50))
- , progress: "70%"
- , storage:
- { S3:
- { bucket: "my-bucket"
- , prefix: "winami"
- }
- }
- }
- }),
- "CancelBundleTask": responseValid("CancelBundleTask",
- { bundleInstanceTask:
- { instanceId: "i-12345678"
- , bundleId: "bun-cla322b9"
- , state: "canceling"
- , startTime: new Date(Date.UTC(2008, 9, 7, 11, 41, 50))
- , updateTime: new Date(Date.UTC(2008, 9, 7, 11, 51, 50))
- , progress: "20%"
- , storage:
- { S3:
- { bucket: "my-bucket"
- , prefix: "my-new-image"
- }
- }
- }
- }),
- "CancelSpotInstanceRequests": responseValid("CancelSpotInstanceRequests",
- { requestId: "59dbff89-35bd-4eac-99ed-be587ed81825"
- , spotInstanceRequestSet: [ { spotInstanceRequestId: 'sir-e95fae02', state: "cancelled" } ]
- }),
- "ConfirmProductInstance": responseValid("ConfirmProductInstance",
- { ownerId: "254933287430"
- , "return": true
- }),
- "CreateImage": responseValid("CreateImage",
- { imageId: "ami-4fa54026"
- }),
- "CreateKeyPair": responseValid("CreateKeyPair",
- { keyName: "gsg-keypair"
- , keyFingerprint: "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f"
- , keyMaterial: "-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5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z1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----"
- }),
- "CreatePlacementGroup": responseValid("CreatePlacementGroup",
- { requestId: "d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE"
- , "return": true
- }),
- "CreateSecurityGroup": responseValid("CreateSecurityGroup",
- { "return": true
- }),
- "CreateSnapshot": responseValid("CreateSnapshot",
- { snapshotId: "snap-78a54011"
- , volumeId: "vol-4d826724"
- , volumeSize: 10
- , status: "pending"
- , startTime: new Date(Date.UTC(2008, 4, 7, 12, 51, 50))
- , progress: "60%"
- , ownerId: "213457642086"
- , description: "Daily Backup"
- }),
- "CreateSpotDatafeedSubscription": responseValid("CreateSpotDatafeedSubscription",
- { spotDatafeedSubscription:
- { ownerId: "254933287430"
- , bucket: "my-bucket"
- , prefix: null
- , state: "open"
- }
- }),
- "CreateVolume": responseValid("CreateVolume",
- { volumeId: "vol-4d826724"
- , size: 800
- , status: "creating"
- , createTime: new Date(Date.UTC(2008, 4, 7, 11, 51, 50))
- , availabilityZone: "us-east-1a"
- , snapshotId: null
- }),
- "DeleteKeyPair": responseValid("DeleteKeyPair",
- { "return": true
- }),
- "DeletePlacementGroup": responseValid("DeletePlacementGroup",
- { requestId: "d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE"
- , "return": true
- }),
- "DeleteSecurityGroup": responseValid("DeleteSecurityGroup",
- { "return": true
- }),
- "DeleteSnapshot": responseValid("DeleteSnapshot",
- { "return": true
- }),
- "Errors": responseValid("Errors",
- { Errors: [ { Code: 'MissingParameter', Message: 'The request must\ncontain the parameter\nMinCount' } ]
- , RequestID: '2258815d-0be5-4491-b199-673aec77dfe3'
- })
- }
-}).export(module);

0 comments on commit e6f0191

Please sign in to comment.