Permalink
Browse files

Remove yajl parser, bombs on some machines

  • Loading branch information...
tongueroo committed May 18, 2013
1 parent 3b38d61 commit a63baef22446b29a32a377272cb1f532397c1466
Showing with 3 additions and 7 deletions.
  1. +1 −3 cap_reserve.gemspec
  2. +2 −4 lib/cap_reserve.rb
View
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
s.name = "cap_reserve"
- s.version = '0.1.8'
+ s.version = '0.1.9'
s.platform = Gem::Platform::RUBY
s.authors = [ "Winton Welsh" ]
s.email = [ "mail@wintoni.us" ]
@@ -20,6 +20,4 @@ Gem::Specification.new do |s|
s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n")
s.add_development_dependency "rspec", "~> 1.0"
-
- s.add_dependency "yajl-ruby", "= 1.0.0"
end
View
@@ -1,8 +1,6 @@
-gem 'yajl-ruby', '= 1.0.0'
-
require 'open-uri'
require 'uri'
-require 'yajl'
+require 'json'
$:.unshift File.dirname(__FILE__)
@@ -49,7 +47,7 @@ def yellow
params.chop! # trailing &
json = open("#{full_url}?#{params}").read
- Yajl::Parser.parse(json)
+ JSON.parse(json)
end
desc "Reserve environment using RESERVE=minutes"

0 comments on commit a63baef

Please sign in to comment.