panda 0.6.1 → 0.6.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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/panda/panda.rb +4 -4
  3. data/panda.gemspec +2 -2
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -11,11 +11,11 @@ class Panda
11
11
  connection.get(request_uri, params)
12
12
  end
13
13
 
14
- def self.post(request_uri, params)
14
+ def self.post(request_uri, params={})
15
15
  connection.post(request_uri, params)
16
16
  end
17
17
 
18
- def self.put(request_uri, params)
18
+ def self.put(request_uri, params={})
19
19
  connection.put(request_uri, params)
20
20
  end
21
21
 
@@ -80,13 +80,13 @@ class Panda
80
80
  end
81
81
  end
82
82
 
83
- def post(request_uri, params)
83
+ def post(request_uri, params={})
84
84
  rescue_restclient_exception do
85
85
  body_of @connection[request_uri].post(signed_params("POST", request_uri, params))
86
86
  end
87
87
  end
88
88
 
89
- def put(request_uri, params)
89
+ def put(request_uri, params={})
90
90
  rescue_restclient_exception do
91
91
  body_of @connection[request_uri].put(signed_params("PUT", request_uri, params))
92
92
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{panda}
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["New Bamboo"]
12
- s.date = %q{2010-06-08}
12
+ s.date = %q{2010-06-11}
13
13
  s.description = %q{Panda Client}
14
14
  s.email = %q{info@pandastream.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - New Bamboo
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-06-08 00:00:00 +01:00
12
+ date: 2010-06-11 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency