Sha256: f2217a98c73235c9905b6226a3e9452186e098f9cffdc2deff10947861c3c401

Contents?: true

Size: 356 Bytes

Versions: 9

Compression:

Stored size: 356 Bytes

Contents

require "pathname"

module Librarian
  class Specfile

    attr_accessor :environment, :path
    private :environment=, :path=

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

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
librarianp-1.1.2 lib/librarian/specfile.rb
librarianp-1.1.1 lib/librarian/specfile.rb
librarianp-1.1.0 lib/librarian/specfile.rb
librarianp-1.0.0 lib/librarian/specfile.rb
librarianp-0.6.4 lib/librarian/specfile.rb
librarianp-0.6.3 lib/librarian/specfile.rb
librarianp-0.6.2 lib/librarian/specfile.rb
librarianp-0.6.1 lib/librarian/specfile.rb
librarianp-0.6.0 lib/librarian/specfile.rb