lib/pact_broker/pacts/diff.rb in pact_broker-2.79.1 vs lib/pact_broker/pacts/diff.rb in pact_broker-2.80.0
- old
+ new
@@ -1,12 +1,12 @@
-require 'pact_broker/api/pact_broker_urls'
-require 'pact_broker/date_helper'
-require 'pact_broker/pacts/create_formatted_diff'
-require 'pact_broker/pacts/sort_content'
-require 'pact_broker/pacts/parse'
-require 'pact_broker/repositories'
-require 'yaml'
+require "pact_broker/api/pact_broker_urls"
+require "pact_broker/date_helper"
+require "pact_broker/pacts/create_formatted_diff"
+require "pact_broker/pacts/sort_content"
+require "pact_broker/pacts/parse"
+require "pact_broker/repositories"
+require "yaml"
module PactBroker
module Pacts
class Diff
@@ -93,10 +93,10 @@
"title" => "Pact",
"name" => comparison_pact.name,
"href" => previous_distinct_url
}
}
- "## Links\n" + YAML.dump(links).gsub(/---/,'')
+ "## Links\n" + YAML.dump(links).gsub(/---/,"")
end
def diff
CreateFormattedDiff.(prepare_content(pact.json_content), prepare_content(comparison_pact.json_content))
end