idlc-sdk-pfm 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5928336bda6cddf0a90c384994675a8b610a068a7f7f006a0704c8424613855f
4
- data.tar.gz: a36916f56af0e2401d239a9ef12d90a03225f69a2fd72e2329d9134f756d5a99
3
+ metadata.gz: 4817953acf37465429d7933d489fa1ef209eb1d6c3330b7eddd97a3201595c49
4
+ data.tar.gz: e8b4c0dfeee376ac0436a2f05e95a0eb9fafcb5febdb7d7f34282cf737502a80
5
5
  SHA512:
6
- metadata.gz: 76f1254d49926431c4baeafcec1b72ab49c76492d459f269aeaab44ae9b6d555eb52cd6cfb73e0b7dcbb02f679ac9745b46fb6dfbea5da22de3d9f754485a394
7
- data.tar.gz: 5d95de81cd803cbdd4c44bb5fcee1fb413ef10ad8cfd33b59f7d5f1c9b0ef3f1803bef9ca627f127ae5da23926cfcf36febfbe243cf4951e0a4619cabe5bae06
6
+ metadata.gz: 493f8e9f108153f23302ec59089e772be0e8500233343e5f1b55d26dc44fbddd6b52757e580e959d38b14d40383a31ba32d0244fb1b1147a30f73f022bd4537d
7
+ data.tar.gz: d37ae97a8ac675dc25e73160a0703fd4cfcf94b6e771ceb4d9aeea85c3c5ec7826782f5289677debcb22d2376366493c1d5f80acff850f5ad34441fcc790a9a8
@@ -31,10 +31,10 @@ module Pfm
31
31
  if params_valid?
32
32
  if (@config[:config_file])
33
33
  deploy_setupv2
34
- plan(@config[:working_dir])
34
+ destroy(@config[:working_dir])
35
35
  else
36
36
  deploy_setup
37
- plan(@workspace.tmp_dir)
37
+ destroy(@workspace.tmp_dir)
38
38
  end
39
39
  # @workspace.cleanup causing bundler issues
40
40
  0
@@ -49,11 +49,11 @@ module Pfm
49
49
  1
50
50
  end
51
51
 
52
- def destroy
52
+ def destroy(dir)
53
53
  Idlc::Deploy::Config.add_deployment_var('build', ENV['SERVER_BUILD'])
54
54
  Idlc::Deploy::Config.add_deployment_var('app_release', 'null')
55
55
 
56
- Terraform::Binary.destroy("#{@workspace.tmp_dir}")
56
+ Terraform::Binary.destroy("#{dir}")
57
57
  rescue
58
58
  raise DeploymentFailure, 'Finished with errors'
59
59
  end
@@ -1,3 +1,3 @@
1
1
  module Pfm
2
- VERSION = '1.0.4'.freeze
2
+ VERSION = '1.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell