em-net-http 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/em-net-http.gemspec +1 -1
- data/lib/em-net-http.rb +1 -1
- metadata +72 -81
data/em-net-http.gemspec
CHANGED
data/lib/em-net-http.rb
CHANGED
@@ -11,7 +11,7 @@ module EventMachine
|
|
11
11
|
alias_method :msg, :message
|
12
12
|
|
13
13
|
def initialize(response_header)
|
14
|
-
@code = response_header.http_status
|
14
|
+
@code = response_header.http_status.to_s
|
15
15
|
@message = response_header.http_reason
|
16
16
|
@http_version = response_header.http_version
|
17
17
|
@header = response_header
|
metadata
CHANGED
@@ -1,105 +1,101 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-net-http
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.6
|
4
5
|
prerelease:
|
5
|
-
version: 0.3.5
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- James Fairbairn
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-12 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: rake
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70106516929060 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: eventmachine
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: *70106516929060
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: eventmachine
|
27
|
+
requirement: &70106516928320 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
35
32
|
version: 0.12.10
|
36
33
|
type: :runtime
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: addressable
|
40
34
|
prerelease: false
|
41
|
-
|
35
|
+
version_requirements: *70106516928320
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: addressable
|
38
|
+
requirement: &70106516927800 !ruby/object:Gem::Requirement
|
42
39
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
47
44
|
type: :runtime
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: em-http-request
|
51
45
|
prerelease: false
|
52
|
-
|
46
|
+
version_requirements: *70106516927800
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: em-http-request
|
49
|
+
requirement: &70106516927300 !ruby/object:Gem::Requirement
|
53
50
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
57
54
|
version: 0.2.10
|
58
55
|
type: :runtime
|
59
|
-
version_requirements: *id004
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: rspec
|
62
56
|
prerelease: false
|
63
|
-
|
57
|
+
version_requirements: *70106516927300
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rspec
|
60
|
+
requirement: &70106516926680 !ruby/object:Gem::Requirement
|
64
61
|
none: false
|
65
|
-
requirements:
|
62
|
+
requirements:
|
66
63
|
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '2.5'
|
69
66
|
type: :development
|
70
|
-
version_requirements: *id005
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: mimic
|
73
67
|
prerelease: false
|
74
|
-
|
68
|
+
version_requirements: *70106516926680
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mimic
|
71
|
+
requirement: &70106516926100 !ruby/object:Gem::Requirement
|
75
72
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
79
76
|
version: 0.3.0
|
80
77
|
type: :development
|
81
|
-
version_requirements: *id006
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: weary
|
84
78
|
prerelease: false
|
85
|
-
|
79
|
+
version_requirements: *70106516926100
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: weary
|
82
|
+
requirement: &70106516925520 !ruby/object:Gem::Requirement
|
86
83
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version:
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
91
88
|
type: :development
|
92
|
-
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70106516925520
|
93
91
|
description: Monkeypatching Net::HTTP to use em-http-request under the hood.
|
94
92
|
email: james@netlagoon.com
|
95
93
|
executables: []
|
96
|
-
|
97
94
|
extensions: []
|
98
|
-
|
99
|
-
extra_rdoc_files:
|
95
|
+
extra_rdoc_files:
|
100
96
|
- LICENSE
|
101
97
|
- README.md
|
102
|
-
files:
|
98
|
+
files:
|
103
99
|
- .document
|
104
100
|
- Gemfile
|
105
101
|
- LICENSE
|
@@ -115,33 +111,28 @@ files:
|
|
115
111
|
- spec/image.jpg
|
116
112
|
- spec/spec.opts
|
117
113
|
- spec/spec_helper.rb
|
118
|
-
has_rdoc: true
|
119
114
|
homepage: http://github.com/jfairbairn/em-net-http
|
120
115
|
licenses: []
|
121
|
-
|
122
116
|
post_install_message:
|
123
117
|
rdoc_options: []
|
124
|
-
|
125
|
-
require_paths:
|
118
|
+
require_paths:
|
126
119
|
- lib
|
127
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
121
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version:
|
133
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
127
|
none: false
|
135
|
-
requirements:
|
136
|
-
- -
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version:
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
139
132
|
requirements: []
|
140
|
-
|
141
133
|
rubyforge_project:
|
142
|
-
rubygems_version: 1.
|
134
|
+
rubygems_version: 1.8.10
|
143
135
|
signing_key:
|
144
136
|
specification_version: 3
|
145
137
|
summary: Non-blocking replacement for Net::HTTP, for use in EventMachine
|
146
138
|
test_files: []
|
147
|
-
|