<commit_before>require 'faraday_middleware'

module FedSpending
  class Client
    module Connection
      private

      def connection
        Faraday.new(:url => 'http://www.fedspending.org/') do |connection|
          connection.use Faraday::Request::UrlEncoded
          connection.use Faraday::Response::RaiseError
          connection.use Faraday::Response::Rashify
          #connection.use Faraday::Response::ParseXml
          #connection.use Faraday::Response::ParseJson
          connection.adapter(Faraday.default_adapter)
        end
      end
    end
  end
end<commit_msg>commented back in the xml parsing<commit_after>require 'faraday_middleware'

module FedSpending
  class Client
    module Connection
      private

      def connection
        Faraday.new(:url => 'http://www.fedspending.org/') do |connection|
          connection.use Faraday::Request::UrlEncoded
          connection.use Faraday::Response::RaiseError
          connection.use Faraday::Response::Rashify
          connection.use Faraday::Response::ParseXml
          #connection.use Faraday::Response::ParseJson
          connection.adapter(Faraday.default_adapter)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08633696563285834, 'fraction_numerical': 0.0, 'mean_word_length': 2.8516129032258064, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4424506', 'n_tokens_mistral': 335, 'n_tokens_neox': 313, 'n_words': 66}