Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/v0.0.3' into develop
Browse files Browse the repository at this point in the history
* release/v0.0.3:
  Update changelog
  Remove not-existing validation rule usage (fix #12)
  Fix minor readme typos
  • Loading branch information
Omranic committed Feb 18, 2018
2 parents 8e33056 + 52b66b7 commit 39b8935
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,26 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](CONTRIBUTING.md).


## [v0.0.3] - 2018-02-18
- Update supplementary files
- Update composer dependencies
- Add PublishCommand to artisan
- Add Rollback Console Command
- Add PHPUnitPrettyResultPrinter
- Require PHP v7.1.3
- Typehint method returns
- Drop useless model contracts (models already swappable through IoC)
- Add Laravel v5.6 support
- Simplify IoC binding
- Add force option to artisan commands
- Drop Laravel 5.5 support

## [v0.0.2] - 2017-09-08
- Fix many issues and apply many enhancements
- Rename package rinvex/addresses from rinvex/addressable

## v0.0.1 - 2017-04-07
- Tag first release

[v0.0.3]: https://github.com/rinvex/addresses/compare/v0.0.2...v0.0.3
[v0.0.2]: https://github.com/rinvex/addresses/compare/v0.0.1...v0.0.2
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $user->addresses()->create([
'street' => '56 john doe st.',
'state' => 'Alexandria',
'city' => 'Alexandria',
'useral_code' => '21614',
'postal_code' => '21614',
'lat' => '31.2467601',
'lng' => '29.9020376',
'is_primary' => true,
Expand Down Expand Up @@ -80,7 +80,7 @@ $user->addresses()->where('id', 123)->first()->delete();

### Manage your addressable model

The API is intutive and very straightfarwad, so let's give it a quick look:
The API is intuitive and very straight forward, so let's give it a quick look:

```php
// Get instance of your model
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Address extends Model
'last_name' => 'nullable|string|max:150',
'name_suffix' => 'nullable|string|max:150',
'organization' => 'nullable|string|max:150',
'country_code' => 'nullable|alpha|size:2|country',
'country_code' => 'nullable|alpha|size:2',
'street' => 'nullable|string|max:150',
'state' => 'nullable|string|max:150',
'city' => 'nullable|string|max:150',
Expand Down

0 comments on commit 39b8935

Please sign in to comment.