Skip to content

Commit

Permalink
Merge pull request #2 from eknowlton/feature/circleci-two
Browse files Browse the repository at this point in the history
Organization Name Change
  • Loading branch information
joshforbes authored Feb 20, 2019
2 parents e8c119d + 1626431 commit dc07b55
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Circle CI](https://circleci.com/gh/navjobs/google-geocoder.svg?style=shield)](https://circleci.com/gh/navjobs/google-geocoder)
[![Code Climate](https://codeclimate.com/github/navjobs/google-geocoder/badges/gpa.svg)](https://codeclimate.com/github/navjobs/google-geocoder)
[![Circle CI](https://circleci.com/gh/ConstructionJobs/google-geocoder.svg?style=shield)](https://circleci.com/gh/ConstructionJobs/google-geocoder)
[![Code Climate](https://codeclimate.com/github/ConstructionJobs/google-geocoder/badges/gpa.svg)](https://codeclimate.com/github/ConstructionJobs/google-geocoder)

###### Google Geocoding
Provides an abstraction for requests to Google Maps geocoding service.
Expand All @@ -8,7 +8,7 @@ Provides an abstraction for requests to Google Maps geocoding service.
You can install this package via Composer using this command:

```bash
composer require navjobs/google-geocoder
composer require ConstructionJobs/google-geocoder
```

## Laravel Installation
Expand All @@ -18,14 +18,14 @@ This package comes with a service provider for use with Laravel. To install the
// config/app.php
'providers' => [
// other providers
'NavJobs\GoogleGeocoder\GoogleGeocoderServiceProvider'
'ConstructionJobs\GoogleGeocoder\GoogleGeocoderServiceProvider'
];
```

Also you must publish the config file:

```php
php artisan vendor:publish --provider="NavJobs\GoogleGeocoder\GoogleGeocoderServiceProvider"
php artisan vendor:publish --provider="ConstructionJobs\GoogleGeocoder\GoogleGeocoderServiceProvider"
```

The config file allows you to set your `api key`, `language` and `region`.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "navjobs/google-geocoder",
"name": "ConstructionJobs/google-geocoder",
"description": "Abstraction for geocoding through Google Maps.",
"keywords": [
"google",
"geocoding",
"maps"
],
"homepage": "https://navjobs.com",
"homepage": "https://constructionjobs.com",
"license": "MIT",
"require": {
"php" : ">=5.6.0",
Expand All @@ -20,12 +20,12 @@
},
"autoload": {
"psr-4": {
"NavJobs\\GoogleGeocoder\\": "src"
"ConstructionJobs\\GoogleGeocoder\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"NavJobs\\GoogleGeocoder\\Test\\": "tests"
"ConstructionJobs\\GoogleGeocoder\\Test\\": "tests"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/AccessDenied.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Exceptions;
namespace ConstructionJobs\GoogleGeocoder\Exceptions;

class AccessDenied extends GeocodingFailure
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/GeocodingFailure.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Exceptions;
namespace ConstructionJobs\GoogleGeocoder\Exceptions;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidKey.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Exceptions;
namespace ConstructionJobs\GoogleGeocoder\Exceptions;

class InvalidKey extends GeocodingFailure
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/NoResult.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Exceptions;
namespace ConstructionJobs\GoogleGeocoder\Exceptions;

class NoResult extends GeocodingFailure
{
Expand Down
4 changes: 2 additions & 2 deletions src/Exceptions/QuotaExceeded.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace NavJobs\GoogleGeocoder\Exceptions;
namespace ConstructionJobs\GoogleGeocoder\Exceptions;

class QuotaExceeded extends GeocodingFailure
class QuotaExceeded extends GeocodingFailure
{

}
10 changes: 5 additions & 5 deletions src/GoogleGeocoder.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace NavJobs\GoogleGeocoder;
namespace ConstructionJobs\GoogleGeocoder;

use GuzzleHttp\Client;
use NavJobs\GoogleGeocoder\Exceptions\NoResult;
use NavJobs\GoogleGeocoder\Exceptions\InvalidKey;
use NavJobs\GoogleGeocoder\Exceptions\AccessDenied;
use NavJobs\GoogleGeocoder\Exceptions\QuotaExceeded;
use ConstructionJobs\GoogleGeocoder\Exceptions\NoResult;
use ConstructionJobs\GoogleGeocoder\Exceptions\InvalidKey;
use ConstructionJobs\GoogleGeocoder\Exceptions\AccessDenied;
use ConstructionJobs\GoogleGeocoder\Exceptions\QuotaExceeded;

class GoogleGeocoder
{
Expand Down
4 changes: 2 additions & 2 deletions src/GoogleGeocoderServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder;
namespace ConstructionJobs\GoogleGeocoder;

use GuzzleHttp\Client;
use Illuminate\Support\ServiceProvider;
Expand Down Expand Up @@ -28,4 +28,4 @@ public function register()
);
});
}
}
}
12 changes: 6 additions & 6 deletions tests/GoogleGeocoderTest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace NavJobs\GoogleGeocoder\Test;
namespace ConstructionJobs\GoogleGeocoder\Test;

use Mockery;
use GuzzleHttp\Client;
use NavJobs\GoogleGeocoder\GoogleGeocoder;
use NavJobs\GoogleGeocoder\Exceptions\NoResult;
use NavJobs\GoogleGeocoder\Exceptions\InvalidKey;
use NavJobs\GoogleGeocoder\Exceptions\AccessDenied;
use NavJobs\GoogleGeocoder\Exceptions\QuotaExceeded;
use ConstructionJobs\GoogleGeocoder\GoogleGeocoder;
use ConstructionJobs\GoogleGeocoder\Exceptions\NoResult;
use ConstructionJobs\GoogleGeocoder\Exceptions\InvalidKey;
use ConstructionJobs\GoogleGeocoder\Exceptions\AccessDenied;
use ConstructionJobs\GoogleGeocoder\Exceptions\QuotaExceeded;

class GoogleGeocoderTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Test;
namespace ConstructionJobs\GoogleGeocoder\Test;

use Mockery;
use GuzzleHttp\Client;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestResponses.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NavJobs\GoogleGeocoder\Test;
namespace ConstructionJobs\GoogleGeocoder\Test;

class TestResponses
{
Expand Down

0 comments on commit dc07b55

Please sign in to comment.