dynarex-levenshtein 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dynarexlevenshtein.rb +1 -1
  2. metadata +1 -1
@@ -50,7 +50,7 @@ class DynarexLevenshtein
50
50
  h = Hash[([:line, :label] + (0..n).map{|x| ("col%s" % x).to_sym}).zip([(m+1).to_s, label[-1]] + current)]
51
51
  @to_dynarex.create h
52
52
 
53
- @to_dynarex.summary[:distance] = current[n]
53
+ @to_dynarex.summary[:distance] = current[n].to_s
54
54
  current[n]
55
55
  end
56
56
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex-levenshtein
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson