module OhlohScm::Adapters class AbstractAdapter attr_accessor :url, :branch_name, :username, :password, :errors, :public_urls_only def initialize(params={}) params.each { |k,v| send(k.to_s + '=', v) if respond_to?(k.to_s + '=') } end # Handy for test overrides def metaclass class << self self end end # Returns path to the string_encoder binary. # For use with inline system commands like `run`. def string_encoder File.expand_path('../../../../bin/string_encoder', __FILE__) end end end require_relative 'abstract/system' require_relative 'abstract/validation' require_relative 'abstract/sha1' require_relative 'abstract/misc'