rack-client 0.3.1.pre.a → 0.3.1.pre.b

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,7 @@ module Rack
42
42
 
43
43
  %w[ post put ].each do |method|
44
44
  eval <<-RUBY, binding, __FILE__, __LINE__ + 1
45
- def #{method}(url, headers = {}, body_or_params = nil, query_params = {})
45
+ def #{method}(url, headers = {}, body_or_params = nil, query_params = {}, &block)
46
46
  request('#{method.upcase}', url, headers, body_or_params, query_params, &block)
47
47
  end
48
48
  RUBY
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Client
3
- VERSION = "0.3.1.pre.a"
3
+ VERSION = "0.3.1.pre.b"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832052
4
+ hash: 1923832053
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 1
10
10
  - pre
11
- - a
12
- version: 0.3.1.pre.a
11
+ - b
12
+ version: 0.3.1.pre.b
13
13
  platform: ruby
14
14
  authors:
15
15
  - Tim Carey-Smith
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-10-13 00:00:00 -07:00
20
+ date: 2010-10-15 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies: []
23
23