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: 763d21a4426de0e667ffd91aee3b7bd025ed9745
4
- data.tar.gz: 46b1d21283a6f73d438efdc45f8d38ee2ba51c67
3
+ metadata.gz: 0b47f780781cf1e46672308491cd8ec931f06b80
4
+ data.tar.gz: c863d744e53d2fa85062dcb2c5837a443943f333
5
5
  SHA512:
6
- metadata.gz: 3d7328a6b6d419b886f9bb5bff2768f03ef25d7d8e3ab6d0b815240d66fbec73f7a73a65fbbb5e1f2ce7d101ffa9bc3b59982d0230c33dc8a97cb33caeeb7a84
7
- data.tar.gz: a5237968c18a8cc8e918c41a843cd4ca2cc9413712add34ed150e4c2da6bfc7b9ed7b03ec1b9f660400cce6b3754cfe59e59dedafabc8c5646bdb59c92c2423a
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[0] || 'http://localhost:3000/jasmine',
8
- timeout: parseInt(system.args.args[1] || 10000)
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[0] || 'http://localhost:3000/jasmine'
6
- timeout: parseInt(system.args.args[1] || 10000)
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()
@@ -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]
@@ -1,6 +1,6 @@
1
1
  module Guard
2
2
  module JasmineVersion
3
3
  # Guard::Jasmine version that is used for the Gem specification
4
- VERSION = '2.0.4'
4
+ VERSION = '2.0.5'
5
5
  end
6
6
  end
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
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-09 00:00:00.000000000 Z
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.2.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