iudex-http-test 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/README.rdoc +1 -1
- data/Rakefile +2 -31
- data/bin/iudex-http-test-fg +1 -1
- data/lib/iudex-http-test/base.rb +2 -2
- data/lib/iudex-http-test/broken_server.rb +1 -1
- data/lib/iudex-http-test/helper.rb +1 -1
- data/lib/iudex-http-test/server.rb +1 -1
- data/lib/iudex-http-test/test_app.rb +1 -1
- data/lib/iudex-http-test.rb +1 -1
- data/test/setup.rb +18 -8
- data/test/test_broken_server.rb +1 -1
- data/test/test_server.rb +1 -1
- data/test/test_test_app.rb +1 -1
- metadata +67 -38
- data/.gemtest +0 -0
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ testing HTTP client implementations.
|
|
10
10
|
|
11
11
|
== License
|
12
12
|
|
13
|
-
Copyright (c)
|
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,36 +1,7 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'iudex-http-test/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
Iudex::HTTP::Test::VERSION,
|
12
|
-
:java_platform )
|
13
|
-
|
14
|
-
t.specify do |h|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
|
-
h.extra_deps += [ [ 'fishwife', '~> 1.1.0' ],
|
17
|
-
[ 'sinatra', '~> 1.3.1' ],
|
18
|
-
[ 'markaby', '~> 0.7.1' ],
|
19
|
-
[ 'minitest', '~> 2.3' ] ]
|
20
|
-
|
21
|
-
h.testlib = :minitest
|
22
|
-
h.extra_dev_deps += [ [ 'rack-test', '~> 0.6.0' ] ]
|
23
|
-
end
|
24
|
-
|
25
|
-
task :check_history_version do
|
26
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
27
|
-
end
|
28
|
-
task :check_history_date do
|
29
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
30
|
-
end
|
31
|
-
|
32
|
-
task :gem => [ :check_history_version ]
|
33
|
-
task :tag => [ :check_history_version, :check_history_date ]
|
34
|
-
task :push => [ :check_history_date ]
|
35
|
-
|
36
|
-
t.define_tasks
|
7
|
+
RJack::TarPit.new( 'iudex-http-test' ).define_tasks
|
data/bin/iudex-http-test-fg
CHANGED
data/lib/iudex-http-test/base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
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 Iudex
|
18
18
|
module HTTP
|
19
19
|
module Test
|
20
|
-
VERSION = '1.
|
20
|
+
VERSION = '1.2.b.0'
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/iudex-http-test.rb
CHANGED
data/test/setup.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
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,15 +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 )
|
25
|
-
RJack::Logback.root.level = RJack::Logback::DEBUG if ARGV.include?( '-v' )
|
20
|
+
require 'bundler/setup'
|
26
21
|
|
27
22
|
require 'minitest/unit'
|
28
23
|
require 'minitest/autorun'
|
24
|
+
|
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' )
|
38
|
+
end
|
data/test/test_broken_server.rb
CHANGED
@@ -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_server.rb
CHANGED
@@ -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_test_app.rb
CHANGED
@@ -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
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iudex-http-test
|
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,78 +10,108 @@ 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: fishwife
|
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
|
-
version: 1.
|
22
|
+
version: 1.3.0
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
24
25
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: sinatra
|
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
33
|
version: 1.3.1
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
35
36
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: builder
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 3.0.0
|
45
|
+
requirement: *id003
|
39
46
|
prerelease: false
|
40
|
-
|
47
|
+
type: :runtime
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: markaby
|
50
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
41
51
|
none: false
|
42
52
|
requirements:
|
43
53
|
- - ~>
|
44
54
|
- !ruby/object:Gem::Version
|
45
55
|
version: 0.7.1
|
56
|
+
requirement: *id004
|
57
|
+
prerelease: false
|
46
58
|
type: :runtime
|
47
|
-
version_requirements: *id003
|
48
59
|
- !ruby/object:Gem::Dependency
|
49
60
|
name: minitest
|
50
|
-
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
61
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
52
62
|
none: false
|
53
63
|
requirements:
|
54
64
|
- - ~>
|
55
65
|
- !ruby/object:Gem::Version
|
56
66
|
version: "2.3"
|
67
|
+
requirement: *id005
|
68
|
+
prerelease: false
|
57
69
|
type: :runtime
|
58
|
-
version_requirements: *id004
|
59
70
|
- !ruby/object:Gem::Dependency
|
60
|
-
name: rack
|
71
|
+
name: rack
|
72
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.4.1
|
78
|
+
requirement: *id006
|
61
79
|
prerelease: false
|
62
|
-
|
80
|
+
type: :development
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: rack-test
|
83
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
63
84
|
none: false
|
64
85
|
requirements:
|
65
86
|
- - ~>
|
66
87
|
- !ruby/object:Gem::Version
|
67
88
|
version: 0.6.0
|
89
|
+
requirement: *id007
|
90
|
+
prerelease: false
|
68
91
|
type: :development
|
69
|
-
version_requirements: *id005
|
70
92
|
- !ruby/object:Gem::Dependency
|
71
|
-
name: rjack-
|
93
|
+
name: rjack-logback
|
94
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: "1.0"
|
100
|
+
requirement: *id008
|
72
101
|
prerelease: false
|
73
|
-
|
102
|
+
type: :development
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rjack-tarpit
|
105
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
74
106
|
none: false
|
75
107
|
requirements:
|
76
108
|
- - ~>
|
77
109
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
110
|
+
version: "2.0"
|
111
|
+
requirement: *id009
|
112
|
+
prerelease: false
|
79
113
|
type: :development
|
80
|
-
|
81
|
-
description: |-
|
82
|
-
Iudex is a general purpose web crawler and feed processor in
|
83
|
-
ruby/java. The iudex-http-test gem contains a HTTP test server for
|
84
|
-
testing HTTP client implementations.
|
114
|
+
description: Iudex is a general purpose web crawler and feed processor in ruby/java. The iudex-http-test gem contains a HTTP test server for testing HTTP client implementations.
|
85
115
|
email:
|
86
116
|
- dek-oss@gravitext.com
|
87
117
|
executables:
|
@@ -89,7 +119,6 @@ executables:
|
|
89
119
|
extensions: []
|
90
120
|
|
91
121
|
extra_rdoc_files:
|
92
|
-
- Manifest.txt
|
93
122
|
- History.rdoc
|
94
123
|
- README.rdoc
|
95
124
|
files:
|
@@ -109,7 +138,6 @@ files:
|
|
109
138
|
- test/test_broken_server.rb
|
110
139
|
- test/test_server.rb
|
111
140
|
- test/test_test_app.rb
|
112
|
-
- .gemtest
|
113
141
|
homepage: http://github.com/dekellum/iudex
|
114
142
|
licenses: []
|
115
143
|
|
@@ -124,21 +152,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
152
|
requirements:
|
125
153
|
- - ">="
|
126
154
|
- !ruby/object:Gem::Version
|
155
|
+
hash: 2
|
156
|
+
segments:
|
157
|
+
- 0
|
127
158
|
version: "0"
|
128
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
160
|
none: false
|
130
161
|
requirements:
|
131
|
-
- - "
|
162
|
+
- - ">"
|
132
163
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
164
|
+
version: 1.3.1
|
134
165
|
requirements: []
|
135
166
|
|
136
|
-
rubyforge_project:
|
137
|
-
rubygems_version: 1.8.
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 1.8.15
|
138
169
|
signing_key:
|
139
170
|
specification_version: 3
|
140
|
-
summary: Iudex is a general purpose web crawler and feed processor in ruby/java
|
141
|
-
test_files:
|
142
|
-
|
143
|
-
- test/test_server.rb
|
144
|
-
- test/test_test_app.rb
|
171
|
+
summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
|
172
|
+
test_files: []
|
173
|
+
|
data/.gemtest
DELETED
File without changes
|