mtodd-geoip 0.5.1 → 0.5.2

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.
Files changed (4) hide show
  1. data/README.md +2 -2
  2. data/Rakefile +3 -3
  3. data/geoip.c +1 -0
  4. metadata +1 -1
data/README.md CHANGED
@@ -125,14 +125,14 @@ Hints
125
125
  Links
126
126
  -----
127
127
 
128
- This iteration of the library is based on the hard work of Ryan Dahl (ry@tinyclouds.org). You can find the original RDocs and Git Repo below:
128
+ This iteration of the library is based on the hard work of Ryah Dahl (ry@tinyclouds.org). You can find the original RDocs and Git Repo below:
129
129
 
130
130
  [rdocs](http://geoip-city.rubyforge.org/)
131
131
  [git repo](https://github.com/ry/geoip-city/tree)
132
132
 
133
133
  License
134
134
  -------
135
- Copyright (C) 2007--2009 Ryan Dahl (ry@tinyclouds.org), Matt Todd (mtodd@highgroove.com)
135
+ Copyright (C) 2007--2009 Ryah Dahl (ry@tinyclouds.org), Matt Todd (mtodd@highgroove.com)
136
136
 
137
137
  This program is free software. It comes without any warranty, to
138
138
  the extent permitted by applicable law. You can redistribute it
data/Rakefile CHANGED
@@ -22,13 +22,13 @@ end
22
22
 
23
23
  spec = Gem::Specification.new do |s|
24
24
  s.name = 'geoip'
25
- s.version = "0.5.1"
25
+ s.version = "0.5.2"
26
26
 
27
- s.authors = ['Ryan Dahl', 'Matt Todd', 'Charles Brian Quinn']
27
+ s.authors = ['Ryah Dahl', 'Matt Todd', 'Charles Brian Quinn']
28
28
  s.email = 'mtodd@highgroove.com'
29
29
 
30
30
  s.summary = "A Binding to the GeoIP C library"
31
- s.description = 'Generic GeoIP lookup tool. Based on the geoip_city RubyGem by Ryan Dahl'
31
+ s.description = 'Generic GeoIP lookup tool. Based on the geoip_city RubyGem by Ryah Dahl'
32
32
  s.homepage = "http://github.com/mtodd/geoip"
33
33
 
34
34
  s.files = ["Rakefile", "extconf.rb", "test.rb", "geoip.c", "README.md"]
data/geoip.c CHANGED
@@ -161,6 +161,7 @@ VALUE rb_geoip_org_look_up(VALUE self, VALUE addr) {
161
161
  Data_Get_Struct(self, GeoIP, gi);
162
162
  if(name = GeoIP_name_by_addr(gi, STR2CSTR(addr))) {
163
163
  rb_hash_sset(hash, "name", rb_str_new2(name));
164
+ free(name);
164
165
  }
165
166
  return hash;
166
167
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtodd-geoip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Dahl