Sha256: 990b93fa70f6eea8a14ba2c4cf8d1c29ed627d3d43f9354e7505877f4fec56e1

Contents?: true

Size: 756 Bytes

Versions: 10

Compression:

Stored size: 756 Bytes

Contents

module Repomen
  module Repo
    module Handler
      class Base
        include WithDefaultConfig

        attr_reader :config
        attr_reader :path
        attr_reader :url

        def initialize(url, path, _config = default_config)
          @url = url
          @config = Repomen::Config(_config)
          @path = File.join(config.work_dir, path)
        end

        def branch_name
          raise NotImplementedError
        end

        def change_branch(name)
          raise NotImplementedError
        end

        def retrieve
          raise NotImplementedError
        end

        def revision
          raise NotImplementedError
        end

        def tag
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
repomen-0.2.1 lib/repomen/repo/handler/base.rb
repomen-0.2.0 lib/repomen/repo/handler/base.rb
repomen-0.2.0.rc1 lib/repomen/repo/handler/base.rb
repomen-0.1.8 lib/repomen/repo/handler/base.rb
repomen-0.1.7 lib/repomen/repo/handler/base.rb
repomen-0.1.6 lib/repomen/repo/handler/base.rb
repomen-0.1.5 lib/repomen/repo/handler/base.rb
repomen-0.1.4 lib/repomen/repo/handler/base.rb
repomen-0.1.3 lib/repomen/repo/handler/base.rb
repomen-0.1.2 lib/repomen/repo/handler/base.rb