Skip to content

Commit

Permalink
Merge pull request #21 from rossjcooper/release/2.0.0
Browse files Browse the repository at this point in the history
Release/2.0.0
  • Loading branch information
rossjcooper authored Jan 7, 2020
2 parents 65d2175 + bad7f35 commit 1fac255
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.0.0] - 2020-01-07

- Updated HubSpot base package to official package. [#19]



[Unreleased]:https://github.com/rossjcooper/laravel-hubspot/compare/v2.0.0...HEAD
[2.0.0]:https://github.com/rossjcooper/laravel-hubspot/compare/v2.0.0...1.3.0

[#19]: https://github.com/rossjcooper/laravel-hubspot/pull/19
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Stable Version](https://poser.pugx.org/rossjcooper/laravel-hubspot/v/stable)](https://packagist.org/packages/rossjcooper/laravel-hubspot) [![Total Downloads](https://poser.pugx.org/rossjcooper/laravel-hubspot/downloads)](https://packagist.org/packages/rossjcooper/laravel-hubspot) [![Build Status](https://travis-ci.org/rossjcooper/laravel-hubspot.svg?branch=master)](https://travis-ci.org/rossjcooper/laravel-hubspot)

This is a wrapper for the [ryanwinchester/hubspot-php](https://github.com/ryanwinchester/hubspot-php) package and gives the user a Service Container binding and facade of the `SevenShores\Hubspot\Factory::create('api-key')` function.
This is a wrapper for the [hubspot/hubspot-php](https://github.com/HubSpot/hubspot-php) package and gives the user a Service Container binding and facade of the `SevenShores\Hubspot\Factory::create('api-key')` function.

## Installation
1. `composer require rossjcooper/laravel-hubspot`
Expand Down Expand Up @@ -41,7 +41,7 @@ Route::get('/', function (Rossjcooper\LaravelHubSpot\HubSpot $hubspot) {
});
```

For more info on using the actual API see the main repo [ryanwinchester/hubspot-php](https://github.com/ryanwinchester/hubspot-php)
For more info on using the actual API see the main repo [hubspot/hubspot-php](https://github.com/HubSpot/hubspot-php)

## Testing

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
2.0.0
2 changes: 1 addition & 1 deletion tests/API/ContactsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Tests\API;

use Tests\TestCase;
use Rossjcooper\LaravelHubSpot\HubSpot;
use Tests\TestCase;

class ContactsTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/ServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Tests\Unit;

use Tests\TestCase;
use Rossjcooper\LaravelHubSpot\HubSpot;
use Tests\TestCase;

class ServiceProviderTest extends TestCase
{
Expand All @@ -18,6 +18,6 @@ public function test_api_key_set()
{
$hubspot = app(HubSpot::class);

$this->assertEquals(env('HUBSPOT_API_KEY'), $hubspot->client->key);
$this->assertEquals(env('HUBSPOT_API_KEY'), $hubspot->getClient()->key);
}
}

0 comments on commit 1fac255

Please sign in to comment.