resourceful 0.5.3 → 0.5.4
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/lib/resourceful.rb +1 -1
- data/lib/resourceful/resource.rb +3 -0
- data/lib/resourceful/response.rb +2 -1
- data/resourceful.gemspec +3 -3
- metadata +3 -3
data/lib/resourceful.rb
CHANGED
@@ -12,7 +12,7 @@ require 'resourceful/http_accessor'
|
|
12
12
|
|
13
13
|
# Resourceful is a library that provides a high level HTTP interface.
|
14
14
|
module Resourceful
|
15
|
-
VERSION = "0.5.
|
15
|
+
VERSION = "0.5.4"
|
16
16
|
RESOURCEFUL_USER_AGENT_TOKEN = "Resourceful/#{VERSION}(Ruby/#{RUBY_VERSION})"
|
17
17
|
|
18
18
|
end
|
data/lib/resourceful/resource.rb
CHANGED
data/lib/resourceful/response.rb
CHANGED
@@ -68,7 +68,8 @@ module Resourceful
|
|
68
68
|
# Update our headers from a later 304 response
|
69
69
|
def revalidate!(not_modified_response)
|
70
70
|
header.merge!(not_modified_response.header)
|
71
|
-
request_time
|
71
|
+
@request_time = not_modified_response.request_time
|
72
|
+
@response_time = not_modified_response.response_time
|
72
73
|
@authoritative = true
|
73
74
|
end
|
74
75
|
|
data/resourceful.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{resourceful}
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Paul Sadauskas"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-08-11}
|
10
10
|
s.description = %q{An HTTP library for Ruby that takes advantage of everything HTTP has to offer.}
|
11
11
|
s.email = %q{psadauskas@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["lib/resourceful.rb", "lib/resourceful/net_http_adapter.rb", "lib/resourceful/stubbed_resource_proxy.rb", "lib/resourceful/header.rb", "lib/resourceful/memcache_cache_manager.rb", "lib/resourceful/response.rb", "lib/resourceful/util.rb", "lib/resourceful/options_interpreter.rb", "lib/resourceful/cache_manager.rb", "lib/resourceful/request.rb", "lib/resourceful/resource.rb", "lib/resourceful/exceptions.rb", "lib/resourceful/http_accessor.rb", "lib/resourceful/authentication_manager.rb", "README.markdown"]
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Resourceful", "--main", "README.markdown"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubyforge_project = %q{resourceful}
|
18
|
-
s.rubygems_version = %q{1.3.
|
18
|
+
s.rubygems_version = %q{1.3.5}
|
19
19
|
s.summary = %q{An HTTP library for Ruby that takes advantage of everything HTTP has to offer.}
|
20
20
|
|
21
21
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resourceful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Sadauskas
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-11 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
requirements: []
|
155
155
|
|
156
156
|
rubyforge_project: resourceful
|
157
|
-
rubygems_version: 1.3.
|
157
|
+
rubygems_version: 1.3.5
|
158
158
|
signing_key:
|
159
159
|
specification_version: 3
|
160
160
|
summary: An HTTP library for Ruby that takes advantage of everything HTTP has to offer.
|