Skip to content

Commit

Permalink
Preparing release for 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Taluu committed Jul 20, 2014
1 parent 05eb4dc commit f7c1ca9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ Totem
```
\\\\////
|.)(.|
| || |
\(__)/ Changeset calculator between two state of a data
|-..-| Requires PHP 5.4 ; Compatible PHP 5.5, PHP 5.6, and HHVM
| || | Changeset calculator between two state of a data
\(__)/ Requires PHP 5.4 ; Compatible PHP 5.5, PHP 5.6, and HHVM
|-..-|
|o\/o|
.----\ /----.
/ / / |~~~~| \ \ \
/ / / /|::::|\ \ \ \
'-'-'-'-|::::|-'-'-'-'
(((^^)))
>>><<<
|||||| Snapshots currently natively supported :
>>><<< Snapshots currently natively supported :
|||||| - Array
(o)(o) - Object
| /\ | - Array
(====) - Collection
| /\ | - Collection
(====)
_(_,__)
(___\___)
```
Expand All @@ -50,13 +50,13 @@ You have multiple ways to install Totem. If you are unsure what to do, go with

### Via Composer
1. Install composer in your project: `curl -s http://getcomposer.org/installer | php`
2. Create a `composer.json` file in your project root:
2. Create a `composer.json` file (or update it) in your project root:

```javascript

{
"require": {
"wisembly/totem": "~1.3"
"wisembly/totem": "~1.4"
}
}
```
Expand All @@ -68,13 +68,13 @@ Basic Usage
```php
<?php
use Totem\Snapshot\ObjectSnapshot;
use Totem\Snapshot\ArraySnapshot;
$object = (object) ['foo' => 'bar', 'baz' => 'qux'];
$snapshot = new ObjectSnapshot($object); // Totem\Snapshot\ObjectSnapshot
$array = ['foo' => 'bar', 'baz' => 'qux'];
$snapshot = new ArraySnapshot($array); // Totem\Snapshot\ArraySnapshot
$object->foo = 'fubar';
$set = $snapshot->diff(new ObjectSnapshot($object)); // Totem\Set
$array['foo'] = 'fubar';
$set = $snapshot->diff(new ArraySnapshot($array)); // Totem\Set
var_dump($set->hasChanged('foo'),
$set->getChange('foo')->getOld(),
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
# built documents.
#
# The short X.Y version.
version = '1.3'
version = '1.4'

# The full version, including alpha/beta/rc tags.
release = '1.3.3'
release = '1.4.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit f7c1ca9

Please sign in to comment.