find_reps 0.1.0 → 0.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: 2dc1fac08b030da8a601212e27127c1c7fb2f3d05424dd3d61ee01cebd06ba4e
4
- data.tar.gz: 64ce3219729e0b84c55a2eaebd7fe9a4944393a71354b12750f60a44276b05cb
3
+ metadata.gz: 8ea34aedaed45c9db2530f50823c12af9df0431925de9b970e4a09d6f87ba4da
4
+ data.tar.gz: 8a50615f52dd0746467e3b4dce81d00b15735616995076979d8db60165bbf6b5
5
5
  SHA512:
6
- metadata.gz: 16cc702c71968bf1f4f55177879ba1b97d16c7f7e237a8e2e71918a7ec0103031c4adb2492030ead2117d067f21c9400adef2ef74fa10730e44034e6c8b71acc
7
- data.tar.gz: 66a02af5a4fb2d515370bec4bf1cc9890acb4a5e9a3a3325261fd7cb3741ce73904088a669264def7f642c8d49b5cd7cfbb7c55b1100e819bc59aaa0cb4401ef
6
+ metadata.gz: a43ee76b5ae4d89f5af5632e6995a579129cd8099a7ff7aa09b8962f5b6caedcf773b7098aff5d5b08ae0671515a91e4bcda24c28937708e7b201b971113bbdf
7
+ data.tar.gz: d6068bb15f51c3ba4903db7afde6247a8ebb0945a450b9adfef6a0b1a83ae011c671c5201e3892ae9004457599ca1a29ec82cf84d2eb02b9761c122fcc9b6288
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- find_reps (0.1.0)
4
+ find_reps (0.1.1)
5
5
  faraday (~> 0.15.4)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module FindReps
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/find_reps.rb CHANGED
@@ -17,7 +17,7 @@ module FindReps
17
17
  end
18
18
 
19
19
  def by_zipcode(zipcode)
20
- if zipcode.nil? || zipcode.empty?
20
+ if zipcode.nil? || zipcode.to_s.empty?
21
21
  raise Error, "must provide a zipcode"
22
22
  end
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: find_reps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Watts