<commit_before>require 'devinstall/utils'
module Provider
  module SSH
    include Devinstall::Utils

    def upload_sources(cfg, src, dst)
      config=Settings.instance

      rsync = config.base(:rsync) # should be config.provider[:ssh][:rsync]

      source="#{src}/"
      dest ="#{cfg[:user]}@#{cfg[:host]}:#{dst}"

      command("#{rsync} #{source} #{dest}")
    rescue NoMethodError
      raise "Program error :#{action}"
    end<commit_msg>rename module from Provider::SSH to Provider::Ssh<commit_after>require 'devinstall/utils'
module Provider
  module Ssh
    include Devinstall::Utils

    def upload_sources(cfg, src, dst)
      config=Settings.instance

      rsync = config.base(:rsync) # should be config.provider[:ssh][:rsync]

      source="#{src}/"
      dest ="#{cfg[:user]}@#{cfg[:host]}:#{dst}"

      command("#{rsync} #{source} #{dest}")
    rescue NoMethodError
      raise "Program error :#{action}"
    end
{'fraction_non_alphanumeric': 0.16059957173447537, 'fraction_numerical': 0.0, 'mean_word_length': 3.770408163265306, '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': '4655218', 'n_tokens_mistral': 298, 'n_tokens_neox': 295, 'n_words': 66}