arachni-typhoeus 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/CHANGELOG.markdown +43 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +30 -0
- data/README.textile +6 -0
- data/Rakefile +40 -0
- data/VERSION +1 -0
- data/benchmarks/profile.rb +25 -0
- data/benchmarks/vs_nethttp.rb +35 -0
- data/examples/twitter.rb +21 -0
- data/ext/typhoeus/.gitignore +7 -0
- data/ext/typhoeus/extconf.rb +65 -0
- data/ext/typhoeus/native.c +11 -0
- data/ext/typhoeus/native.h +21 -0
- data/ext/typhoeus/typhoeus_easy.c +220 -0
- data/ext/typhoeus/typhoeus_easy.h +19 -0
- data/ext/typhoeus/typhoeus_multi.c +211 -0
- data/ext/typhoeus/typhoeus_multi.h +16 -0
- data/lib/typhoeus.rb +58 -0
- data/lib/typhoeus/.gitignore +1 -0
- data/lib/typhoeus/easy.rb +366 -0
- data/lib/typhoeus/filter.rb +28 -0
- data/lib/typhoeus/hydra.rb +245 -0
- data/lib/typhoeus/hydra/callbacks.rb +24 -0
- data/lib/typhoeus/hydra/connect_options.rb +61 -0
- data/lib/typhoeus/hydra/stubbing.rb +52 -0
- data/lib/typhoeus/hydra_mock.rb +131 -0
- data/lib/typhoeus/multi.rb +37 -0
- data/lib/typhoeus/normalized_header_hash.rb +58 -0
- data/lib/typhoeus/remote.rb +306 -0
- data/lib/typhoeus/remote_method.rb +108 -0
- data/lib/typhoeus/remote_proxy_object.rb +50 -0
- data/lib/typhoeus/request.rb +210 -0
- data/lib/typhoeus/response.rb +91 -0
- data/lib/typhoeus/service.rb +20 -0
- data/lib/typhoeus/utils.rb +24 -0
- data/profilers/valgrind.rb +24 -0
- data/spec/fixtures/result_set.xml +60 -0
- data/spec/servers/app.rb +84 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/typhoeus/easy_spec.rb +284 -0
- data/spec/typhoeus/filter_spec.rb +35 -0
- data/spec/typhoeus/hydra_mock_spec.rb +300 -0
- data/spec/typhoeus/hydra_spec.rb +526 -0
- data/spec/typhoeus/multi_spec.rb +74 -0
- data/spec/typhoeus/normalized_header_hash_spec.rb +41 -0
- data/spec/typhoeus/remote_method_spec.rb +141 -0
- data/spec/typhoeus/remote_proxy_object_spec.rb +65 -0
- data/spec/typhoeus/remote_spec.rb +695 -0
- data/spec/typhoeus/request_spec.rb +276 -0
- data/spec/typhoeus/response_spec.rb +151 -0
- data/spec/typhoeus/utils_spec.rb +22 -0
- data/typhoeus.gemspec +123 -0
- metadata +196 -0
data/typhoeus.gemspec
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{arachni-typhoeus}
|
8
|
+
s.version = "0.2.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Paul Dix", "Tasos Laskos"]
|
12
|
+
s.date = Time.now.strftime('%Y-%m-%d')
|
13
|
+
s.description = "Original @ https://github.com/dbalatero/typhoeus."
|
14
|
+
s.email = %q{tasos.laskos@gmail.com}
|
15
|
+
s.extensions = ["ext/typhoeus/extconf.rb"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"README.textile"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"CHANGELOG.markdown",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"README.textile",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"benchmarks/profile.rb",
|
28
|
+
"benchmarks/vs_nethttp.rb",
|
29
|
+
"examples/twitter.rb",
|
30
|
+
"ext/typhoeus/.gitignore",
|
31
|
+
"ext/typhoeus/extconf.rb",
|
32
|
+
"ext/typhoeus/native.c",
|
33
|
+
"ext/typhoeus/native.h",
|
34
|
+
"ext/typhoeus/typhoeus_easy.c",
|
35
|
+
"ext/typhoeus/typhoeus_easy.h",
|
36
|
+
"ext/typhoeus/typhoeus_multi.c",
|
37
|
+
"ext/typhoeus/typhoeus_multi.h",
|
38
|
+
"lib/typhoeus.rb",
|
39
|
+
"lib/typhoeus/.gitignore",
|
40
|
+
"lib/typhoeus/easy.rb",
|
41
|
+
"lib/typhoeus/filter.rb",
|
42
|
+
"lib/typhoeus/hydra.rb",
|
43
|
+
"lib/typhoeus/hydra/callbacks.rb",
|
44
|
+
"lib/typhoeus/hydra/connect_options.rb",
|
45
|
+
"lib/typhoeus/hydra/stubbing.rb",
|
46
|
+
"lib/typhoeus/hydra_mock.rb",
|
47
|
+
"lib/typhoeus/multi.rb",
|
48
|
+
"lib/typhoeus/normalized_header_hash.rb",
|
49
|
+
"lib/typhoeus/remote.rb",
|
50
|
+
"lib/typhoeus/remote_method.rb",
|
51
|
+
"lib/typhoeus/remote_proxy_object.rb",
|
52
|
+
"lib/typhoeus/request.rb",
|
53
|
+
"lib/typhoeus/response.rb",
|
54
|
+
"lib/typhoeus/service.rb",
|
55
|
+
"lib/typhoeus/utils.rb",
|
56
|
+
"profilers/valgrind.rb",
|
57
|
+
"spec/fixtures/result_set.xml",
|
58
|
+
"spec/servers/app.rb",
|
59
|
+
"spec/spec.opts",
|
60
|
+
"spec/spec_helper.rb",
|
61
|
+
"spec/typhoeus/easy_spec.rb",
|
62
|
+
"spec/typhoeus/filter_spec.rb",
|
63
|
+
"spec/typhoeus/hydra_mock_spec.rb",
|
64
|
+
"spec/typhoeus/hydra_spec.rb",
|
65
|
+
"spec/typhoeus/multi_spec.rb",
|
66
|
+
"spec/typhoeus/normalized_header_hash_spec.rb",
|
67
|
+
"spec/typhoeus/remote_method_spec.rb",
|
68
|
+
"spec/typhoeus/remote_proxy_object_spec.rb",
|
69
|
+
"spec/typhoeus/remote_spec.rb",
|
70
|
+
"spec/typhoeus/request_spec.rb",
|
71
|
+
"spec/typhoeus/response_spec.rb",
|
72
|
+
"spec/typhoeus/utils_spec.rb",
|
73
|
+
"typhoeus.gemspec"
|
74
|
+
]
|
75
|
+
s.homepage = %q{https://github.com/Zapotek/typhoeus/tree/arachni-typhoeus}
|
76
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
77
|
+
s.require_paths = ["lib"]
|
78
|
+
s.rubygems_version = %q{1.3.7}
|
79
|
+
s.summary = %q{A library for interacting with web services (and building SOAs) at blinding speed.}
|
80
|
+
s.test_files = [
|
81
|
+
"spec/servers/app.rb",
|
82
|
+
"spec/spec_helper.rb",
|
83
|
+
"spec/typhoeus/easy_spec.rb",
|
84
|
+
"spec/typhoeus/filter_spec.rb",
|
85
|
+
"spec/typhoeus/hydra_mock_spec.rb",
|
86
|
+
"spec/typhoeus/hydra_spec.rb",
|
87
|
+
"spec/typhoeus/multi_spec.rb",
|
88
|
+
"spec/typhoeus/normalized_header_hash_spec.rb",
|
89
|
+
"spec/typhoeus/remote_method_spec.rb",
|
90
|
+
"spec/typhoeus/remote_proxy_object_spec.rb",
|
91
|
+
"spec/typhoeus/remote_spec.rb",
|
92
|
+
"spec/typhoeus/request_spec.rb",
|
93
|
+
"spec/typhoeus/response_spec.rb",
|
94
|
+
"spec/typhoeus/utils_spec.rb",
|
95
|
+
"examples/twitter.rb"
|
96
|
+
]
|
97
|
+
|
98
|
+
if s.respond_to? :specification_version then
|
99
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
100
|
+
s.specification_version = 3
|
101
|
+
|
102
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
103
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
104
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
105
|
+
s.add_development_dependency(%q<diff-lcs>, [">= 0"])
|
106
|
+
s.add_development_dependency(%q<sinatra>, [">= 0"])
|
107
|
+
s.add_development_dependency(%q<json>, [">= 0"])
|
108
|
+
else
|
109
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
110
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
111
|
+
s.add_dependency(%q<diff-lcs>, [">= 0"])
|
112
|
+
s.add_dependency(%q<sinatra>, [">= 0"])
|
113
|
+
s.add_dependency(%q<json>, [">= 0"])
|
114
|
+
end
|
115
|
+
else
|
116
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
117
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
118
|
+
s.add_dependency(%q<diff-lcs>, [">= 0"])
|
119
|
+
s.add_dependency(%q<sinatra>, [">= 0"])
|
120
|
+
s.add_dependency(%q<json>, [">= 0"])
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
metadata
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: arachni-typhoeus
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Paul Dix
|
13
|
+
- Tasos Laskos
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-01-29 00:00:00 +00:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rspec
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: jeweler
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
version: "0"
|
45
|
+
type: :development
|
46
|
+
version_requirements: *id002
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: diff-lcs
|
49
|
+
prerelease: false
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id003
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: sinatra
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
version: "0"
|
71
|
+
type: :development
|
72
|
+
version_requirements: *id004
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: json
|
75
|
+
prerelease: false
|
76
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
84
|
+
type: :development
|
85
|
+
version_requirements: *id005
|
86
|
+
description: Original @ https://github.com/dbalatero/typhoeus.
|
87
|
+
email: tasos.laskos@gmail.com
|
88
|
+
executables: []
|
89
|
+
|
90
|
+
extensions:
|
91
|
+
- ext/typhoeus/extconf.rb
|
92
|
+
extra_rdoc_files:
|
93
|
+
- README.textile
|
94
|
+
files:
|
95
|
+
- .gitignore
|
96
|
+
- CHANGELOG.markdown
|
97
|
+
- Gemfile
|
98
|
+
- Gemfile.lock
|
99
|
+
- README.textile
|
100
|
+
- Rakefile
|
101
|
+
- VERSION
|
102
|
+
- benchmarks/profile.rb
|
103
|
+
- benchmarks/vs_nethttp.rb
|
104
|
+
- examples/twitter.rb
|
105
|
+
- ext/typhoeus/.gitignore
|
106
|
+
- ext/typhoeus/extconf.rb
|
107
|
+
- ext/typhoeus/native.c
|
108
|
+
- ext/typhoeus/native.h
|
109
|
+
- ext/typhoeus/typhoeus_easy.c
|
110
|
+
- ext/typhoeus/typhoeus_easy.h
|
111
|
+
- ext/typhoeus/typhoeus_multi.c
|
112
|
+
- ext/typhoeus/typhoeus_multi.h
|
113
|
+
- lib/typhoeus.rb
|
114
|
+
- lib/typhoeus/.gitignore
|
115
|
+
- lib/typhoeus/easy.rb
|
116
|
+
- lib/typhoeus/filter.rb
|
117
|
+
- lib/typhoeus/hydra.rb
|
118
|
+
- lib/typhoeus/hydra/callbacks.rb
|
119
|
+
- lib/typhoeus/hydra/connect_options.rb
|
120
|
+
- lib/typhoeus/hydra/stubbing.rb
|
121
|
+
- lib/typhoeus/hydra_mock.rb
|
122
|
+
- lib/typhoeus/multi.rb
|
123
|
+
- lib/typhoeus/normalized_header_hash.rb
|
124
|
+
- lib/typhoeus/remote.rb
|
125
|
+
- lib/typhoeus/remote_method.rb
|
126
|
+
- lib/typhoeus/remote_proxy_object.rb
|
127
|
+
- lib/typhoeus/request.rb
|
128
|
+
- lib/typhoeus/response.rb
|
129
|
+
- lib/typhoeus/service.rb
|
130
|
+
- lib/typhoeus/utils.rb
|
131
|
+
- profilers/valgrind.rb
|
132
|
+
- spec/fixtures/result_set.xml
|
133
|
+
- spec/servers/app.rb
|
134
|
+
- spec/spec.opts
|
135
|
+
- spec/spec_helper.rb
|
136
|
+
- spec/typhoeus/easy_spec.rb
|
137
|
+
- spec/typhoeus/filter_spec.rb
|
138
|
+
- spec/typhoeus/hydra_mock_spec.rb
|
139
|
+
- spec/typhoeus/hydra_spec.rb
|
140
|
+
- spec/typhoeus/multi_spec.rb
|
141
|
+
- spec/typhoeus/normalized_header_hash_spec.rb
|
142
|
+
- spec/typhoeus/remote_method_spec.rb
|
143
|
+
- spec/typhoeus/remote_proxy_object_spec.rb
|
144
|
+
- spec/typhoeus/remote_spec.rb
|
145
|
+
- spec/typhoeus/request_spec.rb
|
146
|
+
- spec/typhoeus/response_spec.rb
|
147
|
+
- spec/typhoeus/utils_spec.rb
|
148
|
+
- typhoeus.gemspec
|
149
|
+
has_rdoc: true
|
150
|
+
homepage: https://github.com/Zapotek/typhoeus/tree/arachni-typhoeus
|
151
|
+
licenses: []
|
152
|
+
|
153
|
+
post_install_message:
|
154
|
+
rdoc_options:
|
155
|
+
- --charset=UTF-8
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
segments:
|
164
|
+
- 0
|
165
|
+
version: "0"
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
segments:
|
172
|
+
- 0
|
173
|
+
version: "0"
|
174
|
+
requirements: []
|
175
|
+
|
176
|
+
rubyforge_project:
|
177
|
+
rubygems_version: 1.3.7
|
178
|
+
signing_key:
|
179
|
+
specification_version: 3
|
180
|
+
summary: A library for interacting with web services (and building SOAs) at blinding speed.
|
181
|
+
test_files:
|
182
|
+
- spec/servers/app.rb
|
183
|
+
- spec/spec_helper.rb
|
184
|
+
- spec/typhoeus/easy_spec.rb
|
185
|
+
- spec/typhoeus/filter_spec.rb
|
186
|
+
- spec/typhoeus/hydra_mock_spec.rb
|
187
|
+
- spec/typhoeus/hydra_spec.rb
|
188
|
+
- spec/typhoeus/multi_spec.rb
|
189
|
+
- spec/typhoeus/normalized_header_hash_spec.rb
|
190
|
+
- spec/typhoeus/remote_method_spec.rb
|
191
|
+
- spec/typhoeus/remote_proxy_object_spec.rb
|
192
|
+
- spec/typhoeus/remote_spec.rb
|
193
|
+
- spec/typhoeus/request_spec.rb
|
194
|
+
- spec/typhoeus/response_spec.rb
|
195
|
+
- spec/typhoeus/utils_spec.rb
|
196
|
+
- examples/twitter.rb
|