Sha256: d17fb23b28228ff8ffac4df77d561f2bcc55569a5286ee74edc3d5ded1090fdb

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

module Space
  module Model
    class Repo
      class Dependency
        attr_reader :repo, :ref

        def initialize(repo, ref)
          @repo = repo
          @ref = ref
        end

        def name
          repo.name
        end

        def fresh?
          repo.ref == ref
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
space-0.0.9 lib/space/model/repo/dependency.rb
space-0.0.8 lib/space/model/repo/dependency.rb
space-0.0.7 lib/space/model/repo/dependency.rb
space-0.0.6 lib/space/model/repo/dependency.rb