Sha256: 1fc2a3d246f047e2f17fcbd7d712be2671baee8f48e723d60f6acfc4b6575659
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
module Dcgen def self.customobject master , destination master_customobject = Dir.glob(master + '/objects/*object').map {|c| c.match(/^.*\/(.*).object$/)[1] } destination_customobject = Dir.glob(destination + '/objects/*object').map {|c| c.match(/^.*\/(.*).object$/)[1] } remove_customobject = destination_customobject - master_customobject puts "CustomObjects:" if not remove_customobject.empty? remove_customobject.each do |customobject| puts " #{customobject}" end remove_customobject end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
salesforce-dcgen-0.5.0 | lib/dcgen/plugins/customobject.rb |
salesforce-dcgen-0.4.0 | lib/dcgen/plugins/customobject.rb |