simplified json include
This commit is contained in:
parent
939ecaaf73
commit
dc6c9276e5
|
@ -1,12 +1,14 @@
|
|||
require File.dirname(__FILE__) + '/../deps/rest-client/lib/rest_client'
|
||||
require "rubygems"
|
||||
gem "json"
|
||||
begin
|
||||
require "json/ext"
|
||||
rescue LoadError
|
||||
$stderr.puts "C version of json (fjson) could not be loaded, using pure ruby one"
|
||||
require "json/pure"
|
||||
end
|
||||
require 'json'
|
||||
# gem "json"
|
||||
# begin
|
||||
# require "json/ext"
|
||||
# rescue LoadError
|
||||
# $stderr.puts "C version of json (fjson) could not be loaded, using pure ruby one"
|
||||
# require "json/pure"
|
||||
# end
|
||||
|
||||
require File.dirname(__FILE__) + '/database'
|
||||
|
||||
class CouchRest
|
||||
|
|
6
spec/spec.opts
Normal file
6
spec/spec.opts
Normal file
|
@ -0,0 +1,6 @@
|
|||
--colour
|
||||
--format
|
||||
progress
|
||||
--loadby
|
||||
mtime
|
||||
--reverse
|
Loading…
Reference in a new issue