pipl-api 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee84b5c43a1fa477a8fb25be47bd90c3e767b539
4
- data.tar.gz: 0840470db0a882c3a659cc05ba11152bacc97141
3
+ metadata.gz: eeb8c8203cf7d8da0d089a171ac580749bcbf978
4
+ data.tar.gz: c06a5ad97cf3e4ba1aaa283253840028f74ae61d
5
5
  SHA512:
6
- metadata.gz: 51d274bbb869500305b5c234c3e9512afbcc9b321663210b7061c36043d1a4281dba2d0302660d7521ce09f8cd2fe39e4d7fdc090114ea1f08877f1d574708fe
7
- data.tar.gz: a1e11a833c87ee7f0ffd1c64a219e50285f6616ed5966fb311c1a8f74fb25344494f8ad0dd60476ba6567ead259dbf7723954d44cafaac95b0007a6e25418bca
6
+ metadata.gz: 699d9161c3410a041f9c11833ac5242330fe6f7cb7aa02942f39b0a844ea58b9cd955a1250bcd2bce21528757dd6378557e68e0d21b08f14e6e7b7c68c1b6757
7
+ data.tar.gz: 658675e47ef979576f64748de7f6a6b8c0909ece46bdc9d0217cb4a2dd3b2c71380618bf9da108569be01f4f5a8f207958273418852dd4b8c73fd908d064c116
@@ -7,7 +7,7 @@ module Pipl
7
7
 
8
8
  def initialize(location)
9
9
  @code = location["country"]
10
- if location["display"].include?(",")
10
+ if location["display"] && location["display"].include?(",")
11
11
  @state = location["display"].split(", ").first
12
12
  @country = location["display"].split(", ").last
13
13
  else
@@ -1,5 +1,5 @@
1
1
  module Pipl
2
2
  module API
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipl-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene