ferrets_on_fire 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/lib/ferrets_on_fire/dsl/logger_dsl.rb +2 -8
- data/lib/ferrets_on_fire/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3fc97883e5cf1da03c4bfbede51d21bb06e3da1
|
4
|
+
data.tar.gz: 5d21cc5b84e3d5da9952910e570390606bfa8b91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5bc688545e14b40c041e10705202f2d3b21384c7179fd9c176dbf6588c4d3d7a7bb2c9935c1d87f7a0e5a01c5d633f4b22fb900280a00f217061f257db6cc4
|
7
|
+
data.tar.gz: 7c989ce9922ff16c78ec5271e558e31de5aeb153f88829d943696d725167231d66b479250fb795447897cc466d9f1462e1d4256035b790339bd2b97214860d8d
|
@@ -86,15 +86,9 @@ module FerretsOnFire::DSL::LoggerDSL
|
|
86
86
|
end
|
87
87
|
|
88
88
|
public def yes_no(msg, default = true)
|
89
|
-
|
90
|
-
|
91
|
-
until answer == '' || answer =~ /^(y|n)$/i
|
92
|
-
answer = get_prompt.yes?(log(msg, :question)) do |q|
|
93
|
-
q.default default
|
94
|
-
end
|
89
|
+
get_prompt.yes?(log(msg, :question)) do |q|
|
90
|
+
q.default default
|
95
91
|
end
|
96
|
-
|
97
|
-
answer
|
98
92
|
end
|
99
93
|
|
100
94
|
|