diff --git a/.gitignore b/.gitignore index 9931106..751f6c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ build composer.lock docs -vendor -.idea/ \ No newline at end of file +vendor \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index da7f7cd..b95d9ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 7.0 - 7.1 + - 7.2 env: matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index 064823a..d7e246a 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All Notable changes to `once` will be documented in this file +## 1.1.0 - 2017-08-24 + +- add `MemoizeAwareTrait` + ## 1.0.1 - 2016-11-14 - fix cacheability of falsy return values diff --git a/LICENSE.md b/LICENSE.md index da40f36..0b32f5f 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2017 Spatie bvba +Copyright (c) Spatie bvba > Permission is hereby granted, free of charge, to any person obtaining a copy > of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index ec1727b..a48e1e8 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,11 @@ Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview ## Postcardware -You're free to use this package (it's [MIT-licensed](LICENSE.md)), but if it makes it to your production environment you are required to send us a postcard from your hometown, mentioning which of our package(s) you are using. +You're free to use this package (it's [MIT-licensed](LICENSE.md)), but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium. -The best postcards will get published on the open source page on our website. +All postcards are published [on our website](https://spatie.be/en/opensource). ## Installation @@ -75,7 +75,7 @@ class MyClass So calling `(new MyClass())->getNumberForLetter('A')` will always return the same result, but calling `(new MyClass())->getNumberForLetter('B')` will return something else. -**Note:** In order to use `once` on classes that have the magic method `__get` defined, you will need to either manually defined the `__memoized` property on your object, or use the include `MemoizeAwareTrait.` This applies particularly to Laravel Eloquent models. +**Note:** In order to use `once` on classes that have the magic method `__get` defined, you will need to either manually define the `__memoized` property on your object, or use the include `MemoizeAwareTrait.` This applies particularly to Laravel Eloquent models. ## Behind the curtains