toys-core 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 95766b26892b0fab477c7f05a8eddf8aa0f30a9e98075b41881791ca1d446389
4
- data.tar.gz: 03af27a0411ed093f1b0b27edb4aafd2562cc3b92f9176dfdd10e26be090d8f0
3
+ metadata.gz: fc309cbbf273bc8b6bc6785be154812412177cef293f809536509365fc9596d0
4
+ data.tar.gz: ff8eeab3686c33c1032ea9ce473701f6214d4a319ed1a0c724699537b8933be4
5
5
  SHA512:
6
- metadata.gz: dc6e36460d0849a153a4fe8ac376bfc120f93e19f2931bfc892dbf0fda67af82e4aa0bd73c138e9950c5559fca8cc1bc6f056195bdaad5f935e7203a48cf3411
7
- data.tar.gz: 458da8a2896163512994018fbce12ee6392ae69e63383b232d9c86577bdd02a5069bbbda52c79786d7d2e09f880ccea7bca2b0845979ef12c73a545a68303c28
6
+ metadata.gz: 590d56a355b406eb998eec466fb73a34e2fb09301e7387d0fd197d599bfb29a58496220a5a8bba1a75300c05d136f9dc89409debe9e401f4f01e81c590fae5af
7
+ data.tar.gz: 6fade3e0622fb8f5877a9b759fda60132a2cd6f70c9d7a268e3167e38035319e58b064b5cb511f1d35c09d62bd64a6aaa140014b2077c59dfd00893083716cea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History
2
2
 
3
+ ### 0.4.1 / 2018-07-03
4
+
5
+ * FIXED: Terminal#confirm uppercased "N" for the wrong default.
6
+
3
7
  ### 0.4.0 / 2018-07-03
4
8
 
5
9
  Now declaring this alpha quality. Backward-incompatible changes are still
@@ -34,5 +34,5 @@ module Toys
34
34
  # Current version of Toys core
35
35
  # @return [String]
36
36
  #
37
- CORE_VERSION = "0.4.0"
37
+ CORE_VERSION = "0.4.1"
38
38
  end
@@ -219,7 +219,7 @@ module Toys
219
219
  #
220
220
  def confirm(prompt = "Proceed?", default: nil)
221
221
  y = default == true ? "Y" : "y"
222
- n = default == false ? "n" : "N"
222
+ n = default == false ? "N" : "n"
223
223
  write("#{prompt} (#{y}/#{n}) ")
224
224
  resp = input.gets
225
225
  case resp
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toys-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma