Skip to content

Commit

Permalink
use colorjizz ^1.0 release addresses davidgorges#1
Browse files Browse the repository at this point in the history
per mikeemoo/ColorJizz-PHP#10

despite having added the 1.0.0 release, packagist still has not
crawled the repository to reflect the available stable version.

manually adding the Github repo as a vcs repository to composer.json
should actually speed things up for resolution on installation and
guarantee new release tags are picked up.

the only drawback would be if @mikeemoo deleted the repository from
Github all together. Github forwards transfers, so that shouldn't
break it either.
  • Loading branch information
jpuck committed Jan 30, 2017
1 parent 8537251 commit dd74c33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ Using composer:
composer require davidgorges/color-contrast
```

**Note** that this package depends on development branches of other projects, so your [minimum stability][1]
must be `dev` in `composer.json` otherwise you'll get a dependency resolution conflict.

```json
"minimum-stability": "dev",
"prefer-stable" : true
```

## Usage
````php
use ColorContrast\ColorContrast;
Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"require": {
"php": ">=5.3.3",
"mischiefcollective/colorjizz": "dev-master"
"mischiefcollective/colorjizz": "^1.0"
},
"require-dev": {
"instaclick/php-code-sniffer": "dev-master",
Expand All @@ -17,5 +17,11 @@
"psr-4": {
"ColorContrast\\": "src/"
}
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mikeemoo/ColorJizz-PHP"
}
]
}

0 comments on commit dd74c33

Please sign in to comment.