rjack-httpclient-3 3.1.5-java → 3.1.6-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 3.1.6 (2012-6-9)
2
+ * Expand commons-codec gem dep to ~> 1.4 (tested with 1.6.0)
3
+ * Update to tarpit ~> 2.0 (build)
4
+
1
5
  === 3.1.5 (2010-8-31)
2
6
  * Remove require 'rubygems' from lib, require 'java' for imports.
3
7
  * Expand slf4j/logback gem deps for compatibility with
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  rjack-httpclient-3 gem
2
- Copyright (c) 2008-2010 David Kellum
2
+ Copyright (c) 2008-2012 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
data/README.rdoc CHANGED
@@ -1,7 +1,8 @@
1
1
  = rjack-httpclient-3
2
2
 
3
+ * http://rjack.rubyforge.org/httpclient-3
3
4
  * http://rjack.rubyforge.org
4
- * http://rubyforge.org/projects/rjack
5
+ * https://github.com/dekellum/rjack
5
6
 
6
7
  == Description
7
8
 
@@ -44,7 +45,7 @@ See {org.apache.commons.HttpClient}[http://hc.apache.org/httpclient-3.x/apidocs/
44
45
 
45
46
  === rjack-httpclient-3 gem
46
47
 
47
- Copyright (c) 2008-2010 David Kellum
48
+ Copyright (c) 2008-2012 David Kellum
48
49
 
49
50
  Licensed under the Apache License, Version 2.0 (the "License"); you
50
51
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -1,44 +1,12 @@
1
1
  # -*- ruby -*-
2
2
 
3
- $LOAD_PATH << './lib'
4
- require 'rjack-httpclient-3/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.2.0'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- include RJack
11
-
12
- t = TarPit.new( 'rjack-httpclient-3', HTTPClient3::VERSION, :java_platform )
13
-
14
- t.specify do |h|
15
- h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
- h.extra_deps += [ [ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ],
17
- [ 'rjack-commons-codec', '~> 1.4.0' ] ]
18
- h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.18', '< 2.0' ]
19
- h.rubyforge_name = "rjack"
20
- h.remote_rdoc_dir = "httpclient-3"
21
- end
22
-
23
- t.jars = [ "commons-httpclient-#{ HTTPClient3::HTTPCLIENT_VERSION }.jar" ]
7
+ RJack::TarPit.new( 'rjack-httpclient-3' ) do |tp|
24
8
 
25
- t.assembly_version = 1.0
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/httpclient-3'
26
11
 
27
- file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
28
-
29
- task :check_pom_deps do
30
- t.test_line_match( 'pom.xml',
31
- %r[<version>#{ HTTPClient3::HTTPCLIENT_VERSION }</version>] )
32
- end
33
- task :check_history_version do
34
- t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
35
- end
36
- task :check_history_date do
37
- t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
38
12
  end
39
-
40
- task :gem => [ :check_pom_deps, :check_history_version ]
41
- task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
42
- task :push => [ :check_history_date ]
43
-
44
- t.define_tasks
data/assembly.xml CHANGED
@@ -6,6 +6,7 @@
6
6
  <includeBaseDirectory>false</includeBaseDirectory>
7
7
  <dependencySets>
8
8
  <dependencySet>
9
+ <useProjectArtifact>false</useProjectArtifact>
9
10
  <includes>
10
11
  <include>commons-httpclient:commons-httpclient</include>
11
12
  </includes>
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2010 David Kellum
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2010 David Kellum
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
@@ -17,7 +17,7 @@
17
17
  module RJack
18
18
  module HTTPClient3
19
19
  HTTPCLIENT_VERSION = '3.1'
20
- VERSION = HTTPCLIENT_VERSION + '.5'
20
+ VERSION = HTTPCLIENT_VERSION + '.6'
21
21
 
22
22
  HTTPCLIENT_DIR = File.dirname( __FILE__ ) # :nodoc:
23
23
  end
data/pom.xml CHANGED
@@ -7,6 +7,10 @@
7
7
  <version>1.0</version>
8
8
  <name>HTTPClient Assembly for Gem</name>
9
9
 
10
+ <properties>
11
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12
+ </properties>
13
+
10
14
  <dependencies>
11
15
 
12
16
  <dependency>
@@ -27,34 +31,24 @@
27
31
  <plugins>
28
32
  <plugin>
29
33
  <artifactId>maven-assembly-plugin</artifactId>
34
+ <version>2.2.1</version>
30
35
  <configuration>
36
+ <attach>false</attach>
37
+ <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
31
38
  <descriptors>
32
39
  <descriptor>assembly.xml</descriptor>
33
40
  </descriptors>
34
- <tarLongFileMode>gnu</tarLongFileMode>
35
41
  </configuration>
36
42
  <executions>
37
43
  <execution>
38
44
  <id>assembly</id>
39
45
  <phase>package</phase>
40
46
  <goals>
41
- <goal>attached</goal>
47
+ <goal>single</goal>
42
48
  </goals>
43
49
  </execution>
44
50
  </executions>
45
51
  </plugin>
46
- <plugin>
47
- <artifactId>maven-compiler-plugin</artifactId>
48
- <configuration>
49
- <source>1.5</source>
50
- <target>1.5</target>
51
- <optimize>true</optimize>
52
- <debug>true</debug>
53
- <encoding>UTF-8</encoding>
54
- <showDeprecation>true</showDeprecation>
55
- <showWarnings>true</showWarnings>
56
- </configuration>
57
- </plugin>
58
52
  </plugins>
59
53
  </build>
60
54
 
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
2
4
  #--
3
- # Copyright (c) 2008-2010 David Kellum
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
@@ -16,16 +18,21 @@
16
18
  #++
17
19
 
18
20
  require 'rubygems'
21
+ require 'bundler/setup'
22
+
19
23
  require 'rjack-logback'
20
- RJack::Logback.config_console( :level => RJack::Logback::DEBUG )
21
24
 
22
- require 'test/unit'
25
+ RJack::Logback.config_console( :level => RJack::Logback::DEBUG )
26
+ if ARGV.include?( '-v' ) || ARGV.include?( '--verbose' )
27
+ RJack::Logback.root.level = RJack::Logback::DEBUG
28
+ end
23
29
 
24
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
30
+ require 'minitest/unit'
31
+ require 'minitest/autorun'
25
32
 
26
33
  require 'rjack-httpclient-3'
27
34
 
28
- class TestClient < Test::Unit::TestCase
35
+ class TestClient < MiniTest::Unit::TestCase
29
36
  include RJack::HTTPClient3
30
37
  def test_setup
31
38
  m = ManagerFacade.new
@@ -33,7 +40,7 @@ class TestClient < Test::Unit::TestCase
33
40
  m.client_params.so_timeout = 3000 #ms
34
41
  m.start
35
42
 
36
- assert_not_nil m.client
43
+ refute_nil m.client
37
44
 
38
45
  m.shutdown
39
46
 
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-httpclient-3
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 3
7
- - 1
8
- - 5
9
- version: 3.1.5
4
+ prerelease:
5
+ version: 3.1.6
10
6
  platform: java
11
7
  authors:
12
8
  - David Kellum
@@ -14,84 +10,70 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-08-31 00:00:00 -07:00
18
- default_executable:
13
+ date: 2012-06-09 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: rjack-slf4j
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
24
19
  requirements:
25
20
  - - ">="
26
21
  - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 5
30
- - 8
31
22
  version: 1.5.8
32
23
  - - <
33
24
  - !ruby/object:Gem::Version
34
- segments:
35
- - 1
36
- - 7
37
25
  version: "1.7"
26
+ requirement: *id001
27
+ prerelease: false
38
28
  type: :runtime
39
- version_requirements: *id001
40
29
  - !ruby/object:Gem::Dependency
41
30
  name: rjack-commons-codec
42
- prerelease: false
43
- requirement: &id002 !ruby/object:Gem::Requirement
31
+ version_requirements: &id002 !ruby/object:Gem::Requirement
32
+ none: false
44
33
  requirements:
45
34
  - - ~>
46
35
  - !ruby/object:Gem::Version
47
- segments:
48
- - 1
49
- - 4
50
- - 0
51
- version: 1.4.0
36
+ version: "1.4"
37
+ requirement: *id002
38
+ prerelease: false
52
39
  type: :runtime
53
- version_requirements: *id002
54
40
  - !ruby/object:Gem::Dependency
55
41
  name: rjack-logback
56
- prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: &id003 !ruby/object:Gem::Requirement
43
+ none: false
58
44
  requirements:
59
45
  - - ">="
60
46
  - !ruby/object:Gem::Version
61
- segments:
62
- - 0
63
- - 9
64
- - 18
65
47
  version: 0.9.18
66
48
  - - <
67
49
  - !ruby/object:Gem::Version
68
- segments:
69
- - 2
70
- - 0
71
50
  version: "2.0"
51
+ requirement: *id003
52
+ prerelease: false
72
53
  type: :development
73
- version_requirements: *id003
74
54
  - !ruby/object:Gem::Dependency
75
- name: rjack-tarpit
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
76
63
  prerelease: false
77
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ type: :development
65
+ - !ruby/object:Gem::Dependency
66
+ name: rjack-tarpit
67
+ version_requirements: &id005 !ruby/object:Gem::Requirement
68
+ none: false
78
69
  requirements:
79
70
  - - ~>
80
71
  - !ruby/object:Gem::Version
81
- segments:
82
- - 1
83
- - 2
84
- - 2
85
- version: 1.2.2
72
+ version: "2.0"
73
+ requirement: *id005
74
+ prerelease: false
86
75
  type: :development
87
- version_requirements: *id004
88
- description: |-
89
- A gem packaging of
90
- {Commons HttpClient 3.x}[http://hc.apache.org/httpclient-3.x] for JRuby.
91
-
92
- * Provides commons-httpclient jar.
93
- * Provides a RJack::HTTPClient3::ManagerFacade for client and connection
94
- manager setup, start, shutdown.
76
+ description:
95
77
  email:
96
78
  - dek-oss@gravitext.com
97
79
  executables: []
@@ -99,8 +81,6 @@ executables: []
99
81
  extensions: []
100
82
 
101
83
  extra_rdoc_files:
102
- - Manifest.txt
103
- - NOTICE.txt
104
84
  - History.rdoc
105
85
  - README.rdoc
106
86
  files:
@@ -115,8 +95,7 @@ files:
115
95
  - lib/rjack-httpclient-3.rb
116
96
  - test/test_httpclient.rb
117
97
  - lib/rjack-httpclient-3/commons-httpclient-3.1.jar
118
- has_rdoc: true
119
- homepage: http://rjack.rubyforge.org
98
+ homepage: http://rjack.rubyforge.org/httpclient-3
120
99
  licenses: []
121
100
 
122
101
  post_install_message:
@@ -126,25 +105,29 @@ rdoc_options:
126
105
  require_paths:
127
106
  - lib
128
107
  required_ruby_version: !ruby/object:Gem::Requirement
108
+ none: false
129
109
  requirements:
130
110
  - - ">="
131
111
  - !ruby/object:Gem::Version
112
+ hash: 2
132
113
  segments:
133
114
  - 0
134
115
  version: "0"
135
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
136
118
  requirements:
137
119
  - - ">="
138
120
  - !ruby/object:Gem::Version
121
+ hash: 2
139
122
  segments:
140
123
  - 0
141
124
  version: "0"
142
125
  requirements: []
143
126
 
144
- rubyforge_project: rjack
145
- rubygems_version: 1.3.6
127
+ rubyforge_project:
128
+ rubygems_version: 1.8.15
146
129
  signing_key:
147
130
  specification_version: 3
148
- summary: A gem packaging of {Commons HttpClient 3.x}[http://hc.apache.org/httpclient-3.x] for JRuby
149
- test_files:
150
- - test/test_httpclient.rb
131
+ summary: A gem packaging of Commons HttpClient 3.x for JRuby.
132
+ test_files: []
133
+