typhoeus 0.1.24 → 0.1.31
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.
- data/CHANGELOG.markdown +23 -0
- data/README.textile +333 -0
- data/Rakefile +39 -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/lib/typhoeus/easy.rb +97 -9
- data/lib/typhoeus/hydra.rb +17 -0
- data/lib/typhoeus/multi.rb +4 -3
- data/lib/typhoeus/request.rb +45 -2
- data/lib/typhoeus/response.rb +8 -6
- data/lib/typhoeus/service.rb +20 -0
- data/lib/typhoeus.rb +1 -1
- data/profilers/valgrind.rb +24 -0
- data/spec/fixtures/result_set.xml +60 -0
- data/spec/servers/app.rb +11 -0
- data/spec/typhoeus/easy_spec.rb +39 -2
- data/spec/typhoeus/hydra_spec.rb +311 -0
- data/spec/typhoeus/remote_spec.rb +1 -1
- data/spec/typhoeus/request_spec.rb +195 -0
- data/typhoeus.gemspec +113 -0
- metadata +110 -29
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 31
|
|
9
|
+
version: 0.1.31
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Paul Dix
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2010-07-16 00:00:00 -07:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -22,65 +22,135 @@ dependencies:
|
|
|
22
22
|
prerelease: false
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
|
-
- - "
|
|
25
|
+
- - ">="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
27
|
segments:
|
|
28
28
|
- 0
|
|
29
|
-
|
|
30
|
-
- 0
|
|
31
|
-
version: 0.9.0
|
|
29
|
+
version: "0"
|
|
32
30
|
type: :runtime
|
|
33
31
|
version_requirements: *id001
|
|
34
|
-
|
|
32
|
+
- !ruby/object:Gem::Dependency
|
|
33
|
+
name: rspec
|
|
34
|
+
prerelease: false
|
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
segments:
|
|
40
|
+
- 0
|
|
41
|
+
version: "0"
|
|
42
|
+
type: :development
|
|
43
|
+
version_requirements: *id002
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: jeweler
|
|
46
|
+
prerelease: false
|
|
47
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
48
|
+
requirements:
|
|
49
|
+
- - ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
segments:
|
|
52
|
+
- 0
|
|
53
|
+
version: "0"
|
|
54
|
+
type: :development
|
|
55
|
+
version_requirements: *id003
|
|
56
|
+
- !ruby/object:Gem::Dependency
|
|
57
|
+
name: diff-lcs
|
|
58
|
+
prerelease: false
|
|
59
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
segments:
|
|
64
|
+
- 0
|
|
65
|
+
version: "0"
|
|
66
|
+
type: :development
|
|
67
|
+
version_requirements: *id004
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: sinatra
|
|
70
|
+
prerelease: false
|
|
71
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
segments:
|
|
76
|
+
- 0
|
|
77
|
+
version: "0"
|
|
78
|
+
type: :development
|
|
79
|
+
version_requirements: *id005
|
|
80
|
+
- !ruby/object:Gem::Dependency
|
|
81
|
+
name: json
|
|
82
|
+
prerelease: false
|
|
83
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
segments:
|
|
88
|
+
- 0
|
|
89
|
+
version: "0"
|
|
90
|
+
type: :development
|
|
91
|
+
version_requirements: *id006
|
|
92
|
+
description: Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic.
|
|
35
93
|
email: paul@pauldix.net
|
|
36
94
|
executables: []
|
|
37
95
|
|
|
38
96
|
extensions:
|
|
39
97
|
- ext/typhoeus/extconf.rb
|
|
40
|
-
extra_rdoc_files:
|
|
41
|
-
|
|
98
|
+
extra_rdoc_files:
|
|
99
|
+
- README.textile
|
|
42
100
|
files:
|
|
43
101
|
- .gitignore
|
|
102
|
+
- CHANGELOG.markdown
|
|
103
|
+
- README.textile
|
|
104
|
+
- Rakefile
|
|
105
|
+
- VERSION
|
|
106
|
+
- benchmarks/profile.rb
|
|
107
|
+
- benchmarks/vs_nethttp.rb
|
|
108
|
+
- examples/twitter.rb
|
|
44
109
|
- ext/typhoeus/.gitignore
|
|
110
|
+
- ext/typhoeus/Makefile
|
|
45
111
|
- ext/typhoeus/extconf.rb
|
|
46
|
-
- ext/typhoeus/
|
|
112
|
+
- ext/typhoeus/native.c
|
|
113
|
+
- ext/typhoeus/native.h
|
|
47
114
|
- ext/typhoeus/typhoeus_easy.c
|
|
48
|
-
- ext/typhoeus/
|
|
115
|
+
- ext/typhoeus/typhoeus_easy.h
|
|
49
116
|
- ext/typhoeus/typhoeus_multi.c
|
|
50
|
-
- ext/typhoeus/
|
|
51
|
-
- ext/typhoeus/native.h
|
|
52
|
-
- ext/typhoeus/native.c
|
|
117
|
+
- ext/typhoeus/typhoeus_multi.h
|
|
53
118
|
- lib/typhoeus.rb
|
|
54
119
|
- lib/typhoeus/.gitignore
|
|
55
120
|
- lib/typhoeus/easy.rb
|
|
121
|
+
- lib/typhoeus/filter.rb
|
|
122
|
+
- lib/typhoeus/hydra.rb
|
|
56
123
|
- lib/typhoeus/multi.rb
|
|
57
124
|
- lib/typhoeus/remote.rb
|
|
58
|
-
- lib/typhoeus/remote_proxy_object.rb
|
|
59
|
-
- lib/typhoeus/filter.rb
|
|
60
125
|
- lib/typhoeus/remote_method.rb
|
|
61
|
-
- lib/typhoeus/
|
|
62
|
-
- lib/typhoeus/hydra.rb
|
|
126
|
+
- lib/typhoeus/remote_proxy_object.rb
|
|
63
127
|
- lib/typhoeus/request.rb
|
|
128
|
+
- lib/typhoeus/response.rb
|
|
129
|
+
- lib/typhoeus/service.rb
|
|
130
|
+
- profilers/valgrind.rb
|
|
131
|
+
- spec/fixtures/result_set.xml
|
|
132
|
+
- spec/servers/app.rb
|
|
64
133
|
- spec/spec.opts
|
|
65
134
|
- spec/spec_helper.rb
|
|
66
135
|
- spec/typhoeus/easy_spec.rb
|
|
67
|
-
- spec/typhoeus/multi_spec.rb
|
|
68
|
-
- spec/typhoeus/remote_spec.rb
|
|
69
|
-
- spec/typhoeus/remote_proxy_object_spec.rb
|
|
70
136
|
- spec/typhoeus/filter_spec.rb
|
|
137
|
+
- spec/typhoeus/hydra_spec.rb
|
|
138
|
+
- spec/typhoeus/multi_spec.rb
|
|
71
139
|
- spec/typhoeus/remote_method_spec.rb
|
|
140
|
+
- spec/typhoeus/remote_proxy_object_spec.rb
|
|
141
|
+
- spec/typhoeus/remote_spec.rb
|
|
142
|
+
- spec/typhoeus/request_spec.rb
|
|
72
143
|
- spec/typhoeus/response_spec.rb
|
|
73
|
-
-
|
|
144
|
+
- typhoeus.gemspec
|
|
74
145
|
has_rdoc: true
|
|
75
146
|
homepage: http://github.com/pauldix/typhoeus
|
|
76
147
|
licenses: []
|
|
77
148
|
|
|
78
149
|
post_install_message:
|
|
79
|
-
rdoc_options:
|
|
80
|
-
|
|
150
|
+
rdoc_options:
|
|
151
|
+
- --charset=UTF-8
|
|
81
152
|
require_paths:
|
|
82
153
|
- lib
|
|
83
|
-
- ext
|
|
84
154
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
155
|
requirements:
|
|
86
156
|
- - ">="
|
|
@@ -100,7 +170,18 @@ requirements: []
|
|
|
100
170
|
rubyforge_project:
|
|
101
171
|
rubygems_version: 1.3.6
|
|
102
172
|
signing_key:
|
|
103
|
-
specification_version:
|
|
173
|
+
specification_version: 3
|
|
104
174
|
summary: A library for interacting with web services (and building SOAs) at blinding speed.
|
|
105
|
-
test_files:
|
|
106
|
-
|
|
175
|
+
test_files:
|
|
176
|
+
- spec/servers/app.rb
|
|
177
|
+
- spec/spec_helper.rb
|
|
178
|
+
- spec/typhoeus/easy_spec.rb
|
|
179
|
+
- spec/typhoeus/filter_spec.rb
|
|
180
|
+
- spec/typhoeus/hydra_spec.rb
|
|
181
|
+
- spec/typhoeus/multi_spec.rb
|
|
182
|
+
- spec/typhoeus/remote_method_spec.rb
|
|
183
|
+
- spec/typhoeus/remote_proxy_object_spec.rb
|
|
184
|
+
- spec/typhoeus/remote_spec.rb
|
|
185
|
+
- spec/typhoeus/request_spec.rb
|
|
186
|
+
- spec/typhoeus/response_spec.rb
|
|
187
|
+
- examples/twitter.rb
|