tasks/database/annotate.rb in pact_broker-2.79.1 vs tasks/database/annotate.rb in pact_broker-2.80.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'sequel/annotate' +require "sequel/annotate" module PactBroker class Annotate def self.call annotation_configuration.each_pair do | klass, path | @@ -40,9 +40,9 @@ .select{ |klass| klass.name && klass.name.start_with?("PactBroker::") } .sort{ | c1, c2| c1.name <=> c2.name } end def self.file_path_for_class klass - "lib/" + klass.name.gsub('::', '/').gsub(/([a-z])([A-Z])/) {|match| match[0] + "_" + match[1].downcase }.downcase + ".rb" + "lib/" + klass.name.gsub("::", "/").gsub(/([a-z])([A-Z])/) {|match| match[0] + "_" + match[1].downcase }.downcase + ".rb" end end end