Skip to content

Commit

Permalink
build; history.md updated; 0.5.0; support for node 0.10 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
Radagaisus committed Jan 3, 2014
1 parent 36fb2c5 commit 9df6f25
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,7 +1,5 @@
language: node_js
node_js:
- "0.6"
- "0.8"
- "0.10"
before_script:
- "npm i -g jasmine-node"
3 changes: 3 additions & 0 deletions dist/orpheus.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions history.md
@@ -1,7 +1,55 @@
# Changelog

## 0.5.0

- Added a way to send dynamic key arguments as either an array or, if it's one argument, as is. For example, `User('id').yearly_bread(key: [2012]).exec()` as well as `User('id').yearly_bread(key: [2012]).exec()`.

- If multiple values of a dynamic key were requested during one request, the result will be returned as an object, with the generated keys as the object keys, instead of arrays. For example:

```coffee

User('radagaisus')
.books(key: 'history').smembers()
.books.key('science').smembers()
.exec ->
```

Will result in:

```coffee
{
books: {
history: ['1776', 'The Devil in the White City']
science: ['The Selfish Gene']
}
}
```

Instead of:

```coffee
{
books: [
['1776', 'The Devil in the White City'],
['The Selfish Gene']
]
}


- Support for NodeJS 0.10 and above



## 0.5.0

- Added a way to wsend

-

## 0.4.0

- Removed the `.del` operation.

- Added the `type`, `ttl`, `pexpire`, `pexpireat`, `pttl`, `persist`, `expireat`, `expire` `exists` and `del` commands for sets, zsets, lists and hashes.

## 0.3.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"url": "https://Radagaisus@github.com/Radagaisus/Orpheus.git"
},
"keywords": ["redis", "coffee script", "orm", "database"],
"engines": { "node": "node >= 0.6.0" },
"engines": { "node": "node >= 0.10.0" },
"scripts": {
"test": "jasmine-node test/orpheus.spec.coffee --verbose --color --forceexit --coffee"
}
Expand Down

0 comments on commit 9df6f25

Please sign in to comment.