Sha256: 89e38014a89cbf61faf940700941df87034888512418953dc49aeadc30b360d6
Contents?: true
Size: 466 Bytes
Versions: 4
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module NeetoCompliance class DockerFileDevVerifier < Base def local_copy "Dockerfile.dev" end def commons_copy NeetoCompliance::NeetoCommons.path.join "common_files/Dockerfile.dev" end def verify_command "diff -N #{commons_copy} #{local_copy}" end def valid? `#{verify_command}`.empty? end def autofix_command "cp #{commons_copy} #{local_copy}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems