All Versions
43
Latest Version
Avg Release Cycle
325 days
Latest Release
-

Changelog History
Page 2

  • v1.1.2 Changes

    September 24, 2017

    ๐Ÿš€ released at 2017-09-24 07:28:48 UTC

    ๐Ÿ’Ž This version is only compatible with Ruby 2.4 and later.

    ๐Ÿ› Bug Fixes

    • Fixed a bug where did_you_mean shows duplicate suggestions when the exception is raised multiple times (#84, c2e4008)
  • 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 under 1.1.* will only be compatible with Ruby 2.4.0 and later as well. Versions under 1.0.* will still be maintained until Ruby 2.3 is deprecated. Any other versions below 1.0 will no longer be maintained.

    ๐Ÿ†• New Features

    • Suggest a method name on a NameError from the Struct#[] or Struct#[]= 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

    ๐Ÿš€ released at 2019-03-09 23:16:38 UTC

    ๐Ÿ› Bug fixes

    • Fixes a bug where name errors can not be dumped (#108, @jessebs)
    • Fixed a bug where DYM suggests the same class name in the error message (#102, @schneems)
  • v1.0.3 Changes

    September 24, 2017

    ๐Ÿš€ released at 2017-09-24 07:22:07 UTC

    ๐Ÿ’Ž This version is compatible with Ruby 2.3 and older

    ๐Ÿ› Bug Fixes

    • Fixed a bug where did_you_mean shows duplicate suggestions when the exception is raised multiple times (#84, c2e4008)
  • 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 of require 'did_you_mean/experimental'

    Internal Changes

    • โœ๏ธ Replaced the DidYouMean::SpellCheckable module with the DidYouMean::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.
  • 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

    ๐Ÿ› Bug Fixes

    • Fixed a bug where the Jaro-Winkler implementation returns the wrong distance when 2 identical strings are given. fixes #58

    Internal Changes

    • Slightly changed the spell checking algorithm. Take a look at e2f5b24 for more details. fixes #60
  • v1.0.0.rc1 Changes

    ๐Ÿš€ released at 2015-12-25 05:02:25 UTC

    Internal Changes

    • No longer uses TracePoint API by default. fixes #55 and #56
  • 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 in DidYouMean:: ClassNameChecker to know the namespace where the constant call is made
    • ๐Ÿ”จ Refactored the SpellCheckerTest