dev 2.1.143 → 2.1.144

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/lib/apps/wix.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5da085781aef8689a25705c81f764e423c77c58fbd8ea6d52cd19c6e3990ab3b
4
- data.tar.gz: ebe69df28d8b10f1f268427763ee38fc832bb061ca4b4be1515959ae4e097a1d
3
+ metadata.gz: 03a015f1dfd735d6ae989cadf2d83026be51b565e681b38df1f6381366a522e3
4
+ data.tar.gz: d1bf73bfdddd0c2e0447e6911d3f8a3acf1c2037020a1d41de63962f41f29263
5
5
  SHA512:
6
- metadata.gz: 383ca9aa790ee3314635b775322a683eaa18a8162765b36562930285db4157bec9ea0d6accfaeedacfcbed6e7d8d577247445a1ee8f966f9c84fe53f029474db
7
- data.tar.gz: 906b17648ccb6e2b64d2ac4f146ef71b714df30e6cb0d967a0066c35f65e63d0b98f529b2d9ebdd0aee352d24c33bb4d7afb2f3e785e2cceee9eff2e81ece192
6
+ metadata.gz: a9ea4398bcef8beef1ede7a56e9f77f75237fc4dc66ab855f407c21e9efb763cadc5f3044c6f1751a62efcdc5dec814651e519ab309b6eaad0276d66200ce77a
7
+ data.tar.gz: 3f6e08582ed9535009f74a7dc8e54ec6f27c6023d2d632af3f4fbab2299d6b2d7573187504c659ec6e1d6184d7408371ea01e03bc7a3014c59fa9b9ba8cc3009
@@ -37,12 +37,13 @@ class Wix
37
37
  def self.get_wix_with_files wxs_template_text, component_id, filenames
38
38
  # <Component[-\s\w="]+Id="ApplicationFiles"[-"\s\w=]+>([-<="\/.>\s\w]+)<\/C
39
39
  search=wxs_template_text.scan(/<Component[-\s\w="]+Id="ApplicationFiles"[-"\s\w=]+>([-<="\/.>\s\w]+)<\/C/)[0][0]
40
- replace="\r\n"
40
+ replace=""
41
41
  index = 0
42
42
  filenames.each{|f|
43
- replace += "\r\n <File Id=\"#{component_id}#{index}\" Source=\"#{f}\"/>"
43
+ replace += "\n <File Id=\"#{component_id}#{index}\" Source=\"#{f}\"/>"
44
44
  index += 1
45
45
  }
46
+ replace += "\n"
46
47
  wxs_template_text.gsub(search,replace)
47
48
  end
48
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.143
4
+ version: 2.1.144
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow