aeden-jruby-http-reactor 0.3.0 → 0.3.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 CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{jruby-http-reactor}
5
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Anthony Eden"]
@@ -182,7 +182,7 @@ module HttpReactor #:nodoc:
182
182
  uri = request.uri
183
183
  attachment = {
184
184
  :host => HttpHost.new(uri.host),
185
- :path => uri.path,
185
+ :path => uri.request_uri,
186
186
  :request => request
187
187
  }
188
188
  io_reactor.connect(
data/test/client_test.rb CHANGED
@@ -8,7 +8,8 @@ class ClientTest < Test::Unit::TestCase
8
8
  'http://www.yahoo.com/',
9
9
  'http://www.google.com/',
10
10
  'http://www.apache.org/',
11
- 'http://anthony.mp/about_me'
11
+ 'http://anthony.mp/about_me',
12
+ 'http://search.twitter.com/search?q=jruby'
12
13
  ].map { |url_string| HttpReactor::Request.new(URI.parse(url_string)) }
13
14
  end
14
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aeden-jruby-http-reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Eden