wrest 1.2.0-universal-java-1.6 → 1.2.1-universal-java-1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.0
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
- ==== Callbacks
127
+ === Callbacks
128
128
 
129
- ===== Uri level callbacks
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
- ===== Per request callbacks
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
@@ -18,7 +18,6 @@ require 'base64'
18
18
  require 'logger'
19
19
  require 'benchmark'
20
20
  require 'active_support'
21
- require 'active_support/json'
22
21
  require 'active_support/core_ext/string'
23
22
  require 'active_support/core_ext/hash'
24
23
  require 'active_support/core_ext/module'
data/lib/wrest/version.rb CHANGED
@@ -8,5 +8,5 @@
8
8
  # See the License for the specific language governing permissions and limitations under the License.
9
9
 
10
10
  module Wrest
11
- VERSION = "1.2.0"
11
+ VERSION = "1.2.1"
12
12
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: wrest
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.0
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-03 00:00:00 +05:30
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: &id010 !ruby/object:Gem::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: *id010
115
+ version_requirements: *id009
127
116
  - !ruby/object:Gem::Dependency
128
117
  name: json-jruby
129
118
  prerelease: false
130
- requirement: &id011 !ruby/object:Gem::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: *id011
126
+ version_requirements: *id010
138
127
  - !ruby/object:Gem::Dependency
139
128
  name: nokogiri
140
129
  prerelease: false
141
- requirement: &id012 !ruby/object:Gem::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: *id012
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