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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4401a2967b016a74b76bc70b3c81e299f04436a
4
- data.tar.gz: a266269b65fdbd960acd872992133bcdb65c135d
3
+ metadata.gz: 3203dfa59aeaeb18e914182b919996cb20f482ab
4
+ data.tar.gz: 4bf7909e538b1eb9db50e008e5996f4a2bcd9507
5
5
  SHA512:
6
- metadata.gz: 1bb1ec2b810205bbd1fb371d137ccae69951315a66b6260fa5f33ada1cdadaa3539f0ca9f763d3ed2d75910dc44ddb5ad0fe292a1854887d2c96355731a866ee
7
- data.tar.gz: 59a1f8d9caa50163d5bd8925217feffe97b6055fcfe2e221d247eb58b0deab0d13cc376c871591cd1828775a66e8bf2cddc407de33b35c3ac27f6ea0085c80d7
6
+ metadata.gz: 12771b4f10018ca667be8b63dc239875233d81994b3a5f3561b8313afdcd3e40f4bd111e1a36b8455058c59d4e94179a43e1da853360ab101d4f44497f20433d
7
+ data.tar.gz: 6625907f588f6a1f69a4068ec09269470eb565db6eefbf4340d49539c22b2d852f300f75730fad25a426015d3d113ed4b0a84e402ca5f136fc9cee29e895543b
data/lib/gusto/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gusto
2
- VERSION = "1.0.0.beta9"
2
+ VERSION = "1.0.0.beta10"
3
3
  end
@@ -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.beta9
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