Releases: ruby/did_you_mean
Releases · ruby/did_you_mean
v1.0.0.beta3
Compare
Sorry, something went wrong.
No results found
yuki24
released this
25 Dec 04:56
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
v1.0.0.beta2
Compare
Sorry, something went wrong.
No results found
yuki24
released this
25 Dec 04:50
Bug Fixes
Fixed a bug where the gem doesn't install properly on Ruby 2.3.0dev
v1.0.0.beta1
Compare
Sorry, something went wrong.
No results found
yuki24
released this
25 Dec 05:27
Breaking Changes
Dropped support for MRIs older than 2.3, JRuby and Rubinus
Internal Changes
The C extension has been removed since the NameError#receiver method has become part of the MRI 2.3
The interception gem is no longer a dependency of this gem
Removed code that was needed to support multiple Ruby implementations
v0.10.0
Compare
Sorry, something went wrong.
No results found
yuki24
released this
21 Aug 06:44
Features
Now it corrects an instance variable name if the ivar name is mistyped and NoMethodError is raised:
@number = 1
@nubmer . zero?
# => NoMethodError: undefined method `zero?' for nil:NilClass
#
# Did you mean? @number
#
Support for JRuby 9.0.0.0
Prefix-based correction (@tjohn , #50 , #49 )
Correction search is about 75% faster than 0.9.10
Breaking Changes
The ActiveRecord integration has been removed
v0.9.10
Compare
Sorry, something went wrong.
No results found
yuki24
released this
14 May 03:04
Bug Fixes
Fixed a bug where a duplicate "did you mean?" message was appended each time #to_s is called (@danfinnie , #51 )
v0.9.9
Compare
Sorry, something went wrong.
No results found
yuki24
released this
13 May 03:48
Features
Order word suggestions based on Levenshtein distance (@tleish , #31 )
Internal Changes
Reduce memory allocation by about 40%
Speed up Levenshtein distance calculation by about 40%
The Java extension has been replaced with a pure JRuby implementation
v0.9.8
Compare
Sorry, something went wrong.
No results found
yuki24
released this
12 Apr 01:55
Internal Changes
Speed up Levenshtein by 50% and reduce 97% of memory usage
v0.9.7
Compare
Sorry, something went wrong.
No results found
yuki24
released this
02 Apr 04:20
Bug Fixes
Fixed an issue where did_you_mean doesn't install on JRuby properly.
v0.9.6
Compare
Sorry, something went wrong.
No results found
yuki24
released this
24 Jan 23:19
Bug Fixes
Fixed a bug where did_you_mean incorrectly suggests protected methods when it just isn't callable (@glittershark , #34 )
v0.9.5
Compare
Sorry, something went wrong.
No results found
yuki24
released this
07 Jan 12:41
Bug Fixes
Whitelist #safe_constantize method from ActiveSupport::Inflector to avoid significant performance slowdown (@tleish , #19 , #20 )