Sha256: 084468c0fea188a18de504e606969dd32cef0adce8f189f0edd417ceaa173417

Contents?: true

Size: 1 KB

Versions: 12

Compression:

Stored size: 1 KB

Contents

#
# Fluentd
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#

module Fluent
  DEFAULT_CONFIG_PATH = ENV['FLUENT_CONF'] || '/etc/fluent/fluent.conf'
  DEFAULT_PLUGIN_DIR = ENV['FLUENT_PLUGIN'] || '/etc/fluent/plugin'
  DEFAULT_SOCKET_PATH = ENV['FLUENT_SOCKET'] || '/var/run/fluent/fluent.sock'
  DEFAULT_OJ_OPTIONS = {bigdecimal_load: :float, mode: :compat, use_to_json: true}
  IS_WINDOWS = /mswin|mingw/ === RUBY_PLATFORM
  private_constant :IS_WINDOWS

  def self.windows?
    IS_WINDOWS
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fluentd-0.14.13-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.13-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.13 lib/fluent/env.rb
fluentd-0.14.12-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.12-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.12 lib/fluent/env.rb
fluentd-0.14.11-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.11-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.11 lib/fluent/env.rb
fluentd-0.14.10-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.10-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.10 lib/fluent/env.rb