geoip-c 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/Rakefile +5 -5
- data/extconf.rb +3 -0
- metadata +7 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 91eed9251f7822fa17eb0cea5ebab05b6e51f57c
|
4
|
+
data.tar.gz: c7aa1ea30ea0f17ae49df12ae3bf6b54fec8f17d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 14e5521793aabd18dc0fa7c1a4b19a2b6b73a99060b2d23f5fc3c0dd6ab1ad68405a9dd02f552338aae3b49033f4cce4100ad19c81e374f7ac4056a90b7b277d
|
7
|
+
data.tar.gz: b0e6944f68b08ad9556692eb149a75c5386964e0f359442fbb799b5db240e8382cf64289d291584ede42aa0ec78f1e2acd1b528142001b7f65f1c324cf1cc5ac
|
data/README.md
CHANGED
@@ -101,7 +101,7 @@ Some variation of the following should work.
|
|
101
101
|
|
102
102
|
If you installed libgeoip using homebrew then put it in:
|
103
103
|
|
104
|
-
/
|
104
|
+
/usr/local/share/GeoIP/GeoLiteCity.dat
|
105
105
|
|
106
106
|
If you are a paying customer, you will download the files required below:
|
107
107
|
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/clean'
|
3
3
|
require 'rake/testtask'
|
4
|
-
require '
|
5
|
-
require '
|
4
|
+
require 'rdoc/task'
|
5
|
+
require 'rubygems/package_task'
|
6
6
|
|
7
7
|
task :default => [:compile, :test]
|
8
8
|
|
@@ -22,7 +22,7 @@ end
|
|
22
22
|
|
23
23
|
spec = Gem::Specification.new do |s|
|
24
24
|
s.name = 'geoip-c'
|
25
|
-
s.version = "0.8.
|
25
|
+
s.version = "0.8.2"
|
26
26
|
|
27
27
|
s.authors = ['Ryah Dahl', 'Matt Todd', 'Andy Lindeman']
|
28
28
|
s.email = ['alindeman@gmail.com', 'mtodd@highgroove.com']
|
@@ -37,7 +37,7 @@ spec = Gem::Specification.new do |s|
|
|
37
37
|
s.require_path = '.'
|
38
38
|
end
|
39
39
|
|
40
|
-
|
40
|
+
Gem::PackageTask.new(spec) do |p|
|
41
41
|
p.need_tar = true
|
42
42
|
p.gem_spec = spec
|
43
43
|
end
|
@@ -47,7 +47,7 @@ task(:compile => 'Makefile') { sh 'make' }
|
|
47
47
|
file('Makefile' => "geoip.c") { ruby 'extconf.rb' }
|
48
48
|
|
49
49
|
task :install => [:gem] do
|
50
|
-
`env ARCHFLAGS="-arch i386" gem install pkg/geoip-c-0.
|
50
|
+
`env ARCHFLAGS="-arch i386" gem install pkg/geoip-c-0.8.2.gem -- --with-geoip-dir=/usr/local/GeoIP`
|
51
51
|
end
|
52
52
|
|
53
53
|
task(:webpage) do
|
data/extconf.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoip-c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
5
|
-
prerelease:
|
4
|
+
version: 0.8.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ryah Dahl
|
@@ -11,7 +10,7 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2013-07-19 00:00:00.000000000 Z
|
15
14
|
dependencies: []
|
16
15
|
description: Generic GeoIP lookup tool. Based on the geoip_city RubyGem by Ryah Dahl
|
17
16
|
email:
|
@@ -29,27 +28,26 @@ files:
|
|
29
28
|
- README.md
|
30
29
|
homepage: http://github.com/mtodd/geoip
|
31
30
|
licenses: []
|
31
|
+
metadata: {}
|
32
32
|
post_install_message:
|
33
33
|
rdoc_options: []
|
34
34
|
require_paths:
|
35
35
|
- .
|
36
36
|
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
37
|
requirements:
|
39
|
-
- -
|
38
|
+
- - '>='
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: '0'
|
42
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
42
|
requirements:
|
45
|
-
- -
|
43
|
+
- - '>='
|
46
44
|
- !ruby/object:Gem::Version
|
47
45
|
version: '0'
|
48
46
|
requirements: []
|
49
47
|
rubyforge_project:
|
50
|
-
rubygems_version:
|
48
|
+
rubygems_version: 2.0.3
|
51
49
|
signing_key:
|
52
|
-
specification_version:
|
50
|
+
specification_version: 4
|
53
51
|
summary: A Binding to the GeoIP C library
|
54
52
|
test_files:
|
55
53
|
- test.rb
|