build_log_parser 0.1.2 → 0.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e463edec3b7d150221fffb7bbcb9bf699399376d
|
4
|
+
data.tar.gz: e45dc28cf52c686954d03d279d9963dad359a2ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e047dc2b80909f84d712d9b0a1cafacc9a3d982f8d9438fb579d8da08f46d88f35508ec5db5c5bfb08ef60a7e89bdc3fc545e282680b6b0fd8dbb1d5b6398d
|
7
|
+
data.tar.gz: 8ff89d1b8614ef3f24cf2561b848f227fb5b58438b2d1a0740b214bd2fa6be3f478fee1da7d8593a6748fe262152730844cdb70bcf1ae6cf81ad9574a14326a0
|
@@ -6,7 +6,8 @@ module BuildLogParser
|
|
6
6
|
/ran [\d]+ tests in (.*)\n?/i,
|
7
7
|
/time: (.*), memory:/i,
|
8
8
|
/[\d]+ passing (.*)/,
|
9
|
-
/executed [\d]+ of [\d]+ [\w]+ \(([\d\.]+ [\w]+) /i
|
9
|
+
/executed [\d]+ of [\d]+ [\w]+ \(([\d\.]+ [\w]+) /i,
|
10
|
+
/^[\d]+ tests run in ([\d\.]+)\s/
|
10
11
|
]
|
11
12
|
|
12
13
|
def fetch_duration(str)
|
data/spec/lib/parser_spec.rb
CHANGED
@@ -144,7 +144,8 @@ describe BuildLogParser::Parser do
|
|
144
144
|
[ "Finished tests in 8.071688s, 3.8406 tests/s, 9.4156 assertions/s.", 8.071688 ],
|
145
145
|
[ "Finished in 10.8 seconds (3.1s on load, 7.7s on tests)", 10.8 ],
|
146
146
|
[ "80 passing (347ms)", 0.347 ],
|
147
|
-
[ "JS 1.9.7 (Linux): Executed 202 of 202 SUCCESS (12.156 secs / 11.47 secs)", 12.156 ]
|
147
|
+
[ "JS 1.9.7 (Linux): Executed 202 of 202 SUCCESS (12.156 secs / 11.47 secs)", 12.156 ],
|
148
|
+
[ "23 tests run in 0.8 seconds (23 tests passed)", 0.8 ]
|
148
149
|
]
|
149
150
|
end
|
150
151
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: build_log_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|