Sha256: 85a3a39ebbc11fe018895f840bde9282f99a6bfb0c7fe1ee1f42ef6f98330030

Contents?: true

Size: 311 Bytes

Versions: 7

Compression:

Stored size: 311 Bytes

Contents

module Dcgen

  def self.group master , destination

    master_groups = Dir.glob(master + '/groups/*group').map {|c| c.match(/^.*\/(.*).group$/)[1] }
    destination_groups = Dir.glob(destination + '/groups/*group').map {|c| c.match(/^.*\/(.*).group$/)[1] }

    destination_groups - master_groups

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
salesforce-dcgen-0.0.7 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.6 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.5 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.4 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.3 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.2 lib/dcgen/plugins/group.rb
salesforce-dcgen-0.0.1 lib/dcgen/plugins/group.rb