Skip to content

Commit c8eed8d

Browse files
committed
Bumping version to 5.3.0-rc2, updated URLs and API version numbers.
1 parent 5994adf commit c8eed8d

File tree

14 files changed

+18
-18
lines changed

14 files changed

+18
-18
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "optimaize/nameapi-client-php",
33
"description": "PHP Client for the NameAPI Web Service",
4-
"version": "5.3.0-rc1",
4+
"version": "5.3.0-rc2",
55
"homepage": "https://github.com/optimaize/nameapi-client-php",
66
"license": "LGPL-3.0",
77
"require": {

src/org/nameapi/client/http/RestHttpClientConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RestHttpClientConfig {
1313

1414
protected $apiKey;
1515
protected $baseUrl;
16-
protected $userAgent = "NameAPI PHP Client 5.0";
16+
protected $userAgent = "NameAPI PHP Client 5.3";
1717

1818

1919
/**
@@ -264,7 +264,7 @@ public static function toDebugReport()
264264
$report = "RestHttpClientConfig Debug Report:\n";
265265
$report .= " OS: ".php_uname()."\n";
266266
$report .= " PHP Version: ".phpversion()."\n";
267-
$report .= " Swagger Spec Version: v5.0\n";
267+
$report .= " Swagger Spec Version: v5.3\n";
268268
$report .= " SDK Package Version: 1.0.0\n";
269269
$report .= " Temp Folder Path: ".self::getDefaultConfiguration()->getTempFolderPath()."\n";
270270

src/org/nameapi/client/services/ServiceFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ServiceFactory {
5050
private $technology = 'rest';
5151

5252
/**
53-
* Something like 'http://api.nameapi.org/rest/v5.0/'
53+
* Something like 'http://api.nameapi.org/rest/v5.3/'
5454
* Gets constructed based on other attributes in here.
5555
*/
5656
private $baseUrl;
@@ -69,7 +69,7 @@ class ServiceFactory {
6969
* @var $apiKey
7070
* @var $context
7171
* @var $host defaults to Host::standard()
72-
* @var $apiVersion default is the "latest stable", currently that is 5.0.
72+
* @var $apiVersion default is the "latest stable", currently that is 5.3.
7373
* You want to change this to target another version, for example a release candidate or a development version.
7474
*/
7575
public function __construct($apiKey, Context $context, Host $host=null, $apiVersion=null) {
@@ -81,7 +81,7 @@ public function __construct($apiKey, Context $context, Host $host=null, $apiVers
8181
$this->host = $host;
8282
}
8383
if ($apiVersion==null) {
84-
$this->apiVersion = '5.0';
84+
$this->apiVersion = '5.3';
8585
} else {
8686
$this->apiVersion = $apiVersion;
8787
}

src/org/nameapi/client/services/development/exceptionthrower/ExceptionThrowerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* This is the service class for the web service offered at
12-
* http://api.nameapi.org/rest/v5.0/development/exceptionthrower
12+
* http://api.nameapi.org/rest/v5.3/development/exceptionthrower
1313
*
1414
* <p>The use is for development only; to see what happens when the server throws exceptions, and how they arrive
1515
* at your end.</p>

src/org/nameapi/client/services/email/disposableemailaddressdetector/DisposableEmailAddressDetectorService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/**
1313
* This is the service class for the web service offered at
14-
* http://api.nameapi.org/rest/v5.0/email/disposableemailaddressdetector
14+
* http://api.nameapi.org/rest/v5.3/email/disposableemailaddressdetector
1515
*
1616
* HOW TO USE:
1717
* $deaDetector = $myServiceFactory->emailServices()->disposableEmailAddressDetector();

src/org/nameapi/client/services/email/emailnameparser/EmailNameParserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* This is the service class for the web service offered at
13-
* http://api.nameapi.org/rest/v5.0/email/emailnameparser
13+
* http://api.nameapi.org/rest/v5.3/email/emailnameparser
1414
*
1515
* HOW TO USE:
1616
* $emailNameParser = $myServiceFactory->emailServices()->emailNameParser();

src/org/nameapi/client/services/formatter/personnameformatter/PersonNameFormatterService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/**
1818
* This is the service class for the web service offered at
19-
* http://api.nameapi.org/rest/v5.0/formatter/personnameformatter
19+
* http://api.nameapi.org/rest/v5.3/formatter/personnameformatter
2020
*
2121
* HOW TO USE:
2222
* $personNameFormatter = $myServiceFactory->formatterServices()->personNameFormatter();

src/org/nameapi/client/services/genderizer/persongenderizer/PersonGenderizerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* This is the service class for the web service offered at
16-
* http://api.nameapi.org/rest/v5.0/genderizer/persongenderizer
16+
* http://api.nameapi.org/rest/v5.3/genderizer/persongenderizer
1717
*
1818
* HOW TO USE:
1919
* $personGenderizer = $myServiceFactory->genderizerServices()->personGenderizer();

src/org/nameapi/client/services/matcher/personmatcher/PersonMatcherService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* This is the service class for the web service offered at
21-
* http://api.nameapi.org/rest/v5.0/matcher/personmatcher
21+
* http://api.nameapi.org/rest/v5.3/matcher/personmatcher
2222
*
2323
* HOW TO USE:
2424
* $personMatcher = $myServiceFactory->matcherServiceFactory()->personMatcher();

src/org/nameapi/client/services/parser/personnameparser/PersonNameParserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/**
2222
* This is the service class for the web service offered at
23-
* http://api.nameapi.org/rest/v5.0/parser/personnameparser
23+
* http://api.nameapi.org/rest/v5.3/parser/personnameparser
2424
*
2525
* HOW TO USE:
2626
* $personNameParser = $myServiceFactory->nameParserServiceFactory()->personNameParser();

0 commit comments

Comments
 (0)