From 02afdd8816fdaa866c9099264766dfa674e6f045 Mon Sep 17 00:00:00 2001 From: Travis Vignon Date: Thu, 7 May 2015 13:53:02 -0500 Subject: [PATCH] Updated meta data to reflect Laravel 5 dependency --- CHANGELOG.md | 10 ++++++++++ README.md | 8 +++++--- composer.json | 8 ++++---- src/Lookitsatravis/Listify/Listify.php | 4 ++-- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2011571..f65dfe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 1.1.0 (May 7, 2015) + +Features: + + - Now that Laravel 5 is released, packages are registered in a different way. Because of this, Listify now only supports Laravel 5. + +Bugfixes: + + - None + ## 1.0.6 (December 15, 2014) Features: diff --git a/README.md b/README.md index d4d542b..2947166 100755 --- a/README.md +++ b/README.md @@ -24,7 +24,9 @@ Turn any Eloquent model into a list! ## Requirements * `Listify` currently requires php >= 5.4 (`Listify` is implemented via the use of traits). -* Laravel 4.0 or higher +* Laravel 5.0 or higher + +> For use with Laravel 4, please use version 1.0.6. ## Installation `Listify` is distributed as a composer package, which is how it should be used in your app. @@ -277,8 +279,8 @@ Aside from that, I hope to just keep in parity with the Ruby gem `acts_as_list` - Commit and push until you are happy with your contribution - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally. - Please try not to mess with the Composer.json, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it. -- I would recommend using Laravel 4.0.x and higher for testing the build before a pull request. +- I would recommend using Laravel 5.0 and higher for testing the build before a pull request. ## Copyright -Copyright (c) 2013-2014 Travis Vignon, released under the MIT license \ No newline at end of file +Copyright (c) 2013-2014 Travis Vignon, released under the MIT license diff --git a/composer.json b/composer.json index 80464d3..fe2be9a 100755 --- a/composer.json +++ b/composer.json @@ -10,10 +10,10 @@ }], "require": { "php": ">=5.4.0", - "illuminate/database": "~4.0|~5.0", - "illuminate/support": "~4.0|~5.0", - "illuminate/console": "~4.0|~5.0", - "illuminate/events": "~4.0|~5.0" + "illuminate/database": "~5.0", + "illuminate/support": "~5.0", + "illuminate/console": "~5.0", + "illuminate/events": "~5.0" }, "require-dev": { "satooshi/php-coveralls": "dev-master", diff --git a/src/Lookitsatravis/Listify/Listify.php b/src/Lookitsatravis/Listify/Listify.php index 554053d..978e57c 100644 --- a/src/Lookitsatravis/Listify/Listify.php +++ b/src/Lookitsatravis/Listify/Listify.php @@ -14,7 +14,7 @@ * Ported from https://github.com/swanandp/acts_as_list * * @package lookitsatravis/listify - * @version 1.0.5 + * @version 1.1.0 * @author Travis Vignon * @link */ @@ -873,4 +873,4 @@ private function reloadPosition() { $this->setListifyPosition($this->getOriginal()[$this->positionColumn()]); } -} \ No newline at end of file +}