hungryblank-dead_simple_db 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 2
2
+ :patch: 3
3
3
  :major: 0
4
4
  :minor: 0
@@ -60,7 +60,10 @@ module DeadSimpleDb
60
60
  #
61
61
  def find(how_many, query, opts={})
62
62
  results, token = service.query_with_attributes(@domain, query, parse_limit(how_many))
63
- results.map! { |hash| new(hash) }
63
+ results.map! do |hash|
64
+ serial = hash.delete('Name')
65
+ new(hash, :serial => serial)
66
+ end
64
67
  return results.first if how_many == :first
65
68
  results
66
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hungryblank-dead_simple_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Negri
@@ -14,6 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdb
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements: