Module: HelixVersioningEngine

Included in:
GitFusion::Util
Defined in:
lib/helix_versioning_engine.rb,
lib/helix_versioning_engine/app.rb,
lib/helix_versioning_engine/util.rb,
lib/helix_versioning_engine/app/specs.rb,
lib/helix_versioning_engine/app/login.rb,
lib/helix_versioning_engine/app/files.rb,
lib/helix_versioning_engine/app/users.rb,
lib/helix_versioning_engine/app/changes.rb,
lib/helix_versioning_engine/app/streams.rb,
lib/helix_versioning_engine/file_service.rb,
lib/helix_versioning_engine/app/commands.rb,
lib/helix_versioning_engine/app/triggers.rb,
lib/helix_versioning_engine/app/counters.rb,
lib/helix_versioning_engine/change_service.rb,
lib/helix_versioning_engine/submit_service.rb,
lib/helix_versioning_engine/app/protections.rb

Defined Under Namespace

Modules: Util Classes: App, ChangeService, FileService, SubmitService

Class Method Summary (collapse)

Class Method Details

+ (Boolean) invalid_user_email?(results, user)

p4d doesn't return empty results on user '-o' commands, it returns results where the email address is set to 'user@INVALID'

Returns:

  • (Boolean)


8
9
10
11
12
# File 'lib/helix_versioning_engine.rb', line 8

def self.invalid_user_email?(results, user)
  results.any? do |h|
    h['Email'] == "#{user}@INVALID"
  end
end