guard-rspec 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/rspec/runner.rb +2 -2
- data/lib/guard/rspec/version.rb +1 -1
- metadata +3 -3
data/lib/guard/rspec/runner.rb
CHANGED
@@ -79,8 +79,8 @@ module Guard
|
|
79
79
|
def rspec_arguments(paths, options)
|
80
80
|
arg_parts = []
|
81
81
|
arg_parts << options[:cli]
|
82
|
-
arg_parts << parsed_or_default_formatter unless options[:cli] =~ formatter_regex
|
83
82
|
if @options[:notification]
|
83
|
+
arg_parts << parsed_or_default_formatter unless options[:cli] =~ formatter_regex
|
84
84
|
arg_parts << "-r #{File.dirname(__FILE__)}/formatters/notification_#{rspec_class.downcase}.rb"
|
85
85
|
arg_parts << "-f Guard::RSpec::Formatter::Notification#{rspec_class}#{rspec_version == 1 ? ":" : " --out "}/dev/null"
|
86
86
|
end
|
@@ -211,7 +211,7 @@ module Guard
|
|
211
211
|
end
|
212
212
|
|
213
213
|
def formatter_regex
|
214
|
-
@formatter_regex ||= /(?:^|\s)(?:-f\s*|--format(?:=|\s+))(\w+)/
|
214
|
+
@formatter_regex ||= /(?:^|\s)(?:-f\s*|--format(?:=|\s+))([\w:]+)/
|
215
215
|
end
|
216
216
|
|
217
217
|
end
|
data/lib/guard/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
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-05-
|
12
|
+
date: 2012-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
segments:
|
92
92
|
- 0
|
93
|
-
hash:
|
93
|
+
hash: 2758707615079014233
|
94
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|