geoipdb 0.5.2 → 0.5.5

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 (3) hide show
  1. data/geoipdb.gemspec +10 -1
  2. data/lib/geoipdb.jar +0 -0
  3. metadata +37 -26
data/geoipdb.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "geoipdb"
5
- gem.version = "0.5.2"
5
+ gem.version = "0.5.5"
6
6
  gem.licenses = ["MIT"]
7
7
 
8
8
  gem.authors = ["Eugen Martin", "Martin Karlsch", "Thomas Hirsch", "Benedikt Böhm"]
@@ -16,4 +16,13 @@ Gem::Specification.new do |gem|
16
16
  gem.files = `git ls-files`.split("\n")
17
17
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  gem.require_paths = ["lib", "ext"]
19
+
20
+ if RUBY_PLATFORM =~ /java/
21
+ gem.platform = "java"
22
+ gem.files << "lib/geoipdb.jar"
23
+ else
24
+ gem.extensions = ["ext/geoipdb/extconf.rb"]
25
+ end
26
+
27
+ gem.add_development_dependency "rake-compiler"
19
28
  end
data/lib/geoipdb.jar CHANGED
Binary file
metadata CHANGED
@@ -1,34 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoipdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
5
- prerelease:
4
+ version: 0.5.5
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eugen Martin
9
9
  - Martin Karlsch
10
10
  - Thomas Hirsch
11
11
  - Benedikt Böhm
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-01-10 00:00:00.000000000 Z
16
- dependencies: []
17
- description: Returns a GeoLocation and additional information for given IP. Reads Data from CSV-Files and uses internal binary caching.
15
+ date: 2013-01-17 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: rake-compiler
19
+ requirement: &70164140517280 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ! '>='
23
+ - !ruby/object:Gem::Version
24
+ version: '0'
25
+ type: :development
26
+ prerelease: false
27
+ version_requirements: *70164140517280
28
+ description: Returns a GeoLocation and additional information for given IP. Reads
29
+ Data from CSV-Files and uses internal binary caching.
18
30
  email:
19
31
  - eugeniusmartinus@googlemail.com
20
32
  - martin.karlsch@madvertise.com
21
33
  - thomas.hirsch@madvertise.com
22
34
  - benedikt.boehm@madvertise.com
23
35
  executables: []
24
- extensions: []
36
+ extensions:
37
+ - ext/geoipdb/extconf.rb
25
38
  extra_rdoc_files: []
26
39
  files:
27
- - ".document"
28
- - ".gitignore"
29
- - ".jrubyrc"
30
- - ".rspec"
31
- - ".rvmrc"
40
+ - .document
41
+ - .gitignore
42
+ - .jrubyrc
43
+ - .rspec
44
+ - .rvmrc
32
45
  - Gemfile
33
46
  - LICENSE.txt
34
47
  - README.markdown
@@ -58,35 +71,33 @@ files:
58
71
  homepage: http://github.com/madvertise/geoipdb
59
72
  licenses:
60
73
  - MIT
61
- post_install_message:
74
+ post_install_message:
62
75
  rdoc_options: []
63
76
  require_paths:
64
77
  - lib
65
78
  - ext
66
79
  required_ruby_version: !ruby/object:Gem::Requirement
80
+ none: false
67
81
  requirements:
68
- - - ">="
82
+ - - ! '>='
69
83
  - !ruby/object:Gem::Version
84
+ version: '0'
70
85
  segments:
71
86
  - 0
72
- version: !binary |-
73
- MA==
74
- hash: 2
75
- none: false
87
+ hash: -2066128621521199120
76
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
+ none: false
77
90
  requirements:
78
- - - ">="
91
+ - - ! '>='
79
92
  - !ruby/object:Gem::Version
80
- version: !binary |-
81
- MA==
82
- none: false
93
+ version: '0'
83
94
  requirements: []
84
- rubyforge_project:
85
- rubygems_version: 1.8.24
86
- signing_key:
95
+ rubyforge_project:
96
+ rubygems_version: 1.8.17
97
+ signing_key:
87
98
  specification_version: 3
88
99
  summary: Fast (>3 Mio queries/sec!!!) GeoIpDb implementation for Ruby using C-Extensions.
89
100
  test_files:
90
101
  - spec/geoipdb_spec.rb
91
102
  - spec/spec_helper.rb
92
- has_rdoc:
103
+ has_rdoc: