hungryblank-aws_sdb_bare 0.1.1 → 0.1.2

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
2
  :patch: 0
3
3
  :major: 1
4
- :minor: 1
4
+ :minor: 2
@@ -62,7 +62,7 @@ module AwsSdb
62
62
  end
63
63
 
64
64
  def metadata
65
- @metadata ||= ResponseMetadata.new(@doc.at('ResponseMetadata'))
65
+ @metadata ||= Metadata.new(@doc.at('ResponseMetadata'))
66
66
  end
67
67
 
68
68
  #the token to get the following chunk of response in case the response
@@ -71,6 +71,16 @@ class AwsSdbRequestTest < Test::Unit::TestCase
71
71
 
72
72
  end
73
73
 
74
+ context "parsing a request" do
75
+
76
+ should "return the metadata" do
77
+ response = Response.parse(SAMPLE_RESPONSES['ListDomains'])
78
+ assert_equal '0.0000071759', response.metadata.box_usage
79
+ end
80
+ %w(ListDomains DomainMetadata)
81
+
82
+ end
83
+
74
84
  context "parsing DomainMetadata" do
75
85
 
76
86
  should "provide direct acceess to attributes" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hungryblank-aws_sdb_bare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Negri
@@ -62,6 +62,6 @@ rubyforge_project:
62
62
  rubygems_version: 1.2.0
63
63
  signing_key:
64
64
  specification_version: 3
65
- summary: TODO
65
+ summary: gem wrapping the Amazon AWS SimpleDB api, xml parsing via nokogiri OR hpricot, you chose your http lib!
66
66
  test_files: []
67
67