guard-jasmine 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,6 +69,11 @@ module Guard
69
69
  :default => 'failure',
70
70
  :desc => 'Whether to show errors in the spec runner, either `always`, `never` or `failure`'
71
71
 
72
+ method_option :specdoc,
73
+ :type => :string,
74
+ :default => :always,
75
+ :desc => 'Whether to show successes in the spec runner, either `always`, `never` or `failure`'
76
+
72
77
  method_option :server_env,
73
78
  :type => :string,
74
79
  :aliases => '-e',
@@ -98,6 +103,7 @@ module Guard
98
103
  runner[:spec_dir] = options.spec_dir
99
104
  runner[:console] = [:always, :never, :failure].include?(options.console.to_sym) ? options.console.to_sym : :failure
100
105
  runner[:errors] = [:always, :never, :failure].include?(options.errors.to_sym) ? options.errors.to_sym : :failure
106
+ runner[:specdoc] = [:always, :never, :failure].include?(options.specdoc.to_sym) ? options.specdoc.to_sym : :always
101
107
  runner[:server] = options.server.to_sym
102
108
  runner[:focus] = options.focus
103
109
 
@@ -106,7 +112,6 @@ module Guard
106
112
  runner[:hide_success] = true
107
113
 
108
114
  runner[:max_error_notify] = 0
109
- runner[:specdoc] = :always
110
115
 
111
116
  if CLI.phantomjs_bin_valid?(runner[:phantomjs_bin])
112
117
  ::Guard::Jasmine::Server.start(runner[:server], runner[:port], runner[:server_env], runner[:spec_dir]) unless runner[:server] == :none
@@ -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.6.0'
4
+ VERSION = '1.6.1'
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.6.0
4
+ version: 1.6.1
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-08-02 00:00:00.000000000 Z
12
+ date: 2012-08-03 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: 2328036237654235336
141
+ hash: -1426917572557703361
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements: