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 File.dirname(__FILE__) + '/../deps/rest-client/lib/rest_client'
|
||||||
require "rubygems"
|
require "rubygems"
|
||||||
gem "json"
|
require 'json'
|
||||||
begin
|
# gem "json"
|
||||||
require "json/ext"
|
# begin
|
||||||
rescue LoadError
|
# require "json/ext"
|
||||||
$stderr.puts "C version of json (fjson) could not be loaded, using pure ruby one"
|
# rescue LoadError
|
||||||
require "json/pure"
|
# $stderr.puts "C version of json (fjson) could not be loaded, using pure ruby one"
|
||||||
end
|
# require "json/pure"
|
||||||
|
# end
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/database'
|
require File.dirname(__FILE__) + '/database'
|
||||||
|
|
||||||
class CouchRest
|
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