lib/json_matchers/configuration.rb in json_matchers-0.8.0 vs lib/json_matchers/configuration.rb in json_matchers-0.9.0

- old
+ new

@@ -2,9 +2,17 @@ def self.configuration @configuration ||= Configuration.new end def self.configure + warn <<-WARN +DEPRECATION: `JsonMatchers.configure` + After `json_matchers@0.9.x`, JsonMatchers.configure will be removed. + + See https://github.com/thoughtbot/json_matchers/pull/31 for more information. + +WARN + yield(configuration) end class Configuration def initialize