Sha256: 825bda146d34608e1811bce1511e037efa86102a4020f924c6313355676449bb

Contents?: true

Size: 518 Bytes

Versions: 6

Compression:

Stored size: 518 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 primary_frameworks
      framework_detector.primary_frameworks
    end

    def secondary_frameworks
      framework_detector.secondary_frameworks
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
technologist-0.5.0 lib/technologist/repository.rb
technologist-0.4.0 lib/technologist/repository.rb
technologist-0.3.0 lib/technologist/repository.rb
technologist-0.2.1 lib/technologist/repository.rb
technologist-0.2.0 lib/technologist/repository.rb
technologist-0.1.0 lib/technologist/repository.rb