gusto 1.0.0.beta9 → 1.0.0.beta10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gusto/version.rb +1 -1
- data/phantom/headless_runner.js +19 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3203dfa59aeaeb18e914182b919996cb20f482ab
|
4
|
+
data.tar.gz: 4bf7909e538b1eb9db50e008e5996f4a2bcd9507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12771b4f10018ca667be8b63dc239875233d81994b3a5f3561b8313afdcd3e40f4bd111e1a36b8455058c59d4e94179a43e1da853360ab101d4f44497f20433d
|
7
|
+
data.tar.gz: 6625907f588f6a1f69a4068ec09269470eb565db6eefbf4340d49539c22b2d852f300f75730fad25a426015d3d113ed4b0a84e402ca5f136fc9cee29e895543b
|
data/lib/gusto/version.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
(function(){
|
2
|
+
var page = require('webpage').create(),
|
3
|
+
system = require('system');
|
4
|
+
|
5
|
+
if (system.args.length === 1) {
|
6
|
+
console.log('Usage: runner.js <port>');
|
7
|
+
phantom.exit();
|
8
|
+
}
|
9
|
+
|
10
|
+
var port = system.args[1];
|
11
|
+
var address = "http://localhost:" + port + "/?headless=1";
|
12
|
+
page.open(address, function (status) {
|
13
|
+
var result = page.evaluate(function() {
|
14
|
+
return (new Spec.RootSuite()).run();
|
15
|
+
});
|
16
|
+
console.log(JSON.stringify(result));
|
17
|
+
phantom.exit();
|
18
|
+
});
|
19
|
+
})();
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gusto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Cohen
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- lib/Spec/Util.coffee
|
157
157
|
- lib/Spec/Suite.coffee
|
158
158
|
- lib/Spec/DelayedExpectation.coffee
|
159
|
+
- phantom/headless_runner.js
|
159
160
|
- public/jsdiff.js
|
160
161
|
- public/ie.js
|
161
162
|
- public/jquery-1.5.2.js
|