Module: Ci::Maskable

Extended by:
ActiveSupport::Concern
Included in:
GroupVariable, InstanceVariable, Variable
Defined in:
app/models/concerns/ci/maskable.rb

Constant Summary collapse

REGEX =
  • Single line

  • No escape characters

  • No variables

  • No spaces

  • Minimal length of 8 characters

  • Characters must be from the Base64 alphabet (RFC4648) with the addition of '@', ':' and '.'

  • Absolutely no fun is allowed

/\A[a-zA-Z0-9_+=\/@:.-]{8,}\z/.freeze

Instance Method Summary collapse

Instance Method Details

#to_runner_variableObject


21
22
23
# File 'app/models/concerns/ci/maskable.rb', line 21

def to_runner_variable
  super.merge(masked: masked?)
end