diff --git a/lib/swift_storage/node.rb b/lib/swift_storage/node.rb index 904a05e..95f91f8 100644 --- a/lib/swift_storage/node.rb +++ b/lib/swift_storage/node.rb @@ -30,12 +30,6 @@ def service @service end - def get_json(path) - headers = {'Accept' => 'application/json'} - response = request(path, :headers => headers) - Oj.load(response.body) - end - def get_lines(path) headers = {'Accept' => 'text/plain'} response = request(path, :headers => headers) diff --git a/swift-ruby.gemspec b/swift-ruby.gemspec index 62a92e9..531071f 100644 --- a/swift-ruby.gemspec +++ b/swift-ruby.gemspec @@ -19,7 +19,6 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] - spec.add_dependency "oj", "~> 2.11.1" spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0"