lib/json_matchers.rb in json_matchers-0.6.1 vs lib/json_matchers.rb in json_matchers-0.6.2
- old
+ new
@@ -1,12 +1,13 @@
require "json_matchers/version"
require "json_matchers/configuration"
require "json_matchers/matcher"
require "json_matchers/errors"
-require "active_support/all"
module JsonMatchers
- mattr_accessor :schema_root
+ class << self
+ attr_accessor :schema_root
+ end
self.schema_root = "#{Dir.pwd}/spec/support/api/schemas"
def self.path_to_schema(schema_name)
Pathname(schema_root).join("#{schema_name}.json")