guard-jasmine 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,12 @@ module Guard
22
22
 
23
23
  desc 'spec', 'Run the Jasmine spec runner'
24
24
 
25
+ method_option :focus,
26
+ :type => :boolean,
27
+ :aliases => '-f',
28
+ :default => true,
29
+ :desc => 'Specdoc focus to hide successful tests when at least one test fails'
30
+
25
31
  method_option :server,
26
32
  :type => :string,
27
33
  :aliases => '-s',
@@ -93,9 +99,12 @@ module Guard
93
99
  runner[:console] = [:always, :never, :failure].include?(options.console.to_sym) ? options.console.to_sym : :failure
94
100
  runner[:errors] = [:always, :never, :failure].include?(options.errors.to_sym) ? options.errors.to_sym : :failure
95
101
  runner[:server] = options.server.to_sym
102
+ runner[:focus] = options.focus
103
+
96
104
 
97
105
  runner[:notification] = false
98
106
  runner[:hide_success] = true
107
+
99
108
  runner[:max_error_notify] = 0
100
109
  runner[:specdoc] = :always
101
110
 
@@ -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 = '1.5.1'
4
+ VERSION = '1.6.0'
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: 1.5.1
4
+ version: 1.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-19 00:00:00.000000000 Z
12
+ date: 2012-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: 249333982593955471
141
+ hash: 2328036237654235336
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements: