iudex-http 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 +4 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +2 -35
- data/lib/iudex-http.rb +1 -1
- data/lib/iudex-http/base.rb +2 -2
- data/lib/iudex-http/{iudex-http-1.1.0.jar → iudex-http-1.2.b.0.jar} +0 -0
- data/pom.xml +2 -2
- data/test/setup.rb +16 -12
- data/test/test_content_type_set.rb +1 -1
- data/test/test_http.rb +1 -1
- metadata +32 -35
- data/.gemtest +0 -0
data/History.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== 1.2.b.0 (2012-3-4)
|
2
|
+
* Upgrade to gravitext-util ~> 1.6.b (beta)
|
3
|
+
* Upgrade to tarpit ~> 2.0, bundler Gemfile, gemspec (dev)
|
4
|
+
|
1
5
|
=== 1.1.0 (2011-11-13)
|
2
6
|
* New general ContentTypeSet with Content-Type match test.
|
3
7
|
* ResponseHandler simplified to a single sessionCompleted() callback.
|
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ abstraction layer.
|
|
10
10
|
|
11
11
|
== License
|
12
12
|
|
13
|
-
Copyright (c) 2008-
|
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,40 +1,7 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'iudex-http/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
Iudex::HTTP::VERSION,
|
12
|
-
:no_assembly, :java_platform )
|
13
|
-
|
14
|
-
t.specify do |h|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
|
-
h.extra_deps += [ [ 'rjack-slf4j', '~> 1.6.1' ],
|
17
|
-
[ 'gravitext-util', '~> 1.5.1' ] ]
|
18
|
-
|
19
|
-
h.testlib = :minitest
|
20
|
-
h.extra_dev_deps += [ [ 'minitest', '~> 2.3' ],
|
21
|
-
[ 'rjack-logback', '~> 1.0' ] ]
|
22
|
-
end
|
23
|
-
|
24
|
-
file 'Manifest.txt' => "lib/#{t.name}/base.rb"
|
25
|
-
|
26
|
-
task :check_pom_version do
|
27
|
-
t.test_line_match( 'pom.xml', /<version>/, /#{t.version}/ )
|
28
|
-
end
|
29
|
-
task :check_history_version do
|
30
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
31
|
-
end
|
32
|
-
task :check_history_date do
|
33
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
34
|
-
end
|
35
|
-
|
36
|
-
task :gem => [ :check_pom_version, :check_history_version ]
|
37
|
-
task :tag => [ :check_pom_version, :check_history_version, :check_history_date ]
|
38
|
-
task :push => [ :check_history_date ]
|
39
|
-
|
40
|
-
t.define_tasks
|
7
|
+
RJack::TarPit.new( 'iudex-http' ).define_tasks
|
data/lib/iudex-http.rb
CHANGED
data/lib/iudex-http/base.rb
CHANGED
@@ -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,7 +16,7 @@
|
|
16
16
|
|
17
17
|
module Iudex
|
18
18
|
module HTTP
|
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-http</artifactId>
|
7
7
|
<packaging>jar</packaging>
|
8
|
-
<version>1.
|
8
|
+
<version>1.2.b.0</version>
|
9
9
|
<name>Iudex HTTP Interface</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
|
|
data/test/setup.rb
CHANGED
@@ -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
|
@@ -14,21 +14,25 @@
|
|
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 '
|
24
|
-
RJack::Logback.config_console( :stderr => true )
|
20
|
+
require 'bundler/setup'
|
25
21
|
|
26
22
|
require 'minitest/unit'
|
27
23
|
require 'minitest/autorun'
|
28
24
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
25
|
+
require 'rjack-logback'
|
26
|
+
|
27
|
+
module TestSetup
|
28
|
+
include RJack
|
29
|
+
Logback.config_console( :stderr => true, :thread => true )
|
30
|
+
|
31
|
+
if ( ARGV & %w[ -v --verbose --debug ] ).empty?
|
32
|
+
Logback.root.level = Logback::INFO
|
33
|
+
else
|
34
|
+
Logback.root.level = Logback::DEBUG
|
35
|
+
end
|
36
|
+
|
37
|
+
ARGV.delete( '--debug' )
|
33
38
|
end
|
34
|
-
MiniTest::Unit.output = TestOut.new
|
@@ -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
|
data/test/test_http.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c) 2008-
|
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-http
|
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,67 +10,64 @@ 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: 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
|
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: 1.6.1
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
24
25
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: gravitext-util
|
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
|
-
version: 1.
|
33
|
+
version: 1.6.b
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
35
36
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: minitest
|
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: "2.3"
|
45
|
+
requirement: *id003
|
46
|
+
prerelease: false
|
46
47
|
type: :development
|
47
|
-
version_requirements: *id003
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rjack-logback
|
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: "1.0"
|
56
|
+
requirement: *id004
|
57
|
+
prerelease: false
|
57
58
|
type: :development
|
58
|
-
version_requirements: *id004
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: rjack-tarpit
|
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:
|
66
|
+
version: "2.0"
|
67
|
+
requirement: *id005
|
68
|
+
prerelease: false
|
68
69
|
type: :development
|
69
|
-
|
70
|
-
description: |-
|
71
|
-
Iudex is a general purpose web crawler and feed processor in
|
72
|
-
ruby/java. The iudex-http gem contains and http client agnostic
|
73
|
-
abstraction layer.
|
70
|
+
description: Iudex is a general purpose web crawler and feed processor in ruby/java. The iudex-http gem contains and http client agnostic abstraction layer.
|
74
71
|
email:
|
75
72
|
- dek-oss@gravitext.com
|
76
73
|
executables: []
|
@@ -78,7 +75,6 @@ executables: []
|
|
78
75
|
extensions: []
|
79
76
|
|
80
77
|
extra_rdoc_files:
|
81
|
-
- Manifest.txt
|
82
78
|
- History.rdoc
|
83
79
|
- README.rdoc
|
84
80
|
files:
|
@@ -92,8 +88,7 @@ files:
|
|
92
88
|
- test/setup.rb
|
93
89
|
- test/test_content_type_set.rb
|
94
90
|
- test/test_http.rb
|
95
|
-
- lib/iudex-http/iudex-http-1.
|
96
|
-
- .gemtest
|
91
|
+
- lib/iudex-http/iudex-http-1.2.b.0.jar
|
97
92
|
homepage: http://github.com/dekellum/iudex
|
98
93
|
licenses: []
|
99
94
|
|
@@ -108,20 +103,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
103
|
requirements:
|
109
104
|
- - ">="
|
110
105
|
- !ruby/object:Gem::Version
|
106
|
+
hash: 2
|
107
|
+
segments:
|
108
|
+
- 0
|
111
109
|
version: "0"
|
112
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
111
|
none: false
|
114
112
|
requirements:
|
115
|
-
- - "
|
113
|
+
- - ">"
|
116
114
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
115
|
+
version: 1.3.1
|
118
116
|
requirements: []
|
119
117
|
|
120
|
-
rubyforge_project:
|
121
|
-
rubygems_version: 1.8.
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 1.8.15
|
122
120
|
signing_key:
|
123
121
|
specification_version: 3
|
124
|
-
summary: Iudex is a general purpose web crawler and feed processor in ruby/java
|
125
|
-
test_files:
|
126
|
-
|
127
|
-
- test/test_http.rb
|
122
|
+
summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
|
123
|
+
test_files: []
|
124
|
+
|
data/.gemtest
DELETED
File without changes
|