ipcat_jruby 0.2-java → 0.2.1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ipcat.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c24ce1e64fd4cb9f6a013c4987c5a3964c468c1c
4
- data.tar.gz: 569bea414a7aca790bcd7bf1aa389c0ab236644b
3
+ metadata.gz: 6dfd1902a4ef2f6d4ac125e429f95031c113f62b
4
+ data.tar.gz: b0963164e8f6dc502a9807d53700991b60a27c37
5
5
  SHA512:
6
- metadata.gz: 8760c449e9c9b58b1410eb3efad636baff25109d07e6ef1fb07507c0d98e3455f36ca27d65efcd00a9a596ddfba0d4632bb23da17f473d6c052d9bd20f34989d
7
- data.tar.gz: 74da4f55dabd9f363d0322da12646ab5d7f799fe69023ad3efb5116d30c81a2823ca167bc2c9297dba3e2ac09ef9ccc3824131580ed45684d6550afd288320c2
6
+ metadata.gz: 15c793b81a803aa72dae340334e3142557e3a1ebbde22b490648a2f4353f43d315fb7e0753beaa1cd7095c6f60d32721a26e2b2ff9b4659c126ef831e3076dea
7
+ data.tar.gz: 78eb7533fc75e6e3036e11af41b4381dbb523182621c0c8536b88ed15f7efb5b2cffccfa50fb9b0cb4c40fc4b3cc1c822acd441d6834dd5f835513afaec59a03
data/lib/ipcat.rb CHANGED
@@ -17,6 +17,7 @@ module IPCat
17
17
  end
18
18
 
19
19
  def find(ipstring)
20
+ return nil if ipstring.nil?
20
21
  n = @blocks.find(org.ipcat.IP.parseIp(ipstring))
21
22
  return @urls[n] unless n == -1
22
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipcat_jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: java
6
6
  authors:
7
7
  - Mathieu Lecarme