Skip to content

Commit

Permalink
Allowing any JSON library not just OJ, it warns you if you don't have…
Browse files Browse the repository at this point in the history
… one available
  • Loading branch information
andyjeffries committed Mar 7, 2014
1 parent 8468879 commit 85c0351
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lib/active_rest_client.rb
Expand Up @@ -21,7 +21,3 @@
module ActiveRestClient
NAME = "ActiveRestClient"
end

unless defined?(Oj)
puts "WARNING: No JSON implementation chosen, falling back to the slowest default. SUGGESTION: add gem 'oj' to your Gemfile"
end
2 changes: 1 addition & 1 deletion lib/active_rest_client/version.rb
@@ -1,3 +1,3 @@
module ActiveRestClient
VERSION = "0.9.72"
VERSION = "0.9.73"
end

0 comments on commit 85c0351

Please sign in to comment.