Sha256: 3f0de9ed2e6fff673cfade68b359d84b6392e0981dd2918b84a2eeff43375ce2
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
require File.dirname(__FILE__) + '/pivotal/pivotal-api' # Monkey patch for backward compatibility issue with type cast on xml response class Hash class << self alias_method :from_xml_original, :from_xml def from_xml(xml) scrubbed = scrub_attributes(xml) from_xml_original(scrubbed) end def scrub_attributes(xml) xml.gsub(/<stories.*>/, "<stories type=\"array\">") end end end %w{ pivotal ticket project comment }.each do |f| require File.dirname(__FILE__) + '/provider/' + f + '.rb'; end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
taskmapper-pivotal-0.9.1 | lib/taskmapper-pivotal.rb |
taskmapper-pivotal-0.9.0 | lib/taskmapper-pivotal.rb |
taskmapper-pivotal-0.8.2 | lib/taskmapper-pivotal.rb |