typhoeus 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +15 -1
- data/README.md +2 -2
- data/lib/typhoeus/hydra/easy_factory.rb +4 -5
- data/lib/typhoeus/hydra/runnable.rb +0 -1
- data/lib/typhoeus/request/operations.rb +0 -1
- data/lib/typhoeus/response/header.rb +1 -0
- data/lib/typhoeus/version.rb +1 -1
- metadata +83 -51
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## Master
|
4
|
+
|
5
|
+
[Full Changelog](http://github.com/typhoeus/typhoeus/compare/v0.5.1...master)
|
6
|
+
|
7
|
+
## 0.5.1
|
8
|
+
|
9
|
+
[Full Changelog](http://github.com/typhoeus/typhoeus/compare/v0.5.0...v0.5.1)
|
10
|
+
|
11
|
+
Enhancements:
|
12
|
+
|
13
|
+
* Downcase header keys for easier access
|
14
|
+
( [\#227](https://github.com/typhoeus/typhoeus/issues/227) )
|
15
|
+
* Using an updated Ethon version.
|
16
|
+
|
3
17
|
## 0.5.0
|
4
18
|
|
5
|
-
[Full Changelog](http://github.com/typhoeus/typhoeus/compare/v0.4.2...
|
19
|
+
[Full Changelog](http://github.com/typhoeus/typhoeus/compare/v0.4.2...v0.5.0)
|
6
20
|
|
7
21
|
Major Changes:
|
8
22
|
|
data/README.md
CHANGED
@@ -2,8 +2,8 @@ module Typhoeus
|
|
2
2
|
class Hydra
|
3
3
|
|
4
4
|
# This is a Factory for easies to be used in the hydra.
|
5
|
-
# Before an easy is ready to be added to a multi
|
6
|
-
#
|
5
|
+
# Before an easy is ready to be added to a multi the
|
6
|
+
# on_complete callback to be set.
|
7
7
|
# This is done by this class.
|
8
8
|
#
|
9
9
|
# @api private
|
@@ -41,19 +41,18 @@ module Typhoeus
|
|
41
41
|
@easy ||= hydra.get_easy
|
42
42
|
end
|
43
43
|
|
44
|
-
# Fabricated
|
44
|
+
# Fabricated easy.
|
45
45
|
#
|
46
46
|
# @example Prepared easy.
|
47
47
|
# easy_factory.get
|
48
48
|
#
|
49
|
-
# @return [ Ethon::Easy ] The
|
49
|
+
# @return [ Ethon::Easy ] The easy.
|
50
50
|
def get
|
51
51
|
easy.http_request(
|
52
52
|
request.url,
|
53
53
|
request.options.fetch(:method, :get),
|
54
54
|
request.options.reject{|k,_| k==:method}
|
55
55
|
)
|
56
|
-
easy.prepare
|
57
56
|
set_callback
|
58
57
|
easy
|
59
58
|
end
|
data/lib/typhoeus/version.rb
CHANGED
metadata
CHANGED
@@ -1,73 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typhoeus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.5.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Balatero
|
9
9
|
- Paul Dix
|
10
10
|
- Hans Hasselberg
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-11-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: ethon
|
18
|
-
|
19
|
-
none: false
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
19
|
requirements:
|
21
20
|
- - '='
|
22
21
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.5.
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
version: 0.5.3
|
27
23
|
none: false
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
28
25
|
requirements:
|
29
26
|
- - '='
|
30
27
|
- !ruby/object:Gem::Version
|
31
|
-
version: 0.5.
|
32
|
-
|
33
|
-
|
28
|
+
version: 0.5.3
|
29
|
+
none: false
|
30
|
+
prerelease: false
|
31
|
+
type: :runtime
|
32
|
+
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.
|
34
33
|
email:
|
35
34
|
- hans.hasselberg@gmail.com
|
36
35
|
executables: []
|
37
36
|
extensions: []
|
38
37
|
extra_rdoc_files: []
|
39
38
|
files:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
-
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
|
56
|
-
-
|
57
|
-
|
58
|
-
-
|
59
|
-
|
60
|
-
-
|
61
|
-
|
62
|
-
-
|
63
|
-
|
64
|
-
-
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
-
|
69
|
-
|
70
|
-
-
|
39
|
+
- !binary |-
|
40
|
+
bGliL3R5cGhvZXVzLnJi
|
41
|
+
- !binary |-
|
42
|
+
bGliL3R5cGhvZXVzL2NvbmZpZy5yYg==
|
43
|
+
- !binary |-
|
44
|
+
bGliL3R5cGhvZXVzL2Vycm9ycy5yYg==
|
45
|
+
- !binary |-
|
46
|
+
bGliL3R5cGhvZXVzL2V4cGVjdGF0aW9uLnJi
|
47
|
+
- !binary |-
|
48
|
+
bGliL3R5cGhvZXVzL2h5ZHJhLnJi
|
49
|
+
- !binary |-
|
50
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QucmI=
|
51
|
+
- !binary |-
|
52
|
+
bGliL3R5cGhvZXVzL3Jlc3BvbnNlLnJi
|
53
|
+
- !binary |-
|
54
|
+
bGliL3R5cGhvZXVzL3ZlcnNpb24ucmI=
|
55
|
+
- !binary |-
|
56
|
+
bGliL3R5cGhvZXVzL2FkYXB0ZXJzL2ZhcmFkYXkucmI=
|
57
|
+
- !binary |-
|
58
|
+
bGliL3R5cGhvZXVzL2Vycm9ycy9ub19zdHViLnJi
|
59
|
+
- !binary |-
|
60
|
+
bGliL3R5cGhvZXVzL2Vycm9ycy90eXBob2V1c19lcnJvci5yYg==
|
61
|
+
- !binary |-
|
62
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL2JlZm9yZS5yYg==
|
63
|
+
- !binary |-
|
64
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL2Jsb2NrX2Nvbm5lY3Rpb24ucmI=
|
65
|
+
- !binary |-
|
66
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL2Vhc3lfZmFjdG9yeS5yYg==
|
67
|
+
- !binary |-
|
68
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL2Vhc3lfcG9vbC5yYg==
|
69
|
+
- !binary |-
|
70
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL21lbW9pemFibGUucmI=
|
71
|
+
- !binary |-
|
72
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL3F1ZXVlYWJsZS5yYg==
|
73
|
+
- !binary |-
|
74
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL3J1bm5hYmxlLnJi
|
75
|
+
- !binary |-
|
76
|
+
bGliL3R5cGhvZXVzL2h5ZHJhL3N0dWJiYWJsZS5yYg==
|
77
|
+
- !binary |-
|
78
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvYWN0aW9ucy5yYg==
|
79
|
+
- !binary |-
|
80
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvYmVmb3JlLnJi
|
81
|
+
- !binary |-
|
82
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvYmxvY2tfY29ubmVjdGlvbi5yYg==
|
83
|
+
- !binary |-
|
84
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvY2FsbGJhY2tzLnJi
|
85
|
+
- !binary |-
|
86
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvbWFyc2hhbC5yYg==
|
87
|
+
- !binary |-
|
88
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvbWVtb2l6YWJsZS5yYg==
|
89
|
+
- !binary |-
|
90
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3Qvb3BlcmF0aW9ucy5yYg==
|
91
|
+
- !binary |-
|
92
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3QvcmVzcG9uc2VhYmxlLnJi
|
93
|
+
- !binary |-
|
94
|
+
bGliL3R5cGhvZXVzL3JlcXVlc3Qvc3R1YmJhYmxlLnJi
|
95
|
+
- !binary |-
|
96
|
+
bGliL3R5cGhvZXVzL3Jlc3BvbnNlL2hlYWRlci5yYg==
|
97
|
+
- !binary |-
|
98
|
+
bGliL3R5cGhvZXVzL3Jlc3BvbnNlL2luZm9ybWF0aW9ucy5yYg==
|
99
|
+
- !binary |-
|
100
|
+
bGliL3R5cGhvZXVzL3Jlc3BvbnNlL3N0YXR1cy5yYg==
|
71
101
|
- CHANGELOG.md
|
72
102
|
- Gemfile
|
73
103
|
- LICENSE
|
@@ -75,29 +105,31 @@ files:
|
|
75
105
|
- Rakefile
|
76
106
|
homepage: https://github.com/typhoeus/typhoeus
|
77
107
|
licenses: []
|
78
|
-
post_install_message:
|
108
|
+
post_install_message:
|
79
109
|
rdoc_options: []
|
80
110
|
require_paths:
|
81
111
|
- lib
|
82
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
113
|
requirements:
|
85
114
|
- - ! '>='
|
86
115
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
88
116
|
segments:
|
89
117
|
- 0
|
90
|
-
hash:
|
91
|
-
|
118
|
+
hash: 2
|
119
|
+
version: !binary |-
|
120
|
+
MA==
|
92
121
|
none: false
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
123
|
requirements:
|
94
124
|
- - ! '>='
|
95
125
|
- !ruby/object:Gem::Version
|
96
126
|
version: 1.3.6
|
127
|
+
none: false
|
97
128
|
requirements: []
|
98
129
|
rubyforge_project: ! '[none]'
|
99
|
-
rubygems_version: 1.8.
|
100
|
-
signing_key:
|
130
|
+
rubygems_version: 1.8.24
|
131
|
+
signing_key:
|
101
132
|
specification_version: 3
|
102
133
|
summary: Parallel HTTP library on top of libcurl multi.
|
103
134
|
test_files: []
|
135
|
+
...
|