iudex-async-httpclient 1.1.0-java → 1.2.b.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +3 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +2 -38
- data/lib/iudex-async-httpclient.rb +1 -1
- data/lib/iudex-async-httpclient/base.rb +2 -2
- data/lib/iudex-async-httpclient/{iudex-async-httpclient-1.1.0.jar → iudex-async-httpclient-1.2.b.0.jar} +0 -0
- data/pom.xml +3 -3
- data/test/setup.rb +19 -16
- data/test/test_httpclient.rb +1 -1
- metadata +39 -41
- data/.gemtest +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ of the iudex-http interfaces.
|
|
10
10
|
|
11
11
|
== License
|
12
12
|
|
13
|
-
Copyright (c)
|
13
|
+
Copyright (c) 2008-2012 David Kellum
|
14
14
|
|
15
15
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
16
16
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,43 +1,7 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'iudex-async-httpclient/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
Iudex::AsyncHTTPClient::VERSION,
|
12
|
-
:no_assembly, :java_platform )
|
13
|
-
|
14
|
-
t.specify do |h|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
|
-
|
17
|
-
h.extra_deps += [ [ 'iudex-http', '~> 1.1.0' ],
|
18
|
-
[ 'rjack-async-httpclient', '~> 1.6.5' ],
|
19
|
-
[ 'hooker', '~> 1.0.0' ] ]
|
20
|
-
|
21
|
-
h.testlib = :minitest
|
22
|
-
h.extra_dev_deps += [ [ 'minitest', '~> 2.3' ],
|
23
|
-
[ 'iudex-http-test', '~> 1.1.0' ],
|
24
|
-
[ 'rjack-logback', '~> 1.0' ] ]
|
25
|
-
end
|
26
|
-
|
27
|
-
file 'Manifest.txt' => "lib/#{t.name}/base.rb"
|
28
|
-
|
29
|
-
task :check_pom_version do
|
30
|
-
t.test_line_match( 'pom.xml', /<version>/, /#{t.version}/ )
|
31
|
-
end
|
32
|
-
task :check_history_version do
|
33
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
34
|
-
end
|
35
|
-
task :check_history_date do
|
36
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
37
|
-
end
|
38
|
-
|
39
|
-
task :gem => [ :check_pom_version, :check_history_version ]
|
40
|
-
task :tag => [ :check_pom_version, :check_history_version, :check_history_date ]
|
41
|
-
task :push => [ :check_history_date ]
|
42
|
-
|
43
|
-
t.define_tasks
|
7
|
+
RJack::TarPit.new( 'iudex-async-httpclient' ).define_tasks
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
2
|
+
# Copyright (c) 2008-2012 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 AsyncHTTPClient
|
19
|
-
VERSION = '1.
|
19
|
+
VERSION = '1.2.b.0'
|
20
20
|
|
21
21
|
LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
|
22
22
|
end
|
Binary file
|
data/pom.xml
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
<groupId>iudex</groupId>
|
6
6
|
<artifactId>iudex-async-httpclient</artifactId>
|
7
7
|
<packaging>jar</packaging>
|
8
|
-
<version>1.
|
8
|
+
<version>1.2.b.0</version>
|
9
9
|
<name>Iudex Async HTTP Client Adaptor</name>
|
10
10
|
|
11
11
|
<parent>
|
12
12
|
<groupId>iudex</groupId>
|
13
13
|
<artifactId>iudex-parent</artifactId>
|
14
|
-
<version>1.
|
14
|
+
<version>1.2.b.0</version>
|
15
15
|
<relativePath>..</relativePath>
|
16
16
|
</parent>
|
17
17
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<dependency>
|
21
21
|
<groupId>iudex</groupId>
|
22
22
|
<artifactId>iudex-http</artifactId>
|
23
|
-
<version>[1.
|
23
|
+
<version>[1.2,1.2.9999)</version>
|
24
24
|
</dependency>
|
25
25
|
|
26
26
|
<dependency>
|
data/test/setup.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
2
|
+
# Copyright (c) 2008-2012 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
|
@@ -14,31 +14,34 @@
|
|
14
14
|
# permissions and limitations under the License.
|
15
15
|
#++
|
16
16
|
|
17
|
-
#### General test setup
|
18
|
-
|
19
|
-
ldir = File.join( File.dirname( __FILE__ ), "..", "lib" )
|
20
|
-
$LOAD_PATH.unshift( ldir ) unless $LOAD_PATH.include?( ldir )
|
17
|
+
#### General test setup, logging, console output ####
|
21
18
|
|
22
19
|
require 'rubygems'
|
23
|
-
require '
|
20
|
+
require 'bundler/setup'
|
21
|
+
|
24
22
|
require 'minitest/unit'
|
25
23
|
require 'minitest/autorun'
|
26
24
|
|
25
|
+
require 'rjack-logback'
|
26
|
+
|
27
27
|
module TestSetup
|
28
28
|
include RJack
|
29
|
-
Logback.config_console( :stderr => true )
|
29
|
+
Logback.config_console( :stderr => true, :thread => true )
|
30
|
+
|
31
|
+
if ( ARGV & %w[ -v --verbose --debug ] ).empty?
|
32
|
+
# Make test output logging compatible: no partial lines.
|
33
|
+
class TestOut
|
34
|
+
def print( *a ); $stdout.puts( *a ); end
|
35
|
+
def puts( *a ); $stdout.puts( *a ); end
|
36
|
+
end
|
37
|
+
MiniTest::Unit.output = TestOut.new
|
30
38
|
|
31
|
-
unless ( ARGV & %w[ -v --verbose ] ).empty?
|
32
|
-
Logback.root.level = Logback::DEBUG
|
33
|
-
else
|
34
39
|
sl = [ "com.ning.http.client.providers.netty.NettyAsyncHttpProvider" ]
|
35
40
|
sl.each { |l| Logback[ l ].level = Logback::WARN }
|
41
|
+
else
|
42
|
+
Logback.root.level = Logback::DEBUG
|
36
43
|
end
|
37
|
-
end
|
38
44
|
|
39
|
-
|
40
|
-
|
41
|
-
def print( *a ); $stdout.puts( *a ); end
|
42
|
-
def puts( *a ); $stdout.puts( *a ); end
|
45
|
+
ARGV.delete( '--debug' )
|
46
|
+
|
43
47
|
end
|
44
|
-
MiniTest::Unit.output = TestOut.new
|
data/test/test_httpclient.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c)
|
5
|
+
# Copyright (c) 2008-2012 David Kellum
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
8
8
|
# may not use this file except in compliance with the License. You
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iudex-async-httpclient
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.
|
4
|
+
prerelease: 4
|
5
|
+
version: 1.2.b.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
@@ -10,89 +10,86 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2012-03-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: iudex-http
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
21
20
|
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
22
|
+
version: 1.2.b
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
24
25
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rjack-async-httpclient
|
28
|
-
|
29
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
30
29
|
none: false
|
31
30
|
requirements:
|
32
31
|
- - ~>
|
33
32
|
- !ruby/object:Gem::Version
|
34
33
|
version: 1.6.5
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
35
36
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: hooker
|
39
|
-
|
40
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
41
|
requirements:
|
43
42
|
- - ~>
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: 1.0.0
|
45
|
+
requirement: *id003
|
46
|
+
prerelease: false
|
46
47
|
type: :runtime
|
47
|
-
version_requirements: *id003
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: minitest
|
50
|
-
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
50
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
52
51
|
none: false
|
53
52
|
requirements:
|
54
53
|
- - ~>
|
55
54
|
- !ruby/object:Gem::Version
|
56
55
|
version: "2.3"
|
56
|
+
requirement: *id004
|
57
|
+
prerelease: false
|
57
58
|
type: :development
|
58
|
-
version_requirements: *id004
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: iudex-http-test
|
61
|
-
|
62
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
61
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
63
62
|
none: false
|
64
63
|
requirements:
|
65
64
|
- - ~>
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
66
|
+
version: 1.2.b
|
67
|
+
requirement: *id005
|
68
|
+
prerelease: false
|
68
69
|
type: :development
|
69
|
-
version_requirements: *id005
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rjack-logback
|
72
|
-
|
73
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
72
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
74
73
|
none: false
|
75
74
|
requirements:
|
76
75
|
- - ~>
|
77
76
|
- !ruby/object:Gem::Version
|
78
77
|
version: "1.0"
|
78
|
+
requirement: *id006
|
79
|
+
prerelease: false
|
79
80
|
type: :development
|
80
|
-
version_requirements: *id006
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rjack-tarpit
|
83
|
-
|
84
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
83
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
85
84
|
none: false
|
86
85
|
requirements:
|
87
86
|
- - ~>
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
88
|
+
version: "2.0"
|
89
|
+
requirement: *id007
|
90
|
+
prerelease: false
|
90
91
|
type: :development
|
91
|
-
|
92
|
-
description: |-
|
93
|
-
Iudex is a general purpose web crawler and feed processor in
|
94
|
-
ruby/java. This gem is an rjack-async-httpclient based implementation
|
95
|
-
of the iudex-http interfaces.
|
92
|
+
description: Iudex is a general purpose web crawler and feed processor in ruby/java. This gem is an rjack-async-httpclient based implementation of the iudex-http interfaces.
|
96
93
|
email:
|
97
94
|
- dek-oss@gravitext.com
|
98
95
|
executables: []
|
@@ -100,7 +97,6 @@ executables: []
|
|
100
97
|
extensions: []
|
101
98
|
|
102
99
|
extra_rdoc_files:
|
103
|
-
- Manifest.txt
|
104
100
|
- History.rdoc
|
105
101
|
- README.rdoc
|
106
102
|
files:
|
@@ -113,8 +109,7 @@ files:
|
|
113
109
|
- lib/iudex-async-httpclient.rb
|
114
110
|
- test/setup.rb
|
115
111
|
- test/test_httpclient.rb
|
116
|
-
- lib/iudex-async-httpclient/iudex-async-httpclient-1.
|
117
|
-
- .gemtest
|
112
|
+
- lib/iudex-async-httpclient/iudex-async-httpclient-1.2.b.0.jar
|
118
113
|
homepage: http://github.com/dekellum/iudex
|
119
114
|
licenses: []
|
120
115
|
|
@@ -129,19 +124,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
124
|
requirements:
|
130
125
|
- - ">="
|
131
126
|
- !ruby/object:Gem::Version
|
127
|
+
hash: 2
|
128
|
+
segments:
|
129
|
+
- 0
|
132
130
|
version: "0"
|
133
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
132
|
none: false
|
135
133
|
requirements:
|
136
|
-
- - "
|
134
|
+
- - ">"
|
137
135
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
136
|
+
version: 1.3.1
|
139
137
|
requirements: []
|
140
138
|
|
141
|
-
rubyforge_project:
|
142
|
-
rubygems_version: 1.8.
|
139
|
+
rubyforge_project:
|
140
|
+
rubygems_version: 1.8.15
|
143
141
|
signing_key:
|
144
142
|
specification_version: 3
|
145
|
-
summary: Iudex is a general purpose web crawler and feed processor in ruby/java
|
146
|
-
test_files:
|
147
|
-
|
143
|
+
summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
|
144
|
+
test_files: []
|
145
|
+
|
data/.gemtest
DELETED
File without changes
|