Sha256: ac644f7344b69d5f08c3ac67c6b032cec830144326844009e41e89ec4c41bfcc

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

require 'technologist/framework_detector'
require 'technologist/git_repository'

module Technologist
  class Repository
    attr_reader :git_repository, :framework_detector

    def initialize(repository_path)
      @git_repository = GitRepository.new(repository_path)
      @framework_detector = FrameworkDetector.new(@git_repository)
    end

    def frameworks
      framework_detector.frameworks
    end

    def primary_frameworks
      framework_detector.primary_frameworks
    end

    def secondary_frameworks
      framework_detector.secondary_frameworks
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
technologist-0.6.1 lib/technologist/repository.rb
technologist-0.6.0 lib/technologist/repository.rb