lib/solve/solver/serializer.rb in solve-4.0.3 vs lib/solve/solver/serializer.rb in solve-4.0.4
- old
+ new
@@ -1,5 +1,5 @@
-require "json"
+require "json" unless defined?(JSON)
require_relative "../graph"
module Solve
Problem = Struct.new(:graph, :demands)