rjack-httpclient-4 4.3.1.0-java → 4.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67babdd06647de37df1ba76e3161d1ac796e6037
4
- data.tar.gz: 849bca3d49ab922d2da35fb1156d84ee84b53de4
3
+ metadata.gz: d39a8bd283dd5c0ef2ee63d789b3f76ca3fc3699
4
+ data.tar.gz: f74a42a59f69495b8eefcd26438f51c0b53d1ea2
5
5
  SHA512:
6
- metadata.gz: c88e15236b511571e7817fe9d3e715ecafcf311d95b8b319ed95884bd3b63c73a36e13937a47014873f589ddbc8edbe8ecc3076dbac34ca7839c26149921bfc7
7
- data.tar.gz: a457e2e7e47961a216bb86618b03ea0335d7efbdf2eaf671ed19de6a50be0a3dee943966940db26bb368afad0540384a2115b97e14106e0268b89dff0926f436
6
+ metadata.gz: 5faf0c9634e4c8391ea9db673729a79221102cb62e23439d2470d27b1a155c463352c8d4bde7bbad61c3816cd736d6eca54f0d8a44f2c122a6bce5f22520feb9
7
+ data.tar.gz: 076b47ac62949ef315c526e175ddac760e150cc6e49559e544fa8b8632212ea7cc6cb35d0e1062a092382f62e93c14945d0cc4d60d24989ad56fa09c3958a02c
@@ -1,3 +1,6 @@
1
+ === 4.3.5.0 (2014-8-19)
2
+ * Upgrade to httpclient 4.3.5, httpcore 4.3.2
3
+
1
4
  === 4.3.1.0 (2013-10-11)
2
5
  * Upgrade to httpclient 4.3.1, httpcore 4.3
3
6
 
@@ -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.1.jar
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
@@ -1,5 +1,5 @@
1
1
  rjack-httpclient-4 gem
2
- Copyright (c) 2008-2013 David Kellum
2
+ Copyright (c) 2008-2014 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
@@ -1,7 +1,7 @@
1
1
  = rjack-httpclient-4
2
2
 
3
- * http://rjack.rubyforge.org/httpclient-4
4
- * http://rjack.rubyforge.org
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.rubyforge.org/commons-codec].
39
+ * rjack-commons-codec[http://rjack.gravitext.com/commons-codec].
40
40
 
41
- * rjack-slf4j[http://rjack.rubyforge.org/slf4j].
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.rubyforge.org/logback] must be require'd
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-2013 David Kellum
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' ) do |tp|
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
@@ -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 RJack
18
18
  module HTTPClient4
19
- HTTPCLIENT_VERSION = '4.3.1'
19
+ HTTPCLIENT_VERSION = '4.3.5'
20
20
  VERSION = HTTPCLIENT_VERSION + '.0'
21
21
 
22
22
  HTTPCLIENT_DIR = File.dirname( __FILE__ ) # :nodoc:
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.1</version>
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
  <!--
@@ -2,7 +2,7 @@
2
2
  #.hashdot.profile += jruby-shortlived
3
3
 
4
4
  #--
5
- # Copyright (c) 2008-2013 David Kellum
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::DEBUG )
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.1.0
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: 2013-10-11 00:00:00.000000000 Z
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.9'
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.9'
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.0'
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.0'
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.1.jar
115
- - lib/rjack-httpclient-4/httpcore-4.3.jar
116
- homepage: http://rjack.rubyforge.org/httpclient-4
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.5
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.