Library to calculate jaro-winkler distance with two strings.
Add this line to your application's Gemfile:
gem 'jarowinkler_rb', :git => "https://github.com/tkyshm/jarowinkler_rb.git"
require 'jarowinkler_rb'
result = JarowinklerRb::comp(str1, str2)
The gem is available as open source under the terms of the MIT License.