Skip to content

Commit

Permalink
Merge pull request #24 from mirko-pagliai/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mirko-pagliai authored Sep 2, 2017
2 parents 3daec0d + 3580833 commit 715de79
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ matrix:
- php: 7.0
env: COVERAGE=1

- php: 7.0
env: CAKEPHP_VERSION="3.4.*"

install:
- printf "\n" | pecl install imagick
- composer self-update
- composer install --prefer-dist --no-interaction
- if [[ ! -z "$CAKEPHP_VERSION" ]]; then composer require --update-with-dependencies cakephp/cakephp:${CAKEPHP_VERSION}; fi

script:
- if [[ $PHPCS != '1' && $COVERAGE != '1' ]]; then vendor/bin/phpunit --exclude-group imageEquals; fi
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# 1.x branch
## 1.2 branch
# 1.2.0
* updated for intervention/image 2.4;
* some little fixes. This package requires at least CakePHP 3.4.

## 1.1 branch
# 1.1.1
* fixed bug when using similar format name, , as `jpeg` or `tif`;
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,15 @@ For more information about supported format, please refer to the
You can install the plugin via composer:

$ composer require --prefer-dist mirko-pagliai/cakephp-thumber

**NOTE**: the package may require one of the latest versions version of CakePHP.
Instead, the [cakephp3.2](//github.com/mirko-pagliai/cakephp-thumber/tree/cakephp3.2)
branch is compatible with CakePHP versions from 3.2 onwards.
In this case, you can install the package as well:

$ composer require --prefer-dist mirko-pagliai/cakephp-thumber:dev-cakephp3.2

Then you have to edit `APP/config/bootstrap.php` to load the plugin:
After installation, you have to edit `APP/config/bootstrap.php` to load the plugin:

Plugin::load('Thumber', ['bootstrap' => true, 'routes' => true]);

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}],
"require": {
"php": ">=5.5.9",
"cakephp/cakephp": ">=3.2.0 <4.0",
"intervention/image": "^2.3"
"cakephp/cakephp": ">=3.4 <4.0",
"intervention/image": "^2.4"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^3.0",
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.2.0

0 comments on commit 715de79

Please sign in to comment.