Skip to content

Commit 786bed0

Browse files
Merge tag '0.1.0' into develop
2 parents 7cb689d + 629e871 commit 786bed0

File tree

4 files changed

+6
-36
lines changed

4 files changed

+6
-36
lines changed

CHANGELOG.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,8 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66

77
## Unreleased
88

9-
## 0.2.0 (2018-07-26)
9+
## 0.1.0 (2018-07-26)
1010

1111
### Added
1212

13-
- Added a base Eloquent model
14-
- Added a queueable job
15-
- Added auto-discovery
16-
- Added a test suite and tests
17-
- Updated documents
18-
- Added boolean date parsing in base model
19-
- Add Laravel 5.6 service provider bindings and singletons properties
20-
- Alias all predefined class aliases
21-
- Map polymorphic models to their alias
22-
- Auto-register event listeners and subscribers
23-
- Added a call to a request handler's _before_ method
24-
25-
### Changed
26-
27-
- Require PHP 7.2 or higher
28-
- Require Laravel 5.6 or higher
29-
30-
### Removed
31-
32-
- Removed empty `mapRoutes` method
33-
- Removed empty `registerCommands` method
34-
- Removed empty `bindRepositories` method
35-
- Removed empty `mapMorphTypes` method
36-
- Removed empty `bootMiddleware` method
37-
- Extracted `BooleanDates` class to its own package
38-
39-
### Fixed
40-
41-
- Correctly resolve config file
13+
- Added BooleanDates model trait

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22

3-
Copyright (c) 2017 Sebastiaan Luca <hello@sebastiaanluca.com>
3+
Copyright (c) 2018 Sebastiaan Luca <hello@sebastiaanluca.com>
44

55
> Permission is hereby granted, free of charge, to any person obtaining a copy
66
> of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ False values are converted to `NULL`.
124124
Use a boolean field's defined _key_ to access its boolean value:
125125

126126
```php
127-
<?php
128-
129127
$user = User::findOrFail(42);
130128

131129
$user->has_accepted_terms_and_conditions;
@@ -152,8 +150,6 @@ $user->has_agreed_to_something;
152150
Use a boolean field's defined _value_ to explicitly access its (Carbon) datetime value:
153151

154152
```php
155-
<?php
156-
157153
$user = User::findOrFail(42);
158154

159155
$user->accepted_terms_at;

src/BooleanDatesServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
namespace SebastiaanLuca\BooleanDates;
66

7-
class BooleanDatesServiceProvider extends Provider
7+
use Illuminate\Support\ServiceProvider;
8+
9+
class BooleanDatesServiceProvider extends ServiceProvider
810
{
911
}

0 commit comments

Comments
 (0)