Sha256: e34685f58453a6cdf5829923897b201af4438ed8330cd5d3e11ce5421792ce28

Contents?: true

Size: 180 Bytes

Versions: 375

Compression:

Stored size: 180 Bytes

Contents

case ENV['JSON']
when 'pure'
  $:.unshift 'lib'
  require 'json/pure'
when 'ext'
  $:.unshift 'ext', 'lib'
  require 'json/ext'
else
  $:.unshift 'ext', 'lib'
  require 'json'
end

Version data entries

375 entries across 331 versions & 57 rubygems

Version Path
alloy_sdk-0.1.0 vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/setup_variant.rb
alloy_sdk-0.1.0 vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/setup_variant.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/json-1.8.6-java/tests/setup_variant.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/json-1.8.6-java/tests/setup_variant.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/json-1.8.6-java/tests/setup_variant.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/json-1.8.6-java/tests/setup_variant.rb
scout-5.9.13 vendor/json_pure/tests/setup_variant.rb
scout-5.9.12 vendor/json_pure/tests/setup_variant.rb
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/json-1.8.6-java/tests/setup_variant.rb
scout-5.9.11 vendor/json_pure/tests/setup_variant.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/json_pure-1.8.6/tests/setup_variant.rb
logstash-filter-zabbix-0.1.2 vendor/bundle/jruby/1.9/gems/json-1.8.6-java/tests/setup_variant.rb
logstash-filter-zabbix-0.1.1 vendor/bundle/jruby/1.9/gems/json-1.8.6-java/tests/setup_variant.rb
json-1.8.6-java tests/setup_variant.rb
json_pure-1.8.6 tests/setup_variant.rb
json-1.8.6 tests/setup_variant.rb
json-1.8.5-java tests/setup_variant.rb
json_pure-1.8.5 tests/setup_variant.rb
json-1.8.5 tests/setup_variant.rb
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/json-1.8.3-java/tests/setup_variant.rb