diff --git a/README.md b/README.md index 3d12593..e39c175 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ require_once(".../iugu-php/lib/Iugu.php"); ``` $ composer require iugu/iugu -Please provide a version constraint for the iugu/iugu requirement: 1.0.6 +Please provide a version constraint for the iugu/iugu requirement: 1.0.7 ``` O autoload do composer irĂ¡ cuidar do resto. diff --git a/VERSION b/VERSION index af0b7dd..238d6e8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.6 +1.0.7 diff --git a/lib/Iugu/APIRequest.php b/lib/Iugu/APIRequest.php index a2daa0c..7ca2b37 100644 --- a/lib/Iugu/APIRequest.php +++ b/lib/Iugu/APIRequest.php @@ -125,7 +125,6 @@ private function requestWithCURL($method, $url, $headers, $data = []) $opts[CURLOPT_SSL_VERIFYHOST] = 2; $opts[CURLOPT_SSL_VERIFYPEER] = true; - $opts[CURLOPT_CAINFO] = realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'data').DIRECTORY_SEPARATOR.'ca-bundle.crt'; curl_setopt_array($curl, $opts); diff --git a/lib/Iugu/Base.php b/lib/Iugu/Base.php index 3f13e55..0654bf6 100644 --- a/lib/Iugu/Base.php +++ b/lib/Iugu/Base.php @@ -19,7 +19,7 @@ abstract class IuguResource abstract class Iugu { - const VERSION = '1.0.6'; + const VERSION = '1.0.7'; public static $api_key = null; public static $api_version = 'v1';