26. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/27/2017 9:44:49 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

26.1 Files compared

# Location File Last Modified
1 adk\adk\product\tests\shared-test-ruby Rakefile Mon Mar 16 18:52:56 2015 UTC
2 adk\adk\product\tests\shared-test-ruby Rakefile Tue Sep 26 13:12:50 2017 UTC

26.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 106
Changed 1 2
Inserted 0 0
Removed 0 0

26.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

26.4 Active regular expressions

No regular expressions were active.

26.5 Comparison detail

  1   # Encoding : utf-8
  2  
  3   require 'r ubygems'
  4   require 'c ucumber'
  5   require 'c ucumber/ra ke/task'
  6   require 'r ubocop/rak e_task'
  7  
  8   $LOAD_PATH .push(File .expand_pa th(File.di rname(__FI LE__) + '/ features/l ib'))
  9  
  10   # Check en vironment  sanity and  fail fast  if not co rrect
  11   fail 'WORK SPACE envi ronment va riable not  set. Did  you "sourc e infrastr ucture/set .env.sh"?'  unless EN V.keys.inc lude?('WOR KSPACE')
  12   fail 'GEM_ HOME envir onment var iable not  set. Did y ou "source  infrastru cture/set. env.sh"?'  unless ENV .keys.incl ude?('GEM_ HOME')
  13  
  14   task defau lt: [:endT oEndTests]
  15  
  16   task endTo EndTests:  [:codequal ity]
  17  
  18   task codeq uality: [
  19     :info,
  20     :rubocop
  21   ]
  22  
  23   ## Attempt ing to run  a sample  acceptance  test in t he feature s director y
  24   Cucumber:: Rake::Task .new(:endT oEndTests)  do |t|
  25     t.cucumb er_opts =  'features  --format p retty'
  26   end
  27  
  28   ## Placeho lder task  for execut ing all Ac ceptance T ests for a ll Mobile  Applicatio ns
  29   Cucumber:: Rake::Task .new(:allA cceptanceT ests) do | t|
  30     t.cucumb er_opts =  'features  --format p retty'
  31   end
  32  
  33   task :info  do
  34     puts '== ========== ========== ========== ========== ========== ========== ========== =='
  35     puts '#      Runnin g codequal ity checks .                                            #'
  36       puts '#       For detail s, see htt ps://wiki. vistacore. us/display / DNS  RE/Ruby       #'
  37     puts '== ========== ========== ========== ========== ========== ========== ========== =='
  38   end
  39  
  40   desc 'Rubo cop code q uality che cks config ured in .r ubocop.yml  file'
  41   Rubocop::R akeTask.ne w(:rubocop ) do |rubo cop|
  42     # Specif y config f ile in non -standard  location.
  43     rubocop. options =  ['-c.ruboc op.yml']
  44  
  45     # Specif y Ruby fil e location s
  46     rubocop. patterns =  ['**/*.rb ', 'Rakefi le']
  47  
  48     # Show e macs style  output, a nd offense  counts
  49     # See ht tps://gith ub.com/bba tsov/ruboc op#formatt ers for ot her output  options
  50     rubocop. formatters  = ['emacs ', 'o']
  51  
  52     # Abort  rake on fa ilure
  53     rubocop. fail_on_er ror = true
  54   end