phonetics 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f2be3c1987040125914d8a028218b495e6cd8c4c004820b4f9ffbcc9995eb8
4
- data.tar.gz: 9b787ce78e582bfff9f515ab42b1f2d43de2b4224cb5d1a31831ddc8d1b5a672
3
+ metadata.gz: 4f22d59eeac1a815334ed3a8db927b8c633c01842852ed4f67b8aa8f43c940af
4
+ data.tar.gz: f817c969d0ec881023b98d200999ca49bc9b4928e60a593d851c13566693c863
5
5
  SHA512:
6
- metadata.gz: 4cd0298205c7e28785cdee86b95233ff9547317f4aa1bdee33f9fc3ca93fae636a6f1caf2b7a25061c02cf553aca9142d059f2eae19cb20ffb22b34ac3c2679e
7
- data.tar.gz: e25d349bb3b6430f0b5001902ec9613974d60d880ccf85af4abb3ba191c73e7fb1edb3fd8c1b8af9cec39173d707a51c71d00a375de88490d7fd01092e402795
6
+ metadata.gz: f242175dbcedb2f5ff8d5ebe3fe6a9fb6765c4460ad86eedbaabb6d1af3ec379b5cd5f1d1389c4d01e6fd486754d4d14af70c27a1f55d2b71571a2aaf00253e7
7
+ data.tar.gz: 5d7c3c165f0079cc43e4bab2b138726e94177eeed66f6d5d41a9e607531b3318eb5de266d972f2847d70d23388afde2876f54d8e218be5ea97cc17ce6ca35e7c
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ .ruby-version
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- phonetics (1.0.0)
4
+ phonetics (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -22,6 +22,7 @@ module Phonetics
22
22
  end
23
23
 
24
24
  def distance
25
+ return 0 if walk.empty?
25
26
  walk.last[:distance]
26
27
  end
27
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phonetics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Danger