wrest 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/README.rdoc +4 -2
- data/lib/wrest/version.rb +1 -1
- metadata +86 -86
data/CHANGELOG
CHANGED
@@ -2,6 +2,9 @@ Features under the section marked 'Current' are completed but pending release as
|
|
2
2
|
|
3
3
|
Features under a numbered section are complete and available in the Wrest gem.
|
4
4
|
|
5
|
+
== 1.4.6
|
6
|
+
* Bump Builder dependency to allow both Builder 2.x and 3.x to be used
|
7
|
+
|
5
8
|
== 1.4.5
|
6
9
|
* GH#107 alias :deserialize :deserialise
|
7
10
|
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Wrest 1.4.
|
1
|
+
= Wrest 1.4.6
|
2
2
|
|
3
3
|
(c) Copyright 2009-2011 {Sidu Ponnappa}[http://blog.sidu.in]. All Rights Reserved.
|
4
4
|
|
@@ -86,6 +86,8 @@ For Facebook, Twitter, Delicious, GitHub and other API examples, see http://gith
|
|
86
86
|
:image => UploadIO.new(File.open(file_path), "image/png", file_path),
|
87
87
|
:key => imgur_key
|
88
88
|
).deserialise
|
89
|
+
|
90
|
+
** Note: To enable Multipart support, you'll have to explicitly require 'wrest/multipart', which depends on a '{multipart-post}[https://rubygems.org/gems/multipart-post]'
|
89
91
|
|
90
92
|
==== DELETE
|
91
93
|
|
@@ -250,7 +252,7 @@ You can launch the interactive Wrest shell by running bin/wrest if you have the
|
|
250
252
|
|
251
253
|
=== Testing
|
252
254
|
|
253
|
-
Start the Sinatra test server for functional test.
|
255
|
+
Start the Sinatra test server for functional test. The dependencies for the test app are managed separately by a Gemfile under spec/sample_app.
|
254
256
|
rake -f spec/sample_app/Rakefile # runs on port 3000
|
255
257
|
|
256
258
|
Start a memcached daemon/process on port 11211
|
data/lib/wrest/version.rb
CHANGED
metadata
CHANGED
@@ -1,117 +1,117 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: wrest
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.4.6
|
4
5
|
prerelease:
|
5
|
-
version: 1.4.5
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Sidu Ponnappa
|
9
9
|
- Niranjan Paranjape
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
14
|
-
date: 2011-05-26 00:00:00 +05:30
|
13
|
+
date: 2011-08-19 00:00:00.000000000 +05:30
|
15
14
|
default_executable:
|
16
|
-
dependencies:
|
17
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
18
17
|
name: rubyforge
|
19
|
-
|
20
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &2165959240 !ruby/object:Gem::Requirement
|
21
19
|
none: false
|
22
|
-
requirements:
|
23
|
-
- -
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version:
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
26
24
|
type: :development
|
27
|
-
version_requirements: *id001
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rspec
|
30
25
|
prerelease: false
|
31
|
-
|
26
|
+
version_requirements: *2165959240
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: &2168591920 !ruby/object:Gem::Requirement
|
32
30
|
none: false
|
33
|
-
requirements:
|
31
|
+
requirements:
|
34
32
|
- - ~>
|
35
|
-
- !ruby/object:Gem::Version
|
33
|
+
- !ruby/object:Gem::Version
|
36
34
|
version: 2.5.0
|
37
35
|
type: :development
|
38
|
-
version_requirements: *id002
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: sinatra
|
41
36
|
prerelease: false
|
42
|
-
|
37
|
+
version_requirements: *2168591920
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: sinatra
|
40
|
+
requirement: &2168590500 !ruby/object:Gem::Requirement
|
43
41
|
none: false
|
44
|
-
requirements:
|
42
|
+
requirements:
|
45
43
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
44
|
+
- !ruby/object:Gem::Version
|
47
45
|
version: 1.0.0
|
48
46
|
type: :development
|
49
|
-
version_requirements: *id003
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: metric_fu
|
52
47
|
prerelease: false
|
53
|
-
|
48
|
+
version_requirements: *2168590500
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: metric_fu
|
51
|
+
requirement: &2168589400 !ruby/object:Gem::Requirement
|
54
52
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version:
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
59
57
|
type: :development
|
60
|
-
version_requirements: *id004
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: activesupport
|
63
58
|
prerelease: false
|
64
|
-
|
59
|
+
version_requirements: *2168589400
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: activesupport
|
62
|
+
requirement: &2168588340 !ruby/object:Gem::Requirement
|
65
63
|
none: false
|
66
|
-
requirements:
|
64
|
+
requirements:
|
67
65
|
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version:
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '3.0'
|
70
68
|
type: :runtime
|
71
|
-
version_requirements: *id005
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: builder
|
74
69
|
prerelease: false
|
75
|
-
|
70
|
+
version_requirements: *2168588340
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: builder
|
73
|
+
requirement: &2168587440 !ruby/object:Gem::Requirement
|
76
74
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version:
|
75
|
+
requirements:
|
76
|
+
- - ! '>'
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.0'
|
81
79
|
type: :runtime
|
82
|
-
version_requirements: *id006
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: i18n
|
85
80
|
prerelease: false
|
86
|
-
|
81
|
+
version_requirements: *2168587440
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: i18n
|
84
|
+
requirement: &2168586540 !ruby/object:Gem::Requirement
|
87
85
|
none: false
|
88
|
-
requirements:
|
86
|
+
requirements:
|
89
87
|
- - ~>
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version:
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.4'
|
92
90
|
type: :runtime
|
93
|
-
version_requirements: *id007
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: json
|
96
91
|
prerelease: false
|
97
|
-
|
92
|
+
version_requirements: *2168586540
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: json
|
95
|
+
requirement: &2168585280 !ruby/object:Gem::Requirement
|
98
96
|
none: false
|
99
|
-
requirements:
|
97
|
+
requirements:
|
100
98
|
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version:
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '1.5'
|
103
101
|
type: :runtime
|
104
|
-
|
105
|
-
|
106
|
-
|
102
|
+
prerelease: false
|
103
|
+
version_requirements: *2168585280
|
104
|
+
description: Wrest is a fluent, easy-to-use, object oriented Ruby HTTP/REST client
|
105
|
+
library with support for RFC2616 HTTP caching, multiple HTTP backends and async
|
106
|
+
calls using EventMachine. It runs on CRuby, JRuby and Rubinius.
|
107
|
+
email:
|
107
108
|
- sidu@c42.in
|
108
|
-
executables:
|
109
|
+
executables:
|
109
110
|
- wrest
|
110
111
|
extensions: []
|
111
|
-
|
112
|
-
extra_rdoc_files:
|
112
|
+
extra_rdoc_files:
|
113
113
|
- README.rdoc
|
114
|
-
files:
|
114
|
+
files:
|
115
115
|
- bin/wrest
|
116
116
|
- bin/wrest.compiled.rbc
|
117
117
|
- bin/wrest_shell.rb
|
@@ -195,33 +195,33 @@ files:
|
|
195
195
|
has_rdoc: true
|
196
196
|
homepage: http://c42.in/open_source
|
197
197
|
licenses: []
|
198
|
-
|
199
198
|
post_install_message:
|
200
|
-
rdoc_options:
|
199
|
+
rdoc_options:
|
201
200
|
- --charset=UTF-8
|
202
|
-
require_paths:
|
201
|
+
require_paths:
|
203
202
|
- lib
|
204
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
204
|
none: false
|
206
|
-
requirements:
|
207
|
-
- -
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version:
|
210
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
210
|
none: false
|
212
|
-
requirements:
|
213
|
-
- -
|
214
|
-
- !ruby/object:Gem::Version
|
211
|
+
requirements:
|
212
|
+
- - ! '>='
|
213
|
+
- !ruby/object:Gem::Version
|
215
214
|
version: 1.3.0
|
216
|
-
requirements:
|
215
|
+
requirements:
|
217
216
|
- To use Memcached as caching back-end, install the 'dalli' gem.
|
218
217
|
- To use multipart post, install the 'multipart-post' gem.
|
219
|
-
- To use curl as the http engine, install the 'patron' gem. This feature is not available
|
218
|
+
- To use curl as the http engine, install the 'patron' gem. This feature is not available
|
219
|
+
(and should be unneccessary) on jruby.
|
220
220
|
- To use eventmachine as a parallel backend, install the 'eventmachine' gem.
|
221
221
|
rubyforge_project: wrest
|
222
222
|
rubygems_version: 1.6.2
|
223
223
|
signing_key:
|
224
224
|
specification_version: 3
|
225
|
-
summary: Wrest is a fluent, object oriented HTTP client library for 1.8, 1.9, JRuby
|
225
|
+
summary: Wrest is a fluent, object oriented HTTP client library for 1.8, 1.9, JRuby
|
226
|
+
and Rubinius.
|
226
227
|
test_files: []
|
227
|
-
|