tvdinner 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/libexec/compare +5 -5
  3. data/libexec/run-noop +1 -0
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
data/libexec/compare CHANGED
@@ -65,11 +65,11 @@ function main {
65
65
  opt_make="no"
66
66
  fi
67
67
 
68
- $shome/libexec/run-noop --${opt_make}make tmp/a $ver_left $pth_rna
69
- $shome/libexec/run-noop --${opt_make}make tmp/b $ver_right $pth_rna
68
+ env RELEASE_DIR=$(pwd)/tmp/a PROJECT_DIR= $shome/libexec/run-noop --${opt_make}make tmp/a $ver_left $pth_rna
69
+ env RELEASE_DIR=$(pwd)/tmp/b PROJECT_DIR= $shome/libexec/run-noop --${opt_make}make tmp/b $ver_right $pth_rna
70
70
 
71
71
  local incomplete="$FLAGS_FALSE"
72
- for a in $shome/tmp/{a,b}; do
72
+ for a in tmp/{a,b}; do
73
73
  for f in chef.{log,json}; do
74
74
  if [[ ! -f "$a/$f" ]]; then
75
75
  logger_fatal "missing $a/$f"
@@ -87,13 +87,13 @@ function main {
87
87
  logger_info "diff tmp/[ab]/chef.log"
88
88
  mark_log "chef-log"
89
89
  echo
90
- diff $shome/tmp/{a,b}/chef.log || true
90
+ diff tmp/{a,b}/chef.log || true
91
91
  echo
92
92
 
93
93
  logger_info "diff tmp/[ab]/chef.json"
94
94
  mark_log "chef-node"
95
95
  echo
96
- diff $shome/tmp/{a,b}/chef.json || true
96
+ diff tmp/{a,b}/chef.json || true
97
97
  echo
98
98
  }
99
99
 
data/libexec/run-noop CHANGED
@@ -63,6 +63,7 @@ function main {
63
63
  make
64
64
  fi
65
65
 
66
+ mkdir -p var/chef/reports
66
67
  bundle exec chef-local --noop -c etc/chef/solo.rb -j $pth_rna > "var/chef/reports/chef.log"
67
68
  (set +f; $shome/libexec/sanitize node "var/chef/reports/"chef*.json > "chef.json")
68
69
  $shome/libexec/sanitize log "var/chef/reports/chef.log" > "chef.log"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvdinner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: