Code Review
/
packages
/
trusty
/
mcollective.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Added mcollective 2.3.1 package
[packages/trusty/mcollective.git]
/
lib
/
mcollective
/
vendor
/
json
/
tests
/
setup_variant.rb
1
case ENV['JSON']
2
when 'pure'
3
$:.unshift 'lib'
4
require 'json/pure'
5
when 'ext'
6
$:.unshift 'ext', 'lib'
7
require 'json/ext'
8
else
9
$:.unshift 'ext', 'lib'
10
require 'json'
11
end