iudex-jetty-httpclient 1.4.0-java → 1.5.0-java

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a07b6466a1c0d2291ec1eb6cc7b671c63b99c6f5
4
+ data.tar.gz: a5ab924033d91aa278f9144289c37f7767586206
5
+ SHA512:
6
+ metadata.gz: f5cd05f252dc7a2fc5bb48913882d436f56631107c5437f746fd08c898d21e99431406bb90dfac1341b432b3b2558739fa52c82b552fc196a78b40e973207843
7
+ data.tar.gz: 27aed1b72d35c03fcc3bd69ff09de709765b373710bbcf7ceb7ab9f16899cf8ebe9c581411328245c047555f1509fe10ef9bbbbc6318cadd68488b56a64c53ad
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.5.0 (2014-3-27)
2
+ Note: this release is at this time considered experimental or an "alpha"
3
+ by comparison to 1.4.0
4
+ * Expand to >= 1.4.0, < 1.7 iudex dependencies
5
+ * Upgrade (mandatory) to rjack-jetty ~> 9.1.0 (java compile-time changes)
6
+
1
7
  === 1.4.0 (2013-10-29)
2
8
  * Upgrade to rjack-jetty >= 9.0.0.5, < 9.1. This is a major
3
9
  re-implementation throughout, with iudex configuration interface
data/Manifest.txt CHANGED
@@ -7,4 +7,4 @@ lib/iudex-jetty-httpclient/base.rb
7
7
  lib/iudex-jetty-httpclient.rb
8
8
  test/setup.rb
9
9
  test/test_httpclient.rb
10
- lib/iudex-jetty-httpclient/iudex-jetty-httpclient-1.4.0.jar
10
+ lib/iudex-jetty-httpclient/iudex-jetty-httpclient-1.5.0.jar
data/README.rdoc CHANGED
@@ -11,7 +11,7 @@ iudex-http interfaces.
11
11
 
12
12
  == License
13
13
 
14
- Copyright (c) 2008-2013 David Kellum
14
+ Copyright (c) 2008-2014 David Kellum
15
15
 
16
16
  Licensed under the Apache License, Version 2.0 (the "License"); you
17
17
  may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2013 David Kellum
2
+ # Copyright (c) 2008-2014 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2013 David Kellum
2
+ # Copyright (c) 2008-2014 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Iudex
18
18
  module JettyHTTPClient
19
- VERSION = '1.4.0'
19
+ VERSION = '1.5.0'
20
20
 
21
21
  LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
22
22
  end
data/pom.xml CHANGED
@@ -5,7 +5,7 @@
5
5
  <groupId>iudex</groupId>
6
6
  <artifactId>iudex-jetty-httpclient</artifactId>
7
7
  <packaging>jar</packaging>
8
- <version>1.4.0</version>
8
+ <version>1.5.0</version>
9
9
  <name>Iudex Jetty HTTP Client Adaptor</name>
10
10
 
11
11
  <parent>
@@ -20,13 +20,13 @@
20
20
  <dependency>
21
21
  <groupId>iudex</groupId>
22
22
  <artifactId>iudex-http</artifactId>
23
- <version>[1.4.0,1.4.999)</version>
23
+ <version>[1.4.0,1.7)</version>
24
24
  </dependency>
25
25
 
26
26
  <dependency>
27
27
  <groupId>org.eclipse.jetty</groupId>
28
28
  <artifactId>jetty-client</artifactId>
29
- <version>[9.0.0.v20130308,9.0.9999)</version>
29
+ <version>[9.1.0.v20131115,9.2.0)</version>
30
30
  </dependency>
31
31
 
32
32
  </dependencies>
data/test/setup.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2013 David Kellum
2
+ # Copyright (c) 2008-2014 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
 
3
3
  #--
4
- # Copyright (c) 2008-2013 David Kellum
4
+ # Copyright (c) 2008-2014 David Kellum
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License"); you
7
7
  # may not use this file except in compliance with the License. You
@@ -367,6 +367,12 @@ class TestHTTPClient < MiniTest::Unit::TestCase
367
367
  end
368
368
 
369
369
  def test_early_close
370
+ 13.times do
371
+ one_test_early_close
372
+ end
373
+ end
374
+
375
+ def one_test_early_close
370
376
  bs = BrokenServer.new
371
377
  bs.start
372
378
 
@@ -386,7 +392,8 @@ class TestHTTPClient < MiniTest::Unit::TestCase
386
392
 
387
393
  with_new_client do |client|
388
394
  with_session_handler( client, "http://localhost:19293/" ) do |s,x|
389
- assert_match( /EofException|ClosedChannelException/i, x.class.name )
395
+ assert_match( /EofException|ClosedChannelException|HttpResponseException/i,
396
+ x.class.name, x.to_string )
390
397
  end
391
398
  end
392
399
 
@@ -417,7 +424,8 @@ class TestHTTPClient < MiniTest::Unit::TestCase
417
424
 
418
425
  with_new_client do |client|
419
426
  with_session_handler( client, "http://localhost:19293/" ) do |s,x|
420
- assert_match( /EofException|ClosedChannelException/i, x.class.name )
427
+ assert_match( /EofException|ClosedChannelException|HttpResponseException/i,
428
+ x.class.name, x.to_string )
421
429
  end
422
430
  end
423
431
 
metadata CHANGED
@@ -1,52 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iudex-jetty-httpclient
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.4.0
4
+ version: 1.5.0
6
5
  platform: java
7
6
  authors:
8
7
  - David Kellum
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-30 00:00:00.000000000 Z
11
+ date: 2014-03-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: iudex-http
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ~>
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
19
  version: 1.4.0
21
- none: false
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '1.7'
22
23
  requirement: !ruby/object:Gem::Requirement
