Sha256: 88829aebc6a3ab02e396dec1dbfb2c075c9cabffca9d241ac85f268f0f162d78
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
# encoding: UTF-8 module Gjp # encapsulates details of a kit needed by the spec file # retrieving them from other objects class KitSpecAdapter attr_reader :name attr_reader :version attr_reader :archives def initialize(project) @name = project.name @version = project.version @archives = project.from_directory do ["#{name}-kit.tar.xz"] + Dir.entries("output/#{name}-kit") .select { |f| f =~ /_[0-9]+.tar.xz$/ } .sort end end def public_binding binding end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gjp-0.39.0 | lib/gjp/kit_spec_adapter.rb |
gjp-0.38.0 | lib/gjp/kit_spec_adapter.rb |