Sha256: dcc7f24a70dbea7ede6d079c367f2bff92cdaf9e6aea6affb025cf98a9621c85

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

### Version 1.2.0 (2013-08-05)
##### Additions
* Added support for the `parent` node.
* Added the `#link_for` method for any node which has (multiple) nested links.
* Added `#download?`, `#stream?`, and `#embed?` methods to Permission, to return
  booleans of whether that permission is allowed.
* Added support for the `externalAsset` node, as `Story#external_assets (array)`

##### Changes
* None

##### Deprecations
* None



### Version 1.1.0 (2013-06-05)

##### Additions
* Allow passing `:url` option to Client, and `:path` option to `Client#query`
* Allow passing `:apiKey` and `:output` to `Client#query`
* Add an Image#crop method, to find a specific crop by its type.

##### Changes
* Handle an HTTP Error from the API better. If the API response is not a
  success (as defined by `Faraday::Response#success?`), then an 
  `NPR::APIError` will be raised. An error was being raised before, but
  it was due to a nil error (when response.body was nil), which could be confusing.

##### Deprecations
  * None



### Version 1.0.0
* Stable release



### Version 0.1.2 (2012-12-30)
* Critical bug fix having to do with JSON parsing.



### Version 0.1.1 (2012-12-16)
* First stable release.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
npr-1.2.0 CHANGELOG.md