23
24
  requirements:
24
- - - ~>
25
+ - - '>='
25
26
  - !ruby/object:Gem::Version
26
27
  version: 1.4.0
27
- none: false
28
+ - - <
29
+ - !ruby/object:Gem::Version
30
+ version: '1.7'
28
31
  prerelease: false
29
32
  type: :runtime
30
33
  - !ruby/object:Gem::Dependency
31
34
  name: rjack-jetty
32
35
  version_requirements: !ruby/object:Gem::Requirement
33
36
  requirements:
34
- - - ! '>='
35
- - !ruby/object:Gem::Version
36
- version: 9.0.0.5
37
- - - <
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: '9.1'
40
- none: false
39
+ version: 9.1.0
41
40
  requirement: !ruby/object:Gem::Requirement
42
41
  requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: 9.0.0.5
46
- - - <
42
+ - - ~>
47
43
  - !ruby/object:Gem::Version
48
- version: '9.1'
49
- none: false
44
+ version: 9.1.0
50
45
  prerelease: false
51
46
  type: :runtime
52
47
  - !ruby/object:Gem::Dependency
@@ -56,13 +51,11 @@ dependencies:
56
51
  - - ~>
57
52
  - !ruby/object:Gem::Version
58
53
  version: 1.0.0
59
- none: false
60
54
  requirement: !ruby/object:Gem::Requirement
61
55
  requirements:
62
56
  - - ~>
63
57
  - !ruby/object:Gem::Version
64
58
  version: 1.0.0
65
- none: false
66
59
  prerelease: false
67
60
  type: :runtime
68
61
  - !ruby/object:Gem::Dependency
@@ -72,13 +65,11 @@ dependencies:
72
65
  - - ~>
73
66
  - !ruby/object:Gem::Version
74
67
  version: 4.7.4
75
- none: false
76
68
  requirement: !ruby/object:Gem::Requirement
77
69
  requirements:
78
70
  - - ~>
79
71
  - !ruby/object:Gem::Version
80
72
  version: 4.7.4
81
- none: false
82
73
  prerelease: false
83
74
  type: :development
84
75
  - !ruby/object:Gem::Dependency
@@ -88,13 +79,17 @@ dependencies:
88
79
  - - ~>
89
80
  - !ruby/object:Gem::Version
90
81
  version: 1.4.0
91
- none: false
82
+ - - <
83
+ - !ruby/object:Gem::Version
84
+ version: '1.7'
92
85
  requirement: !ruby/object:Gem::Requirement
93
86
  requirements:
94
87
  - - ~>
95
88
  - !ruby/object:Gem::Version
96
89
  version: 1.4.0
97
- none: false
90
+ - - <
91
+ - !ruby/object:Gem::Version
92
+ version: '1.7'
98
93
  prerelease: false
99
94
  type: :development
100
95
  - !ruby/object:Gem::Dependency
@@ -104,13 +99,11 @@ dependencies:
104
99
  - - ~>
105
100
  - !ruby/object:Gem::Version
106
101
  version: '1.5'
107
- none: false
108
102
  requirement: !ruby/object:Gem::Requirement
109
103
  requirements:
110
104
  - - ~>
111
105
  - !ruby/object:Gem::Version
112
106
  version: '1.5'
113
- none: false
114
107
  prerelease: false
115
108
  type: :development
116
109
  - !ruby/object:Gem::Dependency
@@ -119,14 +112,12 @@ dependencies:
119
112
  requirements:
120
113
  - - ~>
121
114
  - !ruby/object:Gem::Version
122
- version: '2.0'
123
- none: false
115
+ version: '2.1'
124
116
  requirement: !ruby/object:Gem::Requirement
125
117
  requirements:
126
118
  - - ~>
127
119
  - !ruby/object:Gem::Version
128
- version: '2.0'
129
- none: false
120
+ version: '2.1'
130
121
  prerelease: false
131
122
  type: :development
132
123
  description: Iudex is a general purpose web crawler and feed processor in ruby/java. This gem is a Jetty HTTP Client based implementation of the iudex-http interfaces.
@@ -147,9 +138,11 @@ files:
147
138
  - lib/iudex-jetty-httpclient.rb
148
139
  - test/setup.rb
149
140
  - test/test_httpclient.rb
150
- - lib/iudex-jetty-httpclient/iudex-jetty-httpclient-1.4.0.jar
141
+ - lib/iudex-jetty-httpclient/iudex-jetty-httpclient-1.5.0.jar
151
142
  homepage: http://iudex.gravitext.com
152
- licenses: []
143
+ licenses:
144
+ - Apache-2.0
145
+ metadata: {}
153
146
  post_install_message:
154
147
  rdoc_options:
155
148
  - --main
@@ -158,27 +151,18 @@ require_paths:
158
151
  - lib
159
152
  required_ruby_version: !ruby/object:Gem::Requirement
160
153
  requirements:
161
- - - ! '>='
154
+ - - '>='
162
155
  - !ruby/object:Gem::Version
163
- version: '0'
164
- segments:
165
- - 0
166
- hash: 2
167
- none: false
156
+ version: 1.8.7
168
157
  required_rubygems_version: !ruby/object:Gem::Requirement
169
158
  requirements:
170
- - - ! '>='
159
+ - - '>='
171
160
  - !ruby/object:Gem::Version
172
161
  version: '0'
173
- segments:
174
- - 0
175
- hash: 2
176
- none: false
177
162
  requirements: []
178
163
  rubyforge_project:
179
- rubygems_version: 1.8.24
164
+ rubygems_version: 2.1.9
180
165
  signing_key:
181
- specification_version: 3
166
+ specification_version: 4
182
167
  summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
183
168
  test_files: []
184
- ...