Permalink
Browse files

removed forgotten debugging >puts

  • Loading branch information...
1 parent 53fb8cd commit 05764fa6d935bfe7b6d11b582254071c24e13ca5 filip committed Oct 11, 2012
@@ -41,8 +41,6 @@ def make_http_request(api_request)
http_client, http_request = create_http_request(api_request)
@client.log(:verbose) { "ApiOperator: Making HTTP Request..." }
http_client.request(http_request).tap do |http_response|
- puts @client.inspect
- puts http_response.inspect
@client.log(:verbose) { "ApiOperator: Response Headers: #{http_response.header.to_yaml}" }
end
end
@@ -21,7 +21,6 @@ def call_api(api_request)
def response_out_of_date?(api_response, current_time=nil)
- puts @client.inspect
(api_response.nil? || header_invalid?(api_response.headers) || cache_expired?(api_response.headers, current_time)).tap do |expired|
@client.log(:verbose) { "ApiOperatorCached: Cache response out of date" if expired }
end
@@ -28,7 +28,6 @@ def parse_xml_doc(xml, response)
response_node = xml_doc.at_xpath("./response")
response_status = nil
response_status = get_optional_attribute(response_node, "status") if response_node
- puts xml.inspect
if response_status == 'ok' then
response.error_code = 0
else
@@ -36,9 +36,6 @@ def nested_list_from_xml_string(xml, container_element_name, list_element_name =
end
def nested_list_from_xml_doc(list_node, list_element_name = default_list_element_name, element_name = default_element_name)
- puts list_element_name
- puts element_name
- puts list_node.inspect
make_sure_eating_nokogiri_node(list_node)
list = []
list_node.xpath("./#{list_element_name}/#{element_name}").each { |node| list << from_xml_doc(node)}
@@ -11,7 +11,6 @@ def ok?
end
def content_xml
- puts @content
@content_xml ||= Nokogiri::XML(@content)
end
@@ -1,5 +1,5 @@
module Sevendigital
# The version of the gem
NAME = "7digital"
- VERSION = '0.1.0'
+ VERSION = '0.1.1'
end
@@ -56,8 +56,7 @@
it "should use environment specific configuration file with environment specific settings" do
conf_file = File.join(File.dirname(__FILE__),"data", "configuration_env_override.yml")
- puts conf_file
-
+
rails = OpenStruct.new
rails.env = "development"
Object.const_set(:Rails, rails)
View
@@ -48,7 +48,6 @@
request.parameters[:releaseId].should == 456
request.parameters[:country].should == "CU"
request.parameters[:page].should == 1
- puts request.parameters.inspect
request.parameters.keys.size.should == 4 # page_size == null
end

0 comments on commit 05764fa

Please sign in to comment.