dotpretty 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dotpretty +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 262572e2be104b2392904cb389234b3a2d43e078ed3975b35ce2e1a6379e2f8f
|
4
|
+
data.tar.gz: cc76e02e23dc4dec0ebffbd3155e42ea3bf1860016d2f7797e57bb693e64fbac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 481221179696183d8658ee818ef71c4dac487abf2085d00d688e4e8716ddddf8d0eb14ec7c21b200fa37cfe0c71f5cdba5091b560aae8036014b9fc28cee1f32
|
7
|
+
data.tar.gz: 45cb0317b6e84ef8e0496366f685a8d9776826af585b9555f80761eb48d18b4e712f87b29d38b8ef184b9bb5776fb158a39e84da1e6c71738b5e62e3dff05692
|
data/bin/dotpretty
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require "dotpretty/colorers/bash"
|
3
4
|
require "dotpretty/colorers/null"
|
4
5
|
require "dotpretty/reporters/names"
|
5
6
|
require "dotpretty/runner"
|
@@ -32,8 +33,9 @@ OptionParser.new do |opts|
|
|
32
33
|
|
33
34
|
end.parse!
|
34
35
|
|
36
|
+
colorer = options[:color] ? Dotpretty::Colorers::Bash : Dotpretty::Colorers::Null
|
35
37
|
runner = Dotpretty::Runner.new({
|
36
|
-
colorer:
|
38
|
+
colorer: colorer,
|
37
39
|
output: STDOUT,
|
38
40
|
reporter_name: options[:reporter_name]
|
39
41
|
})
|