1
0
Fork 0

Formatting tweaks, refs #4172

pull/4217/head
Jordi Boggiano 2015-07-04 11:54:56 +01:00
parent edf121ce11
commit 812167b2a0
1 changed files with 4 additions and 4 deletions

View File

@ -20,9 +20,9 @@ Example: `1.0.2`
By using comparison operators you can specify ranges of valid versions. Valid By using comparison operators you can specify ranges of valid versions. Valid
operators are `>`, `>=`, `<`, `<=`, `!=`. operators are `>`, `>=`, `<`, `<=`, `!=`.
You can define multiple ranges. Ranges separated by a space (` `) or comma (`,`) You can define multiple ranges. Ranges separated by a space (<code> </code>)
will be treated as a **logical AND**. A double pipe (`||`) will be treated as a or comma (`,`) will be treated as a **logical AND**. A double pipe (`||`)
**logical OR**. AND has higher precedence than OR. will be treated as a **logical OR**. AND has higher precedence than OR.
> **Note:** Be careful when using unbounded ranges as you might end up > **Note:** Be careful when using unbounded ranges as you might end up
> unexpectedly installing versions that break backwards compatibility. > unexpectedly installing versions that break backwards compatibility.
@ -99,7 +99,7 @@ add the suffix `-stable`.
Examples: Examples:
Constraint | Internally Constraint | Internally
---------------------------------------------- ------------------- | ------------------------
`1.2.3` | `=1.2.3.0-stable` `1.2.3` | `=1.2.3.0-stable`
`>1.2` | `>1.2.0.0-stable` `>1.2` | `>1.2.0.0-stable`
`>=1.2` | `>=1.2.0.0-dev` `>=1.2` | `>=1.2.0.0-dev`