Permalink
Browse files

Version bump.

  • Loading branch information...
1 parent 32c3860 commit fd82106efd819ccb9cff56c599f15e190065b4e9 @assaf assaf committed Feb 11, 2011
View
@@ -3,6 +3,8 @@ zombie.js-changelog(7) -- Changelog
### Version 0.8.13 Pending
+Tested with Node 0.4.0.
+
Add support for IFRAMEs (Damian Janowski).
Upgraded to HTML5 0.2.13.
@@ -11,14 +13,16 @@ Fixes #71 cookie names now preserve case.
Fixes #69 incorrectly resolving partial URLs in XHR requests.
-Fixes browser.clock to use Date.now instead of new Date (faster).
+Fixes `browser.clock` to use `Date.now` instead of `new Date` (faster).
-Fixes browser.dump.
+Fixes `browser.dump`.
In debug mode, show when firing timeout/interval.
+Added `cake install`.
+
293 Tests
- 3.6 sec to complete
+ 3.7 sec to complete
### Version 0.8.12 2011-02-01
View
@@ -0,0 +1 @@
+module.exports = require("./lib/zombie")
View
@@ -1,5 +1,5 @@
{ "name": "zombie",
- "version": "0.8.12",
+ "version": "0.8.13",
"description": "Insanely fast, full-stack, headless browser testing using Node.js",
"homepage": "http://zombie.labnotes.org/",
"author": "Assaf Arkin <assaf@labnotes.org> (http://labnotes.org/)",
@@ -11,25 +11,25 @@
"man": "./man7"
},
"files": [
- "README.md",
- "CHANGELOG.md",
"Cakefile",
- "MIT-LICENSE",
- "TODO.md",
- "dep",
- "src",
- "spec",
+ "CHANGELOG.md",
"doc",
+ "index.js",
"lib",
"man7",
- "package.json"
+ "MIT-LICENSE",
+ "README.md",
+ "spec",
+ "src",
+ "TODO.md",
+ "xpath"
],
"scripts": {
"build": "cake build",
- "test": "vows"
+ "test": "cake test"
},
"engines": {
- "node": ">= 0.2.5"
+ "node": ">= 0.2.6"
},
"dependencies": {
"html5": "0.2.13",
View
@@ -1,41 +1 @@
-zombie = require("./zombie/browser")
-
-# Constructor for a new Browser. Takes no arguments.
-exports.Browser = zombie.Browser
-exports.package = zombie.package
-exports.version = zombie.version
-
-
-# ### zombie.visit(url, callback)
-# ### zombie.visit(url, options, callback)
-#
-# Creates a new Browser, opens window to the URL and calls the callback when
-# done processing all events.
-#
-# For example:
-# zombie = require("zombie")
-#
-# vows.describe("Brains").addBatch(
-# "seek":
-# topic: ->
-# zombie.browse "http://localhost:3000/brains", @callback
-# "should find": (browser)->
-# assert.ok browser.html("#brains")[0]
-# ).export(module);
-#
-# * url -- URL of page to open
-# * options -- Initialize the browser with these options
-# * callback -- Called with error, browser
-exports.visit = (url, options, callback)->
- new zombie.Browser(options).visit(url, options, callback)
-
-
-# ### listen port, callback
-# ### listen socket, callback
-# ### listen callback
-#
-# Ask Zombie to listen on the specified port for requests. The default
-# port is 8091, or you can specify a socket name. The callback is
-# invoked once Zombie is ready to accept new connections.
-exports.listen = (port, callback)->
- require("./zombie/protocol").listen(port, callback)
+module.exports = require("./zombie")
@@ -0,0 +1,41 @@
+zombie = require("./browser")
+
+# Constructor for a new Browser. Takes no arguments.
+exports.Browser = zombie.Browser
+exports.package = zombie.package
+exports.version = zombie.version
+
+
+# ### zombie.visit(url, callback)
+# ### zombie.visit(url, options, callback)
+#
+# Creates a new Browser, opens window to the URL and calls the callback when
+# done processing all events.
+#
+# For example:
+# zombie = require("zombie")
+#
+# vows.describe("Brains").addBatch(
+# "seek":
+# topic: ->
+# zombie.browse "http://localhost:3000/brains", @callback
+# "should find": (browser)->
+# assert.ok browser.html("#brains")[0]
+# ).export(module);
+#
+# * url -- URL of page to open
+# * options -- Initialize the browser with these options
+# * callback -- Called with error, browser
+exports.visit = (url, options, callback)->
+ new zombie.Browser(options).visit(url, options, callback)
+
+
+# ### listen port, callback
+# ### listen socket, callback
+# ### listen callback
+#
+# Ask Zombie to listen on the specified port for requests. The default
+# port is 8091, or you can specify a socket name. The callback is
+# invoked once Zombie is ready to accept new connections.
+exports.listen = (port, callback)->
+ require("./protocol").listen(port, callback)
@@ -10,9 +10,9 @@ xpath = ->
unless engine
engine = vm.Script.createContext()
engine.navigator = { appVersion: "Zombie.js" }
- new vm.Script(fs.readFileSync(__dirname + "/../../dep/util.js")).runInContext engine
- new vm.Script(fs.readFileSync(__dirname + "/../../dep/xmltoken.js")).runInContext engine
- new vm.Script(fs.readFileSync(__dirname + "/../../dep/xpath.js")).runInContext engine
+ new vm.Script(fs.readFileSync(__dirname + "/../../xpath/util.js")).runInContext engine
+ new vm.Script(fs.readFileSync(__dirname + "/../../xpath/xmltoken.js")).runInContext engine
+ new vm.Script(fs.readFileSync(__dirname + "/../../xpath/xpath.js")).runInContext engine
return engine
core.HTMLDocument.prototype.evaluate = (expr, node, nsResolver, type, result)->
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fd82106

Please sign in to comment.