resourceful 0.5.2 → 0.5.3

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 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.2"
15
+ VERSION = "0.5.3"
16
16
  RESOURCEFUL_USER_AGENT_TOKEN = "Resourceful/#{VERSION}(Ruby/#{RUBY_VERSION})"
17
17
 
18
18
  end
@@ -86,7 +86,7 @@ module Resourceful
86
86
  @cached_response ||= begin
87
87
  @already_checked_cache = true
88
88
  resp = accessor.cache_manager.lookup(self)
89
- logger.info(" Retrieved from cache")
89
+ logger.info(" Retrieved from cache") if resp
90
90
  resp
91
91
  end
92
92
  end
@@ -162,7 +162,6 @@ module Resourceful
162
162
  # Perform the request, with no magic handling of anything.
163
163
  def perform!
164
164
  @request_time = Time.now
165
- logger.debug("DEBUG: Request Header: #{@header.inspect}")
166
165
 
167
166
  http_resp = NetHttpAdapter.make_request(@method, @resource.uri, @body, @header)
168
167
  @response = Resourceful::Response.new(uri, *http_resp)
data/resourceful.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{resourceful}
5
- s.version = "0.5.2"
5
+ s.version = "0.5.3"
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"]
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.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas