From a2105b09d8d0260a68497a949303c3f97f0823e2 Mon Sep 17 00:00:00 2001 From: Guilherme Hilst Ribeiro Date: Fri, 1 Mar 2024 16:56:21 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20verifica=C3=A7=C3=A3o=20do=20certific?= =?UTF-8?q?ado=20iugu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- VERSION | 2 +- lib/Iugu/APIRequest.php | 1 - lib/Iugu/Base.php | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) 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';