Sha256: d8e48ed7f1a5de1edfca805e4d6ab27dfa3ade3f9369572762fca41fb7ef73d5
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
# encoding: UTF-8 module Tetra # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tetra-0.40.0 | lib/tetra/kit_spec_adapter.rb |