Sha256: e30f6a1f8a4727118058ee108fe6303e700fe932b828226fc90a49f43f4fc7cf

Contents?: true

Size: 659 Bytes

Versions: 104

Compression:

Stored size: 659 Bytes

Contents

### Get Files from dir
begin

  files_to_be_loaded = %w[version.rb]

  SpecFiles= Array.new

  Dir[File.expand_path(File.join(File.dirname(__FILE__),"**","*"))].sort.uniq.each do |one_file_name|
    one_file_name = File.expand_path one_file_name
    file_name = one_file_name[(File.expand_path(File.dirname(__FILE__)).to_s.length+1)..(one_file_name.length-1)]

    if !one_file_name.include?("pkg")
      if !File.directory? file_name
        SpecFiles.push file_name
        STDOUT.puts file_name if $DEBUG
        if files_to_be_loaded.include? one_file_name.split(File::SEPARATOR).last
          load one_file_name
        end
      end
    end

  end

end

Version data entries

104 entries across 104 versions & 10 rubygems

Version Path
grape-dsl-1.1.0 files.rb
asynchronous-1.0.4 files.rb
procemon-0.8.1 files.rb
grape-dsl-1.0.0 files.rb
procemon-0.8.0 files.rb
loader-1.0.2 files.rb
loader-1.0.1 files.rb
loader-1.0.0.pre.beta files.rb
sourcerer-0.5.2 files.rb
procemon-0.7.0 files.rb
sourcerer-0.5.1 files.rb
sourcerer-0.5.0.pre.beta files.rb
procemon-0.6.3 files.rb
procemon-0.6.2 files.rb
procemon-0.6.1 files.rb
procemon-0.5.0 files.rb
procemon-0.4.5 files.rb
procemon-0.4.4 files.rb
procemon-0.4.3 files.rb
asynchronous-1.0.3 files.rb