Sha256: 906f562a0e7d5e0f2a050efd9a184b53ce6d43185d62a2746c95b4c463f35215

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

module Dcgen

  def self.permissionset master , destination

    master_permissionset = Dir.glob(master + '/permissionsets/*permissionset').map {|c| c.match(/^.*\/(.*).permissionset$/)[1] }
    destination_permissionset = Dir.glob(destination + '/permissionsets/*permissionset').map {|c| c.match(/^.*\/(.*).permissionset$/)[1] }

    destination_permissionset - master_permissionset

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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