mvn2 2.6.10 → 2.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/mvn2/plugin/filter.plugin.rb +6 -0
- data/lib/mvn2/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf526b89d41a6a2591501c12887945b3251f6ac
|
4
|
+
data.tar.gz: b981fca3f98835f318f38f0dcdecf555763d7486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e7612db108b70a808e8cf1cf397f3ab0247ef455e474d0e28fb3ebc261347021458b30504c1e8ed5cca1116625ca0a944eafb6f68fa2ca39de0c84958c4b2fc
|
7
|
+
data.tar.gz: f3bc6e1ef5b4166d9f0407b3917a2cdbb285d868be5b4bd7cf53c497f5a7c7fc13da227e3b63eedb51185e78d03e24b0e4bdd532cbbf24f7fa2a8c2d72651575
|
data/Gemfile.lock
CHANGED
@@ -9,9 +9,9 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
everyday-cli-utils (1.8.6)
|
12
|
-
everyday-plugins (1.2.
|
13
|
-
everyday-cli-utils (~> 1.
|
14
|
-
rake (10.
|
12
|
+
everyday-plugins (1.2.1)
|
13
|
+
everyday-cli-utils (~> 1.8, >= 1.8.6)
|
14
|
+
rake (10.5.0)
|
15
15
|
|
16
16
|
PLATFORMS
|
17
17
|
ruby
|
@@ -17,6 +17,7 @@ class FilterPlugin
|
|
17
17
|
def self.def_vars
|
18
18
|
register_variable :info_line_last, false
|
19
19
|
register_variable :found, false
|
20
|
+
register_variable :failures, 0
|
20
21
|
end
|
21
22
|
|
22
23
|
def_vars
|
@@ -82,6 +83,11 @@ class FilterPlugin
|
|
82
83
|
if options[:hide_between] && found && line.start_with?('Tests run:')
|
83
84
|
str = line << "\n\n"
|
84
85
|
Plugins.set_vars found: false, info_line_last: false
|
86
|
+
if line =~ /^.*Failures:\s+(\d+),.*$/
|
87
|
+
Plugins.set_var :failures, $1.to_i
|
88
|
+
else
|
89
|
+
Plugins.set_var :failures, nil
|
90
|
+
end
|
85
91
|
str
|
86
92
|
else
|
87
93
|
nil
|
data/lib/mvn2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mvn2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Henderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -134,4 +134,3 @@ signing_key:
|
|
134
134
|
specification_version: 4
|
135
135
|
summary: Maven helper
|
136
136
|
test_files: []
|
137
|
-
has_rdoc:
|