summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuki <yuki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-22 17:30:22 +0000
committeryuki <yuki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-22 17:30:22 +0000
commit03cc02c9ab8ac0a20df044b8f8be03a0aca553eb (patch)
tree1b3cb068d9d8cbe7992a9f3ab94d9ada86acd548
parente6be17c74a42033e3f685456a0ab195e77620b8f (diff)
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
* NEWS: Add news about the did_you_mean gem git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--NEWS10
-rw-r--r--gems/bundled_gems2
3 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b23cf0046..ba67d83285 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec 23 02:23:19 2015 Yuki Nishijima <mail@yukinishijima.net>
+
+ * gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
+
+ * NEWS: Add news about the did_you_mean gem
+
Wed Dec 23 02:18:57 2015 Jake Worth <jakeworth82@gmail.com>
* doc/contributing.rdoc: [DOC] remove an extra word "here".
diff --git a/NEWS b/NEWS
index 396b83b5ff..d90f1c4377 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,16 @@ with all sufficient information, see the ChangeLog file.
obj&.attr += 1
[Feature #11537]
+* the did_you_mean gem:
+
+ * When a NameError or NoMethodError occurs because of a typo in the name,
+ the did_you_mean gem automatically suggests other names similar to the
+ method name.
+
+ "Yuki".starts_with?("Y")
+ # => NoMethodError: undefined method `starts_with?' for "Yuki":String
+ # Did you mean? start_with?
+
* indented here document:
* new string literal, here document starts with `<<~`.
diff --git a/gems/bundled_gems b/gems/bundled_gems
index 354e591473..9127445fb4 100644
--- a/gems/bundled_gems
+++ b/gems/bundled_gems
@@ -3,4 +3,4 @@ test-unit 3.1.5
minitest 5.8.3
rake 10.4.2
net-telnet 0.1.1
-did_you_mean 1.0.0.rc1
+did_you_mean 1.0.0