Sha256: 5f93757aa56975c5620bced66e54bf3c3d9c2808f0faa74d64d013ad99d83fe2

Contents?: true

Size: 228 Bytes

Versions: 45

Compression:

Stored size: 228 Bytes

Contents

module Kubes::Compiler::Decorator
  class Pre < Base
    def process
      case @data['kind']
      when "ConfigMap", "Secret"
        Hashable.new(@data).store
      else
        @data # passthrough
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
kubes-0.7.5 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.4 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.3 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.2 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.1 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.0 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.8 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.7 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.6 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.5 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.4 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.3 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.2 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.1 lib/kubes/compiler/decorator/pre.rb
kubes-0.6.0 lib/kubes/compiler/decorator/pre.rb
kubes-0.5.1 lib/kubes/compiler/decorator/pre.rb
kubes-0.5.0 lib/kubes/compiler/decorator/pre.rb
kubes-0.4.7 lib/kubes/compiler/decorator/pre.rb
kubes-0.4.6 lib/kubes/compiler/decorator/pre.rb
kubes-0.4.5 lib/kubes/compiler/decorator/pre.rb