Sha256: f5d2fb0f6e544f03b3affb179139150dd1fa9988182a75006f5e3ece19ac9377

Contents?: true

Size: 504 Bytes

Versions: 67

Compression:

Stored size: 504 Bytes

Contents

# encoding: utf-8

require "java"

# This block is used to load Logstash's Java libraries when using a Ruby entrypoint and
# LS_JARS_LOADED is not globally set.
# Currently this happens when using the `bin/rspec` executable to invoke specs instead of the JUnit
# wrapper.
unless $LS_JARS_LOADED
  jar_path = File.join(File.dirname(File.dirname(__FILE__)), "jars")
  $:.unshift jar_path
  Dir.glob(jar_path + '/*.jar') do |jar|
    require File.basename(jar)
  end
  java_import org.logstash.RubyUtil
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
logstash-core-6.8.23-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.22-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.21-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.20-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.19-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.18-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.17-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.16-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.15-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.14-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.13-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.12-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.11-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.10-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.9-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.8-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.7-java lib/logstash-core/logstash-core.rb
logstash-core-7.5.2-java lib/logstash-core/logstash-core.rb
logstash-core-7.5.1-java lib/logstash-core/logstash-core.rb
logstash-core-6.8.6-java lib/logstash-core/logstash-core.rb