data_science_theater_3000 0.0.3.2 → 0.0.3.3

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.
@@ -1,3 +1,3 @@
1
1
  module DataScienceTheater3000
2
- VERSION = "0.0.3.2"
2
+ VERSION = "0.0.3.3"
3
3
  end
@@ -3,13 +3,9 @@ require "data_science_theater_3000/version"
3
3
 
4
4
  module DataScienceTheater3000
5
5
  # Converts an ip address into a location hash
6
- # (key is ip string)
7
6
  #
8
- # == Parameters
9
- # format::
10
- # A String specifying the ip address to be located.
11
- # == Returns:
12
- # A Hash, key is the ip string passed in as parameter, value is a hash of location information.
7
+ # @param [String] ip the ip address to be located.
8
+ # @return [Hash] key is the ip string passed in as parameter, value is a hash of location information.
13
9
  def self.ip2coordinates ip
14
10
  url = "http://www.datasciencetoolkit.org"
15
11
  response = Curl::Easy.perform( url + "/ip2coordinates/" + ip ).body_str
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_science_theater_3000
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.2
4
+ version: 0.0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: curb
16
- requirement: &16226120 !ruby/object:Gem::Requirement
16
+ requirement: &17514820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16226120
24
+ version_requirements: *17514820
25
25
  description: Ruby interface to issue Data Science Toolkit API calls.
26
26
  email:
27
27
  - tad@isotope11.com