maxmind-db-rust 0.3.0 → 0.5.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/README.md +85 -17
- data/ext/maxmind_db_rust/Cargo.toml +2 -2
- data/ext/maxmind_db_rust/extconf.rb +1 -1
- data/ext/maxmind_db_rust/lib/maxmind/db/rust.rb +1 -1
- data/ext/maxmind_db_rust/src/lib.rs +710 -220
- data/lib/maxmind/db/rust.rb +2 -2
- metadata +2 -2
data/lib/maxmind/db/rust.rb
CHANGED
|
@@ -66,7 +66,7 @@ module MaxMind
|
|
|
66
66
|
# - Reader class
|
|
67
67
|
# - Metadata class
|
|
68
68
|
# - InvalidDatabaseError exception
|
|
69
|
-
# - MODE_AUTO, MODE_MEMORY, MODE_MMAP constants
|
|
69
|
+
# - MODE_AUTO, MODE_FILE, MODE_MEMORY, MODE_MMAP, MODE_PARAM_IS_BUFFER constants
|
|
70
70
|
end
|
|
71
71
|
else
|
|
72
72
|
# Official gem not loaded - define DB as a module
|
|
@@ -128,7 +128,7 @@ module MaxMind
|
|
|
128
128
|
# - Reader class
|
|
129
129
|
# - Metadata class
|
|
130
130
|
# - InvalidDatabaseError exception
|
|
131
|
-
# - MODE_AUTO, MODE_MEMORY, MODE_MMAP constants
|
|
131
|
+
# - MODE_AUTO, MODE_FILE, MODE_MEMORY, MODE_MMAP, MODE_PARAM_IS_BUFFER constants
|
|
132
132
|
end
|
|
133
133
|
end
|
|
134
134
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maxmind-db-rust
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gregory Oschwald
|
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
191
191
|
- !ruby/object:Gem::Version
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
|
-
rubygems_version: 4.0.
|
|
194
|
+
rubygems_version: 4.0.10
|
|
195
195
|
specification_version: 4
|
|
196
196
|
summary: Unofficial high-performance Rust-based MaxMind DB reader for Ruby
|
|
197
197
|
test_files: []
|