dynarex-levenshtein 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarexlevenshtein.rb +1 -1
  2. metadata +1 -1
@@ -47,7 +47,7 @@ class DynarexLevenshtein
47
47
  end
48
48
  end
49
49
 
50
- h = Hash[([:line, :label] + (0..n).map{|x| ("col%s" % x).to_sym}).zip([m.to_s, label[-1]] + current)]
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
53
  current[n]
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.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson