ethon 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/CHANGELOG.md +19 -2
  2. data/Gemfile +20 -1
  3. data/README.md +29 -34
  4. data/lib/ethon/curls/constants.rb +3 -1
  5. data/lib/ethon/curls/functions.rb +36 -29
  6. data/lib/ethon/curls/options.rb +211 -145
  7. data/lib/ethon/easy.rb +747 -102
  8. data/lib/ethon/{easies → easy}/callbacks.rb +1 -1
  9. data/lib/ethon/{easies → easy}/form.rb +6 -6
  10. data/lib/ethon/{easies → easy}/header.rb +1 -1
  11. data/lib/ethon/{easies → easy}/http.rb +16 -10
  12. data/lib/ethon/{easies → easy}/http/actionable.rb +3 -3
  13. data/lib/ethon/{easies → easy}/http/delete.rb +3 -3
  14. data/lib/ethon/{easies → easy}/http/get.rb +3 -3
  15. data/lib/ethon/{easies → easy}/http/head.rb +3 -3
  16. data/lib/ethon/{easies → easy}/http/options.rb +3 -3
  17. data/lib/ethon/{easies → easy}/http/patch.rb +3 -3
  18. data/lib/ethon/{easies → easy}/http/post.rb +3 -3
  19. data/lib/ethon/{easies → easy}/http/postable.rb +1 -1
  20. data/lib/ethon/{easies → easy}/http/put.rb +3 -3
  21. data/lib/ethon/{easies → easy}/http/putable.rb +1 -1
  22. data/lib/ethon/{easies → easy}/informations.rb +1 -1
  23. data/lib/ethon/{easies → easy}/operations.rb +11 -1
  24. data/lib/ethon/{easies → easy}/options.rb +6 -6
  25. data/lib/ethon/{easies → easy}/params.rb +5 -5
  26. data/lib/ethon/{easies → easy}/queryable.rb +1 -1
  27. data/lib/ethon/{easies → easy}/response_callbacks.rb +1 -1
  28. data/lib/ethon/{easies → easy}/util.rb +1 -1
  29. data/lib/ethon/multi.rb +23 -12
  30. data/lib/ethon/{multies → multi}/operations.rb +13 -1
  31. data/lib/ethon/multi/options.rb +86 -0
  32. data/lib/ethon/{multies → multi}/stack.rb +1 -1
  33. data/lib/ethon/version.rb +1 -1
  34. metadata +28 -171
@@ -1,5 +1,5 @@
1
1
  module Ethon
2
- module Multies
2
+ class Multi
3
3
 
4
4
  # This module provides the multi stack behaviour.
5
5
  module Stack
data/lib/ethon/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Ethon
2
2
 
3
3
  # Ethon version.
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-30 00:00:00.000000000 Z
12
+ date: 2012-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -43,150 +43,6 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: '1.18'
46
- - !ruby/object:Gem::Dependency
47
- name: sinatra
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: '1.3'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '1.3'
62
- - !ruby/object:Gem::Dependency
63
- name: json
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '1.7'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '1.7'
78
- - !ruby/object:Gem::Dependency
79
- name: rake
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: '0.9'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '0.9'
94
- - !ruby/object:Gem::Dependency
95
- name: mocha
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: '0.10'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: '0.10'
110
- - !ruby/object:Gem::Dependency
111
- name: rspec
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '2.10'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: '2.10'
126
- - !ruby/object:Gem::Dependency
127
- name: guard-rspec
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: '0.6'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: '0.6'
142
- - !ruby/object:Gem::Dependency
143
- name: patron
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: '0.4'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ~>
156
- - !ruby/object:Gem::Version
157
- version: '0.4'
158
- - !ruby/object:Gem::Dependency
159
- name: curb
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ~>
164
- - !ruby/object:Gem::Version
165
- version: 0.8.0
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- version: 0.8.0
174
- - !ruby/object:Gem::Dependency
175
- name: simplecov
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ~>
180
- - !ruby/object:Gem::Version
181
- version: 0.5.3
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ~>
188
- - !ruby/object:Gem::Version
189
- version: 0.5.3
190
46
  description: Very lightweight libcurl wrapper.
191
47
  email:
192
48
  - me@hans.io
@@ -207,27 +63,27 @@ files:
207
63
  - lib/ethon/curls/proxy_types.rb
208
64
  - lib/ethon/curls/settings.rb
209
65
  - lib/ethon/curls/ssl_versions.rb
210
- - lib/ethon/easies/callbacks.rb
211
- - lib/ethon/easies/form.rb
212
- - lib/ethon/easies/header.rb
213
- - lib/ethon/easies/http/actionable.rb
214
- - lib/ethon/easies/http/delete.rb
215
- - lib/ethon/easies/http/get.rb
216
- - lib/ethon/easies/http/head.rb
217
- - lib/ethon/easies/http/options.rb
218
- - lib/ethon/easies/http/patch.rb
219
- - lib/ethon/easies/http/post.rb
220
- - lib/ethon/easies/http/postable.rb
221
- - lib/ethon/easies/http/put.rb
222
- - lib/ethon/easies/http/putable.rb
223
- - lib/ethon/easies/http.rb
224
- - lib/ethon/easies/informations.rb
225
- - lib/ethon/easies/operations.rb
226
- - lib/ethon/easies/options.rb
227
- - lib/ethon/easies/params.rb
228
- - lib/ethon/easies/queryable.rb
229
- - lib/ethon/easies/response_callbacks.rb
230
- - lib/ethon/easies/util.rb
66
+ - lib/ethon/easy/callbacks.rb
67
+ - lib/ethon/easy/form.rb
68
+ - lib/ethon/easy/header.rb
69
+ - lib/ethon/easy/http/actionable.rb
70
+ - lib/ethon/easy/http/delete.rb
71
+ - lib/ethon/easy/http/get.rb
72
+ - lib/ethon/easy/http/head.rb
73
+ - lib/ethon/easy/http/options.rb
74
+ - lib/ethon/easy/http/patch.rb
75
+ - lib/ethon/easy/http/post.rb
76
+ - lib/ethon/easy/http/postable.rb
77
+ - lib/ethon/easy/http/put.rb
78
+ - lib/ethon/easy/http/putable.rb
79
+ - lib/ethon/easy/http.rb
80
+ - lib/ethon/easy/informations.rb
81
+ - lib/ethon/easy/operations.rb
82
+ - lib/ethon/easy/options.rb
83
+ - lib/ethon/easy/params.rb
84
+ - lib/ethon/easy/queryable.rb
85
+ - lib/ethon/easy/response_callbacks.rb
86
+ - lib/ethon/easy/util.rb
231
87
  - lib/ethon/easy.rb
232
88
  - lib/ethon/errors/ethon_error.rb
233
89
  - lib/ethon/errors/global_init.rb
@@ -240,9 +96,10 @@ files:
240
96
  - lib/ethon/errors/select.rb
241
97
  - lib/ethon/errors.rb
242
98
  - lib/ethon/loggable.rb
99
+ - lib/ethon/multi/operations.rb
100
+ - lib/ethon/multi/options.rb
101
+ - lib/ethon/multi/stack.rb
243
102
  - lib/ethon/multi.rb
244
- - lib/ethon/multies/operations.rb
245
- - lib/ethon/multies/stack.rb
246
103
  - lib/ethon/version.rb
247
104
  - lib/ethon.rb
248
105
  - CHANGELOG.md
@@ -264,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
121
  version: '0'
265
122
  segments:
266
123
  - 0
267
- hash: -4306933410699182262
124
+ hash: 1139806787949437669
268
125
  required_rubygems_version: !ruby/object:Gem::Requirement
269
126
  none: false
270
127
  requirements:
@@ -273,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
130
  version: 1.3.6
274
131
  requirements: []
275
132
  rubyforge_project: ! '[none]'
276
- rubygems_version: 1.8.24
133
+ rubygems_version: 1.8.23
277
134
  signing_key:
278
135
  specification_version: 3
279
136
  summary: Libcurl wrapper.