Commit Graph

41 Commits

Author SHA1 Message Date
4ec525a313 Making oschwald's style changes and fixing tests 2015-03-20 19:18:55 -07:00
a323cc38cb Adding ability to specify an HTTP timeout
Also changing Guzzle link in readme to point to appropriate version
2015-03-19 13:17:24 -07:00
Dave Rolsky
c44053c276 Return false instead of null for boolean attributes 2014-10-28 11:28:02 -05:00
Dave Rolsky
9e6449290f Use assertSame instead of assertEquals to test boolean attributes 2014-10-27 17:21:10 -05:00
Dave Rolsky
fbf4583b3e Add support for Anonymous IP database 2014-10-27 16:30:40 -05:00
Gregory Oschwald
42efc47796 Remove deprecated web service methods 2014-09-15 10:39:33 -05:00
Gregory Oschwald
5c4dd5b1e5 Added checks of database type in lookup method 2014-09-10 12:13:09 -07:00
Gregory Oschwald
a5fe44c3d3 Update for GeoIP2 web services v2.1 2014-07-15 14:19:30 -07:00
Gregory Oschwald
84299eba92 Updated for new ISP test DB 2014-06-18 10:29:54 -07:00
Gregory Oschwald
22babda1c9 Added Connection-Type, Domain, and ISP databases 2014-06-17 09:29:14 -07:00
Gregory Oschwald
8bd00943f4 Added tests for accessing unknown attributes 2013-12-02 19:26:20 -08:00
Gregory Oschwald
fbbe2dba24 Fix isset for models/records 2013-12-02 10:02:37 -08:00
Gregory Oschwald
569043cb8f Implemented JsonSerializable interface for models/records 2013-10-26 14:13:56 -07:00
Gregory Oschwald
edb6940c74 Updated exception text in test 2013-10-21 11:09:27 -07:00
Gregory Oschwald
e03b9558a9 Tidying and doc fixes 2013-10-21 06:18:12 -07:00
Gregory Oschwald
234dcaff7c Renamed languages to locales in the code 2013-10-17 12:58:21 -07:00
Gregory Oschwald
f0430b613d No reason for call_user_func_array 2013-07-16 10:34:44 -07:00
Gregory Oschwald
e3289ec416 Fix for PHP 5.3 where you can't use '$this' in a callback. 2013-07-16 10:11:06 -07:00
Gregory Oschwald
630765f924 Make unit tests check all the methods 2013-07-16 09:44:30 -07:00
Gregory Oschwald
b55d42b5cd Documentation updates 2013-07-16 09:21:08 -07:00
Gregory Oschwald
044ca4d085 Added specific exceptions for the different types of errors. 2013-07-16 07:46:50 -07:00
Gregory Oschwald
3ba84992c8 Updated for new test path 2013-07-15 16:10:05 -07:00
Gregory Oschwald
1c0817d133 Test looking up an invalid address 2013-07-15 16:05:08 -07:00
Gregory Oschwald
59a51ef34d Tests for the reader 2013-07-15 15:52:07 -07:00
Gregory Oschwald
e60181f13a Rename GeoIP2 => GeoIp2 for consistency 2013-07-10 15:24:40 -07:00
Gregory Oschwald
e0baddaec0 Added queriesRemaining 2013-05-21 13:46:11 -07:00
Gregory Oschwald
89f1bbdb65 Switched continent_code to code 2013-05-21 13:28:37 -07:00
Gregory Oschwald
b179e29ee7 Rename GenericException to GeoIP2Exception 2013-05-20 15:42:52 -07:00
Gregory Oschwald
5eda52e1db Add test for city call 2013-05-20 13:47:17 -07:00
Gregory Oschwald
ef618d06c1 Fixed broken unit test 2013-05-20 13:18:05 -07:00
Gregory Oschwald
aeba497703 Added a very basic omni test as we didn't cover it previously 2013-05-20 13:15:25 -07:00
Gregory Oschwald
58673466c0 Webservice => WebService 2013-05-13 10:29:28 -07:00
Gregory Oschwald
694195fedf Added basic docs for the API 2013-05-10 10:47:11 -07:00
Gregory Oschwald
ec116a2c29 Added missing ability to set host 2013-05-09 15:22:11 -07:00
Gregory Oschwald
a26d7525c4 Another PHP 5.3 request 2013-05-09 08:11:34 -07:00
Gregory Oschwald
bc867e8e84 PHP 5.3 fix 2013-05-09 08:05:59 -07:00
Gregory Oschwald
954e537a0a Added name testing 2013-05-09 07:45:23 -07:00
Gregory Oschwald
ed6166f934 Updated code to follow the PSR-2 style guidelines. 2013-05-09 07:29:29 -07:00
Gregory Oschwald
95813b00a9 Added Omni tests 2013-05-09 07:28:01 -07:00
Gregory Oschwald
07913c02f4 Added tests for Country model 2013-05-08 15:23:28 -07:00
Gregory Oschwald
851925b2d6 Webservice client unit tests and fixes for bugs discovered while creating them 2013-05-08 14:42:13 -07:00