vagrant-cucumber 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/vagrant-cucumber/cucumber/formatter/html.rb +8 -2
- data/lib/vagrant-cucumber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 823461ef81f4d293a037626bd7ba7adbbff889dd
|
4
|
+
data.tar.gz: a654618e8f45dd8d67488b9735777d31a93f795d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d14130cbdabdef34cd2df733aeed829a7942610b5ec2bebaf84c6cc8378374811872b7f68e500c39a9cfeaaa106642a4d5334d48bf909d8d0461f78b7329c3b
|
7
|
+
data.tar.gz: f3845386ecc22e39144758b0ba02dab4f99a084e17a56c31a32b428c1a85cd9d5c2a2b635f3d7abd2656f5c5d9df477ba981d004315bd577114d762e30bbf3bd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
require 'cucumber/formatter/html'
|
2
2
|
|
3
|
+
ANSI_PATTERN = /\e\[(\d+)?(;\d+)?m/
|
4
|
+
|
5
|
+
def remove_ansi(string=nil)
|
6
|
+
string.gsub(ANSI_PATTERN, '')
|
7
|
+
end
|
8
|
+
|
3
9
|
module VagrantPlugins
|
4
10
|
|
5
11
|
module Cucumber
|
@@ -10,10 +16,10 @@ module VagrantPlugins
|
|
10
16
|
|
11
17
|
def puts(message)
|
12
18
|
# TODO Strip ansi escape codes
|
13
|
-
@delayed_messages << message
|
19
|
+
@delayed_messages << remove_ansi(message)
|
14
20
|
end
|
15
21
|
|
16
|
-
end
|
22
|
+
end
|
17
23
|
|
18
24
|
end
|
19
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|