guard-jasmine 2.0.4 → 2.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b47f780781cf1e46672308491cd8ec931f06b80
|
4
|
+
data.tar.gz: c863d744e53d2fa85062dcb2c5837a443943f333
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab256f2699afa45d01d733dcab6f002899df4c6c376639928c62b451800db58f18e28a70fd286af5d63bb8c68045d69ad9c2e4e0b442ebb0f3735bd13d8eeb85
|
7
|
+
data.tar.gz: 71d5f4827e424dcd6b4ef4bedc7a0723f356f2b855eafdd46c87d067decc63538563ffcd18930a053f0883573e1b4268d43de2a6fe3b1016b2f9cf23c30872b3
|
@@ -4,8 +4,8 @@
|
|
4
4
|
system = require('system');
|
5
5
|
|
6
6
|
options = {
|
7
|
-
url: system.args[
|
8
|
-
timeout: parseInt(system.args
|
7
|
+
url: system.args[1] || 'http://localhost:3000/jasmine',
|
8
|
+
timeout: parseInt(system.args[2] || 10000)
|
9
9
|
};
|
10
10
|
|
11
11
|
page = require('webpage').create();
|
@@ -1,9 +1,10 @@
|
|
1
1
|
system = require('system');
|
2
2
|
|
3
|
+
#console.log system.args
|
3
4
|
# Set default values
|
4
5
|
options =
|
5
|
-
url: system.args[
|
6
|
-
timeout: parseInt(system.args
|
6
|
+
url: system.args[1] || 'http://localhost:3000/jasmine'
|
7
|
+
timeout: parseInt(system.args[2] || 10000)
|
7
8
|
|
8
9
|
# Create the web page.
|
9
10
|
page = require('webpage').create()
|
data/lib/guard/jasmine/runner.rb
CHANGED
@@ -92,14 +92,7 @@ module Guard
|
|
92
92
|
suite = jasmine_suite(file)
|
93
93
|
|
94
94
|
arguments = [
|
95
|
-
options[:timeout] * 1000
|
96
|
-
options[:specdoc],
|
97
|
-
options[:focus],
|
98
|
-
options[:console],
|
99
|
-
options[:errors],
|
100
|
-
options[:junit],
|
101
|
-
options[:junit_consolidate],
|
102
|
-
"'#{ options[:junit_save_path] }'"
|
95
|
+
options[:timeout] * 1000
|
103
96
|
]
|
104
97
|
cmd = "#{ phantomjs_command } \"#{ suite }\" #{ arguments.collect(&:to_s).join(' ')}"
|
105
98
|
puts cmd if options[:debug]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jasmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kessler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: 1.3.6
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: guard-jasmine
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.4.5
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Guard gem for headless testing with Jasmine
|