lib/json_matchers.rb in json_matchers-0.9.0 vs lib/json_matchers.rb in json_matchers-0.10.0
- old
+ new
@@ -1,14 +1,14 @@
+require "pathname"
require "json_matchers/version"
-require "json_matchers/configuration"
require "json_matchers/matcher"
require "json_matchers/errors"
module JsonMatchers
class << self
attr_accessor :schema_root
end
def self.path_to_schema(schema_name)
- Pathname(schema_root).join("#{schema_name}.json")
+ Pathname.new(schema_root).join("#{schema_name}.json")
end
end