Sha256: 9f0144e0da67f1695f89f3bbbc58fb3e76433a434f84d83258ac321b0b625709

Contents?: true

Size: 411 Bytes

Versions: 8

Compression:

Stored size: 411 Bytes

Contents

require 'librarian/helpers/debug'

module Librarian
  class Specfile

    include Helpers::Debug

    attr_accessor :environment
    private :environment=
    attr_reader :path, :dependencies, :source

    def initialize(environment, path)
      self.environment = environment
      @path = path
    end

    def read(precache_sources = [])
      environment.dsl(path.read, precache_sources)
    end

  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
librarian-0.0.24 lib/librarian/specfile.rb
librarian-puppet-0.9.1 vendor/librarian/lib/librarian/specfile.rb
librarian-puppet-0.9.0 vendor/librarian/lib/librarian/specfile.rb
librarian-puppet-0.0.1.pre2 vendor/librarian/lib/librarian/specfile.rb
librarian-puppet-0.0.1.pre vendor/librarian/lib/librarian/specfile.rb
librarian-0.0.23 lib/librarian/specfile.rb
librarian-0.0.22 lib/librarian/specfile.rb
librarian-0.0.21 lib/librarian/specfile.rb