almost ready for gem version 0.8.0
This commit is contained in:
parent
faff0a386c
commit
19e3e45c67
|
@ -10,7 +10,6 @@ Gem::Specification.new do |s|
|
|||
s.authors = ["J. Chris Anderson"]
|
||||
s.files = %w{lib/couchrest.rb lib/database.rb Rakefile README script/couchdir script/couchview spec/couchrest_spec.rb spec/database_spec.rb}
|
||||
s.require_path = "lib"
|
||||
s.test_files = %{spec/couchrest_spec.rb spec/database_spec.rb}
|
||||
s.add_dependency("json", [">= 1.1.2"])
|
||||
s.add_dependency("rest-client", [">= 0.4"])
|
||||
end
|
|
@ -1,2 +1,3 @@
|
|||
require File.dirname(__FILE__) + '/lib/couchrest'
|
||||
require File.dirname(__FILE__) + '/lib/database'
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ require "rubygems"
|
|||
require 'json'
|
||||
require 'rest_client'
|
||||
|
||||
|
||||
require File.dirname(__FILE__) + '/database'
|
||||
|
||||
class CouchRest
|
||||
|
@ -65,8 +64,5 @@ class CouchRest
|
|||
end
|
||||
url
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -80,4 +80,4 @@ class CouchRest
|
|||
Base64.encode64(data).gsub(/\s/,'')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue