panda 0.6.0 → 0.6.1
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.
- data/VERSION +1 -1
- data/lib/panda/panda.rb +0 -1
- data/panda.gemspec +1 -1
- data/spec/panda_spec.rb +4 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/lib/panda/panda.rb
CHANGED
data/panda.gemspec
CHANGED
data/spec/panda_spec.rb
CHANGED
@@ -96,7 +96,7 @@ describe Panda do
|
|
96
96
|
|
97
97
|
resource.stub!(:get).and_raise(e)
|
98
98
|
|
99
|
-
panda = Panda::Connection.new({"access_key" => "my_access_key", "secret_key" => "my_secret_key", "api_host" => "myapihost", "api_port" => 85, "cloud_id" => 'my_cloud_id' })
|
99
|
+
panda = Panda::Connection.new({"access_key" => "my_access_key", "secret_key" => "my_secret_key", "api_host" => "myapihost", "api_port" => 85, "cloud_id" => 'my_cloud_id', "format" => "json" })
|
100
100
|
panda.get("/videos").should == "abc"
|
101
101
|
end
|
102
102
|
end
|
@@ -132,7 +132,10 @@ describe Panda do
|
|
132
132
|
end
|
133
133
|
|
134
134
|
describe "Using hash as a return format" do
|
135
|
+
|
135
136
|
before(:each) do
|
137
|
+
puts "here"
|
138
|
+
|
136
139
|
@panda = Panda::Connection.new({"access_key" => "my_access_key", "secret_key" => "my_secret_key", "api_host" => "myapihost", "api_port" => 85, "cloud_id" => 'my_cloud_id' })
|
137
140
|
end
|
138
141
|
|