Permalink
Browse files

multiple_entities? should check data['list']

  • Loading branch information...
theganyo committed Dec 31, 2012
1 parent 36ef971 commit 769c02a06a50964cf1f8ff198d7fff5426ebf05b
Showing with 6 additions and 2 deletions.
  1. +4 −0 README.md
  2. +1 −1 lib/usergrid/extensions/response.rb
  3. +1 −1 lib/usergrid/version.rb
View
@@ -181,6 +181,10 @@ usergrid_iron/spec/spec_settings.yaml to match.)
## Release notes
### 0.0.7
* Bug fixes
1. multiple_entities? should check data['list']
### 0.0.6
* New features
1. iterators can now optionally cross page boundaries, eg. `collection.follow_cursor.each`
@@ -19,7 +19,7 @@ def collection
end
def multiple_entities?
entities_data = data['entities'] || data['data'] || data['messages']
entities_data = data['entities'] || data['data'] || data['messages'] || data['list']
entities_data.is_a? Array
end
View
@@ -1,3 +1,3 @@
module Usergrid
VERSION = '0.0.6'
VERSION = '0.0.7'
end

0 comments on commit 769c02a

Please sign in to comment.