Sha256: 550b44121a85ea01ce289765caff2b9c228aff8031c784ea2404182ae9c04524

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

# Polisher Git Based Project Representation
#
# Licensed under the MIT license
# Copyright (C) 2013-2014 Red Hat, Inc.

require 'polisher/vendor'
require 'polisher/git/repo'

module Polisher
  module Git
    # Git based project representation
    class Project < Repo
      include HasVendoredDeps

      # Override vendored to ensure repo is
      # cloned before retrieving modules
      def vendored
        clone unless cloned?
        super
      end
    end # class Project
  end # module Git
end # module Polisher

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polisher-0.10.2 lib/polisher/git/project.rb
polisher-0.10.1 lib/polisher/git/project.rb
polisher-0.9.1 lib/polisher/git/project.rb
polisher-0.8.1 lib/polisher/git/project.rb