RubyGems
npm
Organizations
Log in
Sign up
RubyGems
checkforiceland
Versions diffs
0.0.0 → 0.0.1
checkforiceland 0.0.0 → 0.0.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/checkforiceland.rb
+3
-0
metadata
+1
-1
data/lib/checkforiceland.rb
CHANGED
Viewed
@@ -1,3 +1,6 @@
1
+
require 'socket'
2
+
require 'ipaddr'
3
+
1
4
class CheckForIceland
2
5
def is_icelandic?(address)
3
6
address = IPAddr.new(address) unless address.class == IPAddr
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: checkforiceland
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
0
4
+
version: 0.0.
1
5
5
prerelease:
6
6
platform: ruby
7
7
authors: