rjack-httpclient-4 4.1.2.1-java → 4.2.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Manifest.txt +2 -2
- data/NOTICE.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +4 -33
- data/lib/rjack-httpclient-4/base.rb +3 -3
- data/lib/rjack-httpclient-4/httpclient-4.2.jar +0 -0
- data/lib/rjack-httpclient-4/httpcore-4.2.jar +0 -0
- data/lib/rjack-httpclient-4.rb +1 -1
- data/pom.xml +3 -3
- data/test/test_httpclient.rb +11 -6
- metadata +41 -32
- data/lib/rjack-httpclient-4/httpclient-4.1.2.jar +0 -0
- data/lib/rjack-httpclient-4/httpcore-4.1.3.jar +0 -0
data/History.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== 4.2.0.0 (2012-6-9)
|
2
|
+
* Upgrade to httpclient 4.2, httpcore 4.2; requires commons-codec 1.6
|
3
|
+
* Upgrade to tarpit ~> 2.0 (build)
|
4
|
+
|
1
5
|
=== 4.1.2.1 (2011-9-16)
|
2
6
|
* Adjust SchemaRegistry factory for backward incompatible change/bug
|
3
7
|
in 4.1.2, adversely affecting SSL, as described and disregarded
|
data/Manifest.txt
CHANGED
@@ -8,5 +8,5 @@ pom.xml
|
|
8
8
|
lib/rjack-httpclient-4/base.rb
|
9
9
|
lib/rjack-httpclient-4.rb
|
10
10
|
test/test_httpclient.rb
|
11
|
-
lib/rjack-httpclient-4/httpclient-4.
|
12
|
-
lib/rjack-httpclient-4/httpcore-4.
|
11
|
+
lib/rjack-httpclient-4/httpclient-4.2.jar
|
12
|
+
lib/rjack-httpclient-4/httpcore-4.2.jar
|
data/NOTICE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -49,7 +49,7 @@ See {org.apache.http.client.HttpClient}[http://hc.apache.org/httpcomponents-clie
|
|
49
49
|
|
50
50
|
=== rjack-httpclient-4 gem
|
51
51
|
|
52
|
-
Copyright (c) 2008-
|
52
|
+
Copyright (c) 2008-2012 David Kellum
|
53
53
|
|
54
54
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
55
55
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,41 +1,12 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'rjack-httpclient-4/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
t = TarPit.new( 'rjack-httpclient-4',
|
13
|
-
HTTPClient4::VERSION,
|
14
|
-
:jars_from_assembly, :java_platform )
|
15
|
-
|
16
|
-
t.specify do |h|
|
17
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
18
|
-
h.extra_deps += [ [ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ],
|
19
|
-
[ 'rjack-commons-codec', '~> 1.4.0' ] ]
|
20
|
-
h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.18', '< 2.0' ]
|
21
|
-
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/httpclient-4"
|
22
|
-
end
|
7
|
+
RJack::TarPit.new( 'rjack-httpclient-4' ) do |tp|
|
23
8
|
|
24
|
-
|
9
|
+
tp.rdoc_destinations <<
|
10
|
+
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/httpclient-4'
|
25
11
|
|
26
|
-
task :check_pom_deps do
|
27
|
-
t.test_line_match( 'pom.xml',
|
28
|
-
%r[<version>#{ HTTPClient4::HTTPCLIENT_VERSION }</version>] )
|
29
12
|
end
|
30
|
-
task :check_history_version do
|
31
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
32
|
-
end
|
33
|
-
task :check_history_date do
|
34
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
35
|
-
end
|
36
|
-
|
37
|
-
task :gem => [ :check_pom_deps, :check_history_version ]
|
38
|
-
task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
|
39
|
-
task :push => [ :check_history_date ]
|
40
|
-
|
41
|
-
t.define_tasks
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2008-
|
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,8 +16,8 @@
|
|
16
16
|
|
17
17
|
module RJack
|
18
18
|
module HTTPClient4
|
19
|
-
HTTPCLIENT_VERSION = '4.
|
20
|
-
VERSION = HTTPCLIENT_VERSION + '.
|
19
|
+
HTTPCLIENT_VERSION = '4.2.0'
|
20
|
+
VERSION = HTTPCLIENT_VERSION + '.0'
|
21
21
|
|
22
22
|
HTTPCLIENT_DIR = File.dirname( __FILE__ ) # :nodoc:
|
23
23
|
end
|
Binary file
|
Binary file
|
data/lib/rjack-httpclient-4.rb
CHANGED
data/pom.xml
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
<dependency>
|
17
17
|
<groupId>org.apache.httpcomponents</groupId>
|
18
18
|
<artifactId>httpclient</artifactId>
|
19
|
-
<version>4.
|
19
|
+
<version>4.2</version>
|
20
20
|
<exclusions>
|
21
21
|
<exclusion>
|
22
22
|
<groupId>commons-logging</groupId>
|
@@ -28,14 +28,14 @@
|
|
28
28
|
<dependency>
|
29
29
|
<groupId>org.apache.httpcomponents</groupId>
|
30
30
|
<artifactId>httpcore</artifactId>
|
31
|
-
<version>4.
|
31
|
+
<version>4.2</version>
|
32
32
|
</dependency>
|
33
33
|
|
34
34
|
<!--
|
35
35
|
<dependency>
|
36
36
|
<groupId>org.apache.httpcomponents</groupId>
|
37
37
|
<artifactId>httpmime</artifactId>
|
38
|
-
<version>4.
|
38
|
+
<version>4.2</version>
|
39
39
|
<exclusions>
|
40
40
|
<exclusion>
|
41
41
|
<groupId>commons-logging</groupId>
|
data/test/test_httpclient.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
|
+
#.hashdot.profile += jruby-shortlived
|
3
|
+
|
2
4
|
#--
|
3
|
-
# Copyright (c) 2008-
|
5
|
+
# Copyright (c) 2008-2012 David Kellum
|
4
6
|
#
|
5
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
6
8
|
# may not use this file except in compliance with the License. You
|
@@ -18,15 +20,18 @@
|
|
18
20
|
require 'rubygems'
|
19
21
|
|
20
22
|
require 'rjack-logback'
|
21
|
-
RJack::Logback.config_console( :level => RJack::Logback::DEBUG )
|
22
23
|
|
23
|
-
|
24
|
+
RJack::Logback.config_console( :level => RJack::Logback::DEBUG )
|
25
|
+
if ARGV.include?( '-v' ) || ARGV.include?( '--verbose' )
|
26
|
+
RJack::Logback.root.level = RJack::Logback::DEBUG
|
27
|
+
end
|
24
28
|
|
25
|
-
|
29
|
+
require 'minitest/unit'
|
30
|
+
require 'minitest/autorun'
|
26
31
|
|
27
32
|
require 'rjack-httpclient-4'
|
28
33
|
|
29
|
-
class TestClient <
|
34
|
+
class TestClient < MiniTest::Unit::TestCase
|
30
35
|
include RJack::HTTPClient4
|
31
36
|
def test_setup
|
32
37
|
mf = ManagerFacade.new
|
@@ -50,7 +55,7 @@ class TestClient < Test::Unit::TestCase
|
|
50
55
|
|
51
56
|
mf.start
|
52
57
|
|
53
|
-
|
58
|
+
refute_nil mf.client
|
54
59
|
|
55
60
|
mf.shutdown
|
56
61
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rjack-httpclient-4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 4.
|
5
|
+
version: 4.2.0.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
@@ -10,12 +10,11 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2012-06-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rjack-slf4j
|
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
|
- - ">="
|
@@ -24,23 +23,23 @@ dependencies:
|
|
24
23
|
- - <
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: "1.7"
|
26
|
+
requirement: *id001
|
27
|
+
prerelease: false
|
27
28
|
type: :runtime
|
28
|
-
version_requirements: *id001
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rjack-commons-codec
|
31
|
-
|
32
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
33
32
|
none: false
|
34
33
|
requirements:
|
35
34
|
- - ~>
|
36
35
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.
|
36
|
+
version: 1.6.0
|
37
|
+
requirement: *id002
|
38
|
+
prerelease: false
|
38
39
|
type: :runtime
|
39
|
-
version_requirements: *id002
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rjack-logback
|
42
|
-
|
43
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
44
43
|
none: false
|
45
44
|
requirements:
|
46
45
|
- - ">="
|
@@ -49,26 +48,32 @@ dependencies:
|
|
49
48
|
- - <
|
50
49
|
- !ruby/object:Gem::Version
|
51
50
|
version: "2.0"
|
51
|
+
requirement: *id003
|
52
|
+
prerelease: false
|
52
53
|
type: :development
|
53
|
-
version_requirements: *id003
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
|
-
name:
|
55
|
+
name: minitest
|
56
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: "2.2"
|
62
|
+
requirement: *id004
|
56
63
|
prerelease: false
|
57
|
-
|
64
|
+
type: :development
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rjack-tarpit
|
67
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
58
68
|
none: false
|
59
69
|
requirements:
|
60
70
|
- - ~>
|
61
71
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
72
|
+
version: "2.0"
|
73
|
+
requirement: *id005
|
74
|
+
prerelease: false
|
63
75
|
type: :development
|
64
|
-
|
65
|
-
description: |-
|
66
|
-
A gem packaging of the {HttpComponents}[http://hc.apache.org/] HTTP
|
67
|
-
Client 4.x for JRuby.
|
68
|
-
|
69
|
-
* Provides httpclient and httpcore jars.
|
70
|
-
* Provides a RJack::HTTPClient4::ManagerFacade for client and connection
|
71
|
-
manager setup, start, shutdown.
|
76
|
+
description:
|
72
77
|
email:
|
73
78
|
- dek-oss@gravitext.com
|
74
79
|
executables: []
|
@@ -76,8 +81,6 @@ executables: []
|
|
76
81
|
extensions: []
|
77
82
|
|
78
83
|
extra_rdoc_files:
|
79
|
-
- Manifest.txt
|
80
|
-
- NOTICE.txt
|
81
84
|
- History.rdoc
|
82
85
|
- README.rdoc
|
83
86
|
files:
|
@@ -91,8 +94,8 @@ files:
|
|
91
94
|
- lib/rjack-httpclient-4/base.rb
|
92
95
|
- lib/rjack-httpclient-4.rb
|
93
96
|
- test/test_httpclient.rb
|
94
|
-
- lib/rjack-httpclient-4/httpclient-4.
|
95
|
-
- lib/rjack-httpclient-4/httpcore-4.
|
97
|
+
- lib/rjack-httpclient-4/httpclient-4.2.jar
|
98
|
+
- lib/rjack-httpclient-4/httpcore-4.2.jar
|
96
99
|
homepage: http://rjack.rubyforge.org/httpclient-4
|
97
100
|
licenses: []
|
98
101
|
|
@@ -107,19 +110,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
110
|
requirements:
|
108
111
|
- - ">="
|
109
112
|
- !ruby/object:Gem::Version
|
113
|
+
hash: 2
|
114
|
+
segments:
|
115
|
+
- 0
|
110
116
|
version: "0"
|
111
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
118
|
none: false
|
113
119
|
requirements:
|
114
120
|
- - ">="
|
115
121
|
- !ruby/object:Gem::Version
|
122
|
+
hash: 2
|
123
|
+
segments:
|
124
|
+
- 0
|
116
125
|
version: "0"
|
117
126
|
requirements: []
|
118
127
|
|
119
|
-
rubyforge_project:
|
120
|
-
rubygems_version: 1.8.
|
128
|
+
rubyforge_project:
|
129
|
+
rubygems_version: 1.8.15
|
121
130
|
signing_key:
|
122
131
|
specification_version: 3
|
123
|
-
summary: A gem packaging of the
|
124
|
-
test_files:
|
125
|
-
|
132
|
+
summary: A gem packaging of the HttpComponents HTTP Client 4.x for JRuby.
|
133
|
+
test_files: []
|
134
|
+
|
Binary file
|
Binary file
|