Changelog History
Page 2
-
v1.1.2 Changes
September 24, 2017 -
v1.1.1 Changes
September 24, 2017๐ released at 2017-09-24 07:24:02 UTC
๐ This version has been yanked from Rubygems.org and is not available.
-
v1.1.0 Changes
๐ released at 2016-12-19 23:19:06 UTC
๐ The version
1.1.0
only has support for Ruby 2.4.0 and later. Also, all patch releases under1.1.*
will only be compatible with Ruby 2.4.0 and later as well. Versions under1.0.*
will still be maintained until Ruby 2.3 is deprecated. Any other versions below1.0
will no longer be maintained.๐ New Features
Suggest a method name on a NameError from the
Struct#[]
orStruct#[]=
method (#73):Struct.new(:foo).new[:fooo] # => NameError: no member 'fooo' in struct # Did you mean? foo # foo=
โ Added a public interface for the gem's spell checker:
DidYouMean::SpellChecker.new(dictionary: ['email', 'fail', 'eval']).correct('meail') # => ['email']
0๏ธโฃ Methods defined on
nil
by default are no longer suggested. Note that methods, defined after the gem is loaded, will still be suggested (e.g. ActiveSupport).
๐ Bug Fixes
- ๐ Fixed a bug where private method names were added to the dictionary when an argument was passed in to a public method. Use the
NoMethodError#private_call?
method instead (0a1b761)
-
v1.0.4 Changes
March 09, 2019 -
v1.0.3 Changes
September 24, 2017 -
v1.0.2 Changes
๐ released at 2016-11-20 18:03:07 UTC
๐ This version is compatible with Ruby 2.3 and older
๐ Features
- Experimental features are officially available through
require 'did_you_mean/experimental'
๐ Deprecations
require 'did_you_mean/extra_features'
is now deprecated in favor ofrequire 'did_you_mean/experimental'
Internal Changes
- โ๏ธ Replaced the
DidYouMean::SpellCheckable
module with theDidYouMean::SpellChecker
class. This is a slower implementation but close to the model explained in this talk, more reusable and possibly makes it easier to expose the class as a public interface.
- Experimental features are officially available through
-
v1.0.1 Changes
๐ released at 2016-05-15 05:17:22 UTC
๐ Bug Fixes
- Fixed a bug where the gem suggests what is actually typed by the user: 1c52c88
- Fixed features that didn't work on JRuby 9.1.0.0: dc48dde, 4de23f8, 00e3059. The local variable name correction is still disabled. Also see: jruby/jruby#3480
-
v1.0.0 Changes
๐ released at 2015-12-25 05:13:04 UTC
๐ Features
- Introduced a verbose formatter
- Introduced an easy way to enabling experimental features
๐ Bug Fixes
- Fixed a bug where the Jaro-Winkler implementation returns the wrong distance when 2 identical strings are given. fixes #58
Internal Changes
-
v1.0.0.beta3 Changes
๐ released at 2015-12-25 04:56:13 UTC
Internal Changes
- ๐ Use the
frozen-string-literal
pragma rather than calling.freeze
everywhere - ๐ Use the
NameError#receiver
method inDidYouMean:: ClassNameChecker
to know the namespace where the constant call is made - ๐จ Refactored the
SpellCheckerTest
- ๐ Use the