Skip to content

Commit

Permalink
Replace all instances of JSON.load with JSON.parse
Browse files Browse the repository at this point in the history
  • Loading branch information
bkirz committed Feb 12, 2013
1 parent ad585cc commit d10feaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qless/job.rb
Expand Up @@ -50,7 +50,7 @@ def self.build(client, klass, attributes = {})
"dependents" => []
}
attributes = defaults.merge(Qless.stringify_hash_keys(attributes))
attributes["data"] = JSON.load(JSON.dump attributes["data"])
attributes["data"] = JSON.parse(JSON.dump attributes["data"])
new(client, attributes)
end

Expand Down

0 comments on commit d10feaa

Please sign in to comment.