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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6622bd968e1bad1aabc41c2e77e1e77aee8e28ae
4
- data.tar.gz: be8c21777fe71eb5dd64974fdc0498de28a8d015
3
+ metadata.gz: a3fc97883e5cf1da03c4bfbede51d21bb06e3da1
4
+ data.tar.gz: 5d21cc5b84e3d5da9952910e570390606bfa8b91
5
5
  SHA512:
6
- metadata.gz: 1671526314feea432aedc5d52207f81d623d86f762d7c4faecc9360dc689680322a2182be8abc085d3a24ce412ea7a655581c5abd0de9f2f7d9669a09dd78a01
7
- data.tar.gz: 39d902776c2a9193de71f9e98d4d9c697c5d3d721d72cf196d41defc7a38d4e3c3201fd4ed98a9ec89b3bf03a2450267fdb6486004f6da4e3a243977cecebea3
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
- answer = nil
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
 
@@ -1,3 +1,3 @@
1
1
  module FerretsOnFire
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ferrets_on_fire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - phortx