Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Housekeeping.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Feb 7, 2013
1 parent 3782fb6 commit 3c25a30
Show file tree
Hide file tree
Showing 7 changed files with 243 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ matrix:
include:
- php: 5.4
env:
- secure: "K8ehN0fHSVkzEe5PJKGaiUN9tqJ9YS+2DPrD/mQdVLlPM8Vb0AsW15KPhWMK\nA8WXhNHV9IAz8I6T6bVB2gHyAU0dH4/VZynr3T/7Bhd8yOHrer4AMtX/TZpE\nbE35ZK5+6+RgoU/JG/jQxDJUmN4WwCzmC3Hh+EfPt+i9rIbaB9k="
- secure: "T2EUodWYyQX3fZ6XI4y0ANU9GGm2DQXA9s0Sz3fMEMvNXyXp07C4AfjO9OHE\nLWbTDu42WIX31WFyuP1DktHf19+GnCGejSXMp1U00YA11qqPebcJuklf8x0P\nQirt3kGxUSsnWKfAuOdVxrvQYVYObpNSrfKWOyc1dRjk2u28NTo="

# PHP 5.5 is still in alpha, so ignore build failures.
allow_failures:
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Collections Changelog

### 0.5.0

* All collection types are now serializable
* Added Set::isEqual(), Set::isSuperset(), Set::isSubset(), Set::isStrictSuperset() and Set::isStrictSubset()

### 0.4.0

* All collection types are now clonable
* LinkedList::sort() now uses a merge sort instead of converting to a native array
* Added RandomAccessInterface::indexOfLast(), RandomAccessInterface::find() and RandomAccessInterface::findLast()

### 0.3.0

* Added Typhoon type checks
* Icecave\Repr now used in __toString() methods

### 0.2.0

* Added AssociativeIterator and RandomAccessIterator
* Collections now implement Iterator, Countable and ArrayAccess as appropriate

### 0.1.0

* Initial release
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Contributing

**Collections** is open source software; contributions from the community are encouraged. Please take a moment to read these guidelines before submitting changes.

### Code style

All PHP code must adhere to the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) standard.

### Branching and pull requests

As a guideline, please follow this process:

1. [Fork the repository](https://help.github.com/articles/fork-a-repo).
2. Create a topic branch for the change:
* New features should branch from **develop**.
* Bug fixes to existing versions should branch from **master**.
* Please ensure the branch is clearly labelled as a feature or fix.
3. Make the relevant changes.
4. [Squash](http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) commits if necessary.
4. Submit a pull request to the **develop** branch.

Please note this is a general guideline only.
For more information on the branching structure please see the [git-flow cheatsheet](http://danielkummer.github.com/git-flow-cheatsheet/).
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# License

**© 2012-2013, [James Harris](https://github.com/jmalloc)**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,7 @@

## Installation

**Collections** requires PHP 5.3.3 or later.

### With [Composer](http://getcomposer.org/)

* Add 'icecave/collections' to the project's composer.json dependencies
* Run `composer install`

### Bare installation

* Clone from GitHub: `git clone git://github.com/IcecaveStudios/collections.git`
* Use a [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
compatible autoloader (namespace 'Icecave\Collections' in the 'lib' directory)
* [Composer](http://getcomposer.org) package [icecave/collections](https://packagist.org/packages/icecave/collections)

## Rationale

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "icecave/collections",
"type": "library",
"description": "PHP collections without leaky abstractions.",
"description": "A set of PHP collection types loosely inspired by the .NET runtime and the C++ STL.",
"keywords": ["collection", "container", "array", "sequence", "map", "hash", "stack", "queue"],
"homepage": "https://github.com/IcecaveStudios/collections",
"license": "MIT",
Expand All @@ -13,12 +12,13 @@
],
"require": {
"php": ">=5.3.3",
"icecave/repr": "1.*"
"icecave/repr": "~1"
},
"require-dev": {
"icecave/testing": "1.*",
"eloquent/liberator": "1.*",
"eloquent/typhoon": "0.6.*"
"icecave/testing": "~2",
"eloquent/liberator": "~1",
"eloquent/typhoon": "~0.8",
"icecave/woodhouse": "*"
},
"autoload": {
"psr-0": {
Expand Down
Loading

0 comments on commit 3c25a30

Please sign in to comment.