wixgem 0.20.0 → 0.22.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wixgem.rb +13 -8
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ea3bd4cb6f91ff2308bc89ea09d2cabd556e47d
4
- data.tar.gz: 8045a523ff43321a4d3feb402978b9f0111dd0f4
3
+ metadata.gz: 16ac21d77c2273212ac109ccdec62839abfea07e
4
+ data.tar.gz: d61ff5fa1a36275946b453483a5c2758ebf3f689
5
5
  SHA512:
6
- metadata.gz: cb7124c77d185099d4844aac03b52a47991e799eb70c6e1a879b130b8a80ae25c0b7eb962e40757266ad3e784435464ecdcb690858bc37a1bcd2b4bf0603f6d5
7
- data.tar.gz: d34db0ad46675bdfd06c811a6e0e89ce14ab7b4a840b4c1b2243192262806e0fd3b446ddd321079442a2201d2986d867cba0dcfb4b5cf15d22a9ad6dde3a58ff
6
+ metadata.gz: dd254bec128e6056246fefd745095aabb9a00239de97b4376f0c47b4c5534f62ed898317aaed8f099505a4ef047653b0665dc51ef63a4653268f84fa69ea92b3
7
+ data.tar.gz: 38b361dd924ba2bacacebab0f87fafa0351b557a2975b433370cdff66693d9c663abfccd9947f59fc56440da2eacb1e001ebe72aa762a9e8d8565dd76cfea3ad
data/lib/wixgem.rb CHANGED
@@ -212,14 +212,19 @@ class Wix
212
212
 
213
213
  wxs_file = "#{basename}.wxs"
214
214
  Dir.chdir(dir) do |current_dir|
215
- create_wxs_file(wxs_file, input, ext)
216
- create_output(wxs_file, output_absolute_path)
217
-
218
- if(@debug)
219
- FileUtils.cp("#{wxs_file}", "#{output_absolute_path}.wxs")
220
- wix_cmds_file = "#{File.basename(wxs_file,'.wxs')}.wix_cmds"
221
- FileUtils.cp(wix_cmds_file, "#{File.dirname(output_absolute_path)}/#{wix_cmds_file}")
222
- end
215
+ begin
216
+ create_wxs_file(wxs_file, input, ext)
217
+ create_output(wxs_file, output_absolute_path)
218
+ ensure
219
+ puts "HERE"
220
+ if(@debug)
221
+ puts "HERE1"
222
+ FileUtils.cp("#{wxs_file}", "#{output_absolute_path}.wxs") if(File.exists?(wxs_file))
223
+ wix_cmds_file = "#{File.basename(wxs_file,'.wxs')}.wix_cmds"
224
+ puts "HERE2: #{wix_cmds_file}"
225
+ FileUtils.cp(wix_cmds_file, "#{File.dirname(output_absolute_path)}/#{wix_cmds_file}") if(File.exists?(wix_cmds_file))
226
+ end
227
+ end
223
228
  end
224
229
  end
225
230
  pdb_file = output_absolute_path.gsub(ext,'.wixpdb')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wixgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall