rjack-httpclient-4 4.3.1.0-java → 4.3.5.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +3 -0
- data/Manifest.txt +2 -2
- data/NOTICE.txt +1 -1
- data/README.rdoc +6 -6
- data/Rakefile +6 -5
- data/lib/rjack-httpclient-4.rb +1 -1
- data/lib/rjack-httpclient-4/base.rb +2 -2
- data/lib/rjack-httpclient-4/{httpclient-4.3.1.jar → httpclient-4.3.5.jar} +0 -0
- data/lib/rjack-httpclient-4/{httpcore-4.3.jar → httpcore-4.3.2.jar} +0 -0
- data/pom.xml +2 -2
- data/test/test_httpclient.rb +16 -4
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d39a8bd283dd5c0ef2ee63d789b3f76ca3fc3699
|
4
|
+
data.tar.gz: f74a42a59f69495b8eefcd26438f51c0b53d1ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5faf0c9634e4c8391ea9db673729a79221102cb62e23439d2470d27b1a155c463352c8d4bde7bbad61c3816cd736d6eca54f0d8a44f2c122a6bce5f22520feb9
|
7
|
+
data.tar.gz: 076b47ac62949ef315c526e175ddac760e150cc6e49559e544fa8b8632212ea7cc6cb35d0e1062a092382f62e93c14945d0cc4d60d24989ad56fa09c3958a02c
|
data/History.rdoc
CHANGED
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.3.
|
12
|
-
lib/rjack-httpclient-4/httpcore-4.3.jar
|
11
|
+
lib/rjack-httpclient-4/httpclient-4.3.5.jar
|
12
|
+
lib/rjack-httpclient-4/httpcore-4.3.2.jar
|
data/NOTICE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
= rjack-httpclient-4
|
2
2
|
|
3
|
-
* http://rjack.
|
4
|
-
* http://rjack.
|
3
|
+
* http://rjack.gravitext.com/httpclient-4
|
4
|
+
* http://rjack.gravitext.com
|
5
5
|
* https://github.com/dekellum/rjack
|
6
6
|
|
7
7
|
== Description
|
@@ -36,12 +36,12 @@ See {org.apache.http.client.HttpClient}[http://hc.apache.org/httpcomponents-clie
|
|
36
36
|
|
37
37
|
== Requirements
|
38
38
|
|
39
|
-
* rjack-commons-codec[http://rjack.
|
39
|
+
* rjack-commons-codec[http://rjack.gravitext.com/commons-codec].
|
40
40
|
|
41
|
-
* rjack-slf4j[http://rjack.
|
41
|
+
* rjack-slf4j[http://rjack.gravitext.com/slf4j].
|
42
42
|
|
43
43
|
* An SLF4J output adaptor such as 'rjack-slf4j/simple' or
|
44
|
-
rjack-logback[http://rjack.
|
44
|
+
rjack-logback[http://rjack.gravitext.com/logback] must be require'd
|
45
45
|
before rjack-httpclient. (The rjack-logback gem is listed as a
|
46
46
|
development dependency only.)
|
47
47
|
|
@@ -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-2014 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
@@ -4,10 +4,11 @@ require 'rubygems'
|
|
4
4
|
require 'bundler/setup'
|
5
5
|
require 'rjack-tarpit'
|
6
6
|
|
7
|
-
RJack::TarPit.new( 'rjack-httpclient-4' )
|
8
|
-
|
9
|
-
tp.rdoc_destinations <<
|
10
|
-
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/httpclient-4'
|
11
|
-
tp.publish_rdoc_rsync_flags = %w[ -rL ]
|
7
|
+
RJack::TarPit.new( 'rjack-httpclient-4' ).define_tasks
|
12
8
|
|
9
|
+
desc "Upload RDOC to Amazon S3 (rdoc.gravitext.com/rjack, Oregon)"
|
10
|
+
task :publish_rdoc => [ :clean, :rerdoc ] do
|
11
|
+
sh <<-SH
|
12
|
+
aws s3 sync --acl public-read doc/ s3://rjack.gravitext.com/httpclient-4/
|
13
|
+
SH
|
13
14
|
end
|
data/lib/rjack-httpclient-4.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2008-
|
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 RJack
|
18
18
|
module HTTPClient4
|
19
|
-
HTTPCLIENT_VERSION = '4.3.
|
19
|
+
HTTPCLIENT_VERSION = '4.3.5'
|
20
20
|
VERSION = HTTPCLIENT_VERSION + '.0'
|
21
21
|
|
22
22
|
HTTPCLIENT_DIR = File.dirname( __FILE__ ) # :nodoc:
|
Binary file
|
Binary file
|
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.3.
|
19
|
+
<version>4.3.5</version>
|
20
20
|
<exclusions>
|
21
21
|
<exclusion>
|
22
22
|
<groupId>commons-logging</groupId>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<dependency>
|
29
29
|
<groupId>org.apache.httpcomponents</groupId>
|
30
30
|
<artifactId>httpcore</artifactId>
|
31
|
-
<version>4.3</version>
|
31
|
+
<version>4.3.2</version>
|
32
32
|
</dependency>
|
33
33
|
|
34
34
|
<!--
|
data/test/test_httpclient.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c) 2008-
|
5
|
+
# Copyright (c) 2008-2014 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
|
@@ -21,7 +21,7 @@ require 'rubygems'
|
|
21
21
|
|
22
22
|
require 'rjack-logback'
|
23
23
|
|
24
|
-
RJack::Logback.config_console( :level => RJack::Logback::
|
24
|
+
RJack::Logback.config_console( :level => RJack::Logback::INFO )
|
25
25
|
if ARGV.include?( '-v' ) || ARGV.include?( '--verbose' )
|
26
26
|
RJack::Logback.root.level = RJack::Logback::DEBUG
|
27
27
|
end
|
@@ -33,6 +33,8 @@ require 'rjack-httpclient-4'
|
|
33
33
|
|
34
34
|
class TestClient < MiniTest::Unit::TestCase
|
35
35
|
include RJack::HTTPClient4
|
36
|
+
import 'org.apache.http.client.methods.HttpGet'
|
37
|
+
|
36
38
|
def test_setup
|
37
39
|
mf = ManagerFacade.new
|
38
40
|
|
@@ -54,11 +56,21 @@ class TestClient < MiniTest::Unit::TestCase
|
|
54
56
|
mf.set_retry_handler( 2 )
|
55
57
|
|
56
58
|
mf.start
|
57
|
-
|
58
59
|
refute_nil mf.client
|
59
60
|
|
60
61
|
mf.shutdown
|
61
|
-
|
62
62
|
assert_nil mf.client
|
63
63
|
end
|
64
|
+
|
65
|
+
def test_get
|
66
|
+
mf = ManagerFacade.new
|
67
|
+
mf.start
|
68
|
+
client = mf.client
|
69
|
+
res = client.execute( HttpGet.new( "http://rjack.gravitext.com" ) )
|
70
|
+
assert( 200, res.status_line.status_code )
|
71
|
+
ensure
|
72
|
+
res.close if res
|
73
|
+
mf.shutdown if mf
|
74
|
+
end
|
75
|
+
|
64
76
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjack-httpclient-4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.5.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- David Kellum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rjack-slf4j
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 1.6.0
|
40
40
|
- - <
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '1.
|
42
|
+
version: '1.10'
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '>='
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: 1.6.0
|
48
48
|
- - <
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '1.
|
50
|
+
version: '1.10'
|
51
51
|
prerelease: false
|
52
52
|
type: :runtime
|
53
53
|
- !ruby/object:Gem::Dependency
|
@@ -78,18 +78,32 @@ dependencies:
|
|
78
78
|
version: 4.7.4
|
79
79
|
prerelease: false
|
80
80
|
type: :development
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: rdoc
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 4.0.1
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ~>
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 4.0.1
|
93
|
+
prerelease: false
|
94
|
+
type: :development
|
81
95
|
- !ruby/object:Gem::Dependency
|
82
96
|
name: rjack-tarpit
|
83
97
|
version_requirements: !ruby/object:Gem::Requirement
|
84
98
|
requirements:
|
85
99
|
- - ~>
|
86
100
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
101
|
+
version: '2.1'
|
88
102
|
requirement: !ruby/object:Gem::Requirement
|
89
103
|
requirements:
|
90
104
|
- - ~>
|
91
105
|
- !ruby/object:Gem::Version
|
92
|
-
version: '2.
|
106
|
+
version: '2.1'
|
93
107
|
prerelease: false
|
94
108
|
type: :development
|
95
109
|
description:
|
@@ -111,9 +125,9 @@ files:
|
|
111
125
|
- lib/rjack-httpclient-4/base.rb
|
112
126
|
- lib/rjack-httpclient-4.rb
|
113
127
|
- test/test_httpclient.rb
|
114
|
-
- lib/rjack-httpclient-4/httpclient-4.3.
|
115
|
-
- lib/rjack-httpclient-4/httpcore-4.3.jar
|
116
|
-
homepage: http://rjack.
|
128
|
+
- lib/rjack-httpclient-4/httpclient-4.3.5.jar
|
129
|
+
- lib/rjack-httpclient-4/httpcore-4.3.2.jar
|
130
|
+
homepage: http://rjack.gravitext.com/httpclient-4
|
117
131
|
licenses: []
|
118
132
|
metadata: {}
|
119
133
|
post_install_message:
|
@@ -134,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
148
|
version: '0'
|
135
149
|
requirements: []
|
136
150
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.1.
|
151
|
+
rubygems_version: 2.1.9
|
138
152
|
signing_key:
|
139
153
|
specification_version: 4
|
140
154
|
summary: A gem packaging of the HttpComponents HTTP Client 4.x for JRuby.
|