-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad65b88
commit 7f27228
Showing
6 changed files
with
55 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ Below are the methods supported in this module. | |
|---|---| | ||
|open|Open the IP2Proxy BIN data with **File I/O** mode for lookup.| | ||
|close|Close and clean up the file pointer.| | ||
|get_package_version|Get the package version (1 to 4 for PX1 to PX4 respectively).| | ||
|get_package_version|Get the package version (1 to 8 for PX1 to PX8 respectively).| | ||
|get_module_version|Get the module version.| | ||
|get_database_version|Get the database version.| | ||
|is_proxy|Check whether if an IP address was a proxy. Please see [Proxy Type](#proxy-type) for details. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address</li></ul>| | ||
|
@@ -115,5 +115,5 @@ i2p.close() | |
|
||
## Support | ||
|
||
Email: [email protected] | ||
Email: [email protected] | ||
URL: [https://www.ip2location.com](https://www.ip2location.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Gem::Specification.new do |s| | ||
s.name = "ip2proxy_ruby" | ||
s.version = "2.0.0" | ||
s.version = "2.1.0" | ||
s.authors = ["ip2location"] | ||
s.email = ["[email protected]"] | ||
|
||
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s| | |
"spec/assets/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN", | ||
"spec/ip2proxy_ruby_spec.rb", | ||
"spec/spec_helper.rb", | ||
"rb/data/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN" | ||
"rb/data/IP2PROXY-LITE-PX1.BIN" | ||
] | ||
|
||
if s.respond_to?(:metadata=) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.