<commit_before>require 'faraday'

require 'foauth/version'
require 'foauth/rewrite_middleware'

module Foauth
  def self.new(email, password)
    Faraday.new do |builder|
      builder.request :basic_auth, email, password
      builder.use RewriteMiddleware
      builder.adapter :net_http
    end
  end
end<commit_msg>Use Faraday.default_adapter<commit_after>require 'faraday'

require 'foauth/version'
require 'foauth/rewrite_middleware'

module Foauth
  def self.new(email, password)
    Faraday.new do |builder|
      builder.request :basic_auth, email, password
      builder.use RewriteMiddleware
      builder.adapter Faraday.default_adapter
    end
  end
end
{'fraction_non_alphanumeric': 0.07657657657657657, 'fraction_numerical': 0.0, 'mean_word_length': 4.130769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3163527', 'n_tokens_mistral': 213, 'n_tokens_neox': 206, 'n_words': 50}