wrest 1.2.0-universal-java-1.6 → 1.2.1-universal-java-1.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 -4
- data/lib/wrest.rb +0 -1
- data/lib/wrest/version.rb +1 -1
- metadata +8 -19
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.2.1
|
6
|
+
* GH#91 Remove dependency on tzinfo
|
7
|
+
|
5
8
|
== 1.2.0
|
6
9
|
* GH#80 Add a convenience API to make it easy to use the existing URI callback API
|
7
10
|
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Wrest 1.1
|
1
|
+
= Wrest 1.2.1
|
2
2
|
|
3
3
|
(c) Copyright 2009-2011 {Sidu Ponnappa}[http://blog.sidu.in]. All Rights Reserved.
|
4
4
|
|
@@ -124,9 +124,9 @@ To explicitly disable caching for specific requests:
|
|
124
124
|
|
125
125
|
"http://c42.in".to_uri(:disable_cache => true).get
|
126
126
|
|
127
|
-
|
127
|
+
=== Callbacks
|
128
128
|
|
129
|
-
|
129
|
+
==== Uri level callbacks
|
130
130
|
|
131
131
|
You can define a set of callbacks that are invoked based on the http codes of the responses to any requests on a given uri.
|
132
132
|
|
@@ -136,7 +136,7 @@ You can define a set of callbacks that are invoked based on the http codes of th
|
|
136
136
|
300..302 => lambda {|response| Wrest.logger.debug "Redirected. #{response.message}" }
|
137
137
|
}).get
|
138
138
|
|
139
|
-
|
139
|
+
==== Per request callbacks
|
140
140
|
|
141
141
|
You can also define callbacks that are invoked based on the http code of the response to a particular request.
|
142
142
|
|
data/lib/wrest.rb
CHANGED
data/lib/wrest/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: wrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.1
|
6
6
|
platform: universal-java-1.6
|
7
7
|
authors:
|
8
8
|
- Sidu Ponnappa
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-02-
|
14
|
+
date: 2011-02-04 00:00:00 +05:30
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -102,50 +102,39 @@ dependencies:
|
|
102
102
|
version: 0.4.1
|
103
103
|
type: :runtime
|
104
104
|
version_requirements: *id008
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: tzinfo
|
107
|
-
prerelease: false
|
108
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: 0.3.23
|
114
|
-
type: :runtime
|
115
|
-
version_requirements: *id009
|
116
105
|
- !ruby/object:Gem::Dependency
|
117
106
|
name: jruby-openssl
|
118
107
|
prerelease: false
|
119
|
-
requirement: &
|
108
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
120
109
|
none: false
|
121
110
|
requirements:
|
122
111
|
- - ~>
|
123
112
|
- !ruby/object:Gem::Version
|
124
113
|
version: 0.7.1
|
125
114
|
type: :runtime
|
126
|
-
version_requirements: *
|
115
|
+
version_requirements: *id009
|
127
116
|
- !ruby/object:Gem::Dependency
|
128
117
|
name: json-jruby
|
129
118
|
prerelease: false
|
130
|
-
requirement: &
|
119
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
131
120
|
none: false
|
132
121
|
requirements:
|
133
122
|
- - ~>
|
134
123
|
- !ruby/object:Gem::Version
|
135
124
|
version: 1.4.3.1
|
136
125
|
type: :runtime
|
137
|
-
version_requirements: *
|
126
|
+
version_requirements: *id010
|
138
127
|
- !ruby/object:Gem::Dependency
|
139
128
|
name: nokogiri
|
140
129
|
prerelease: false
|
141
|
-
requirement: &
|
130
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
142
131
|
none: false
|
143
132
|
requirements:
|
144
133
|
- - ~>
|
145
134
|
- !ruby/object:Gem::Version
|
146
135
|
version: 1.4.3.1
|
147
136
|
type: :runtime
|
148
|
-
version_requirements: *
|
137
|
+
version_requirements: *id011
|
149
138
|
description: Wrest is a HTTP and REST client library which allows you to quickly build well encapsulated, object oriented wrappers around any web service.
|
150
139
|
email:
|
151
140
|
- sidu@c42.in
|