Sha256: 5e5fd85082a3beababa026094c023e49c06ccc5b04a2af7390deedc3d6dbd89e

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

def executing_gem_freshness
  "executing 'bundle-audit update &> /dev/null && (cd . && bundle-audit check)'"
end

def gem_freshness_output
  if @projectname
    prep = "cd spec/fixtures/#{@projectname}/ && cp Gemfile_lock Gemfile.lock"
    `#{prep} && bundle-audit check; rm -f Gemfile.lock`
      .split("\n")
      .reject { |line| line.match('patched versions found') }
      .join("\n")
  else
    fail NotImplementedError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
warder-0.2.2 features/step_definitions/checks_for_vulnerable_gems_steps.rb
warder-0.2.1 features/step_definitions/checks_for_vulnerable_gems_steps.rb
warder-0.2.0 features/step_definitions/checks_for_vulnerable_gems_steps.rb