Skip to content

Commit

Permalink
Merge pull request #190 from axchow/patch-1
Browse files Browse the repository at this point in the history
The Podfile: Update information about ~> operator
  • Loading branch information
amorde committed Jun 7, 2020
2 parents 6fc599d eec92dd commit 6fb300e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/using/the-podfile.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 117,14 @@ In addition to the logic operators CocoaPods has an optimistic operator `~>`:

* `'~> 0.1.2'` Version 0.1.2 and the versions up to 0.2, not including 0.2 and higher
* `'~> 0.1'` Version 0.1 and the versions up to 1.0, not including 1.0 and higher
* `'~> 0'` Version 0 and higher, this is basically the same as not having it.
* `'~> 0'` Version 0 and the versions up to 1.0, not including 1.0 and higher

For more information, regarding versioning policy, see:

* [Semantic Versioning](http://semver.org)
* [RubyGems Versioning Policies](http://guides.rubygems.org/patterns/#semantic-versioning)
* There's a great video from Google about how this works: ["CocoaPods and the Case of the Squiggly Arrow (Route 85)"](https://www.youtube.com/watch?v=x4ARXyovvPc).
* Note that the information about `~> 1` in the video is incorrect.

## Using the files from a folder local to the machine.

Expand Down

0 comments on commit 6fb300e

Please sign in to comment.