cfnpp 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/cfnpp +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 282590738c98b0f4020beb8e220242cb6cf2d454
4
- data.tar.gz: 6b1f5f60c35ff5b18c54acea9ea25d4a3176167d
3
+ metadata.gz: 95a0912d91ace3af90b743ad94befb92ff3a58cf
4
+ data.tar.gz: ebef71d68111a3fde3f23127177c415c775cc581
5
5
  SHA512:
6
- metadata.gz: 07b00e377c48b8c15f4fc0ebb1c351a0148b0d099373e7c6f4bd7bc2b7705aae6088e44447bfdac7cb118b0cc0fc3430ead750903834b66aba07c715cac2f2a7
7
- data.tar.gz: 546f2cd43ff7e66164ac3835198db6a9749fb3f551b219760f90c0335c093d3464c6408c3e8d71892041cc176465a89c62c2468621395259eb604377c85af68e
6
+ metadata.gz: f601f55468948a4992025ff6f226407051cd60e6f0d27ca3ad59925751d74e210c35551e92e00834f8a584efe61eb7f28498309c61cd2038b3bc95e80d6dc336
7
+ data.tar.gz: 883149010e8ad57f7845207ba7274257cf75ad4debceb14662866cd3bd8dfb931e5cd3d8062effce4ef9bceb4df83b49e30549dbeb1842f96bd84488e5300058
data/bin/cfnpp CHANGED
@@ -388,11 +388,11 @@ def get_template_info()
388
388
 
389
389
  # Try from git.
390
390
  if gitrev == ''
391
- gitrev = `/usr/bin/git log --format='%H' -n 1`
391
+ gitrev = `/usr/bin/git log --format='%H' -n 1 2>/dev/null`
392
392
  gitrev.chomp!
393
393
  if gitrev
394
394
  source = 'git'
395
- gitstatus = `git status --porcelain`
395
+ gitstatus = `/usr/bin/git status --porcelain 2>/dev/null`
396
396
  end
397
397
  end
398
398
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfnpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bruce