wixgem 0.54.0 → 0.55.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.
- checksums.yaml +4 -4
- data/lib/wixgem.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1a1048d698131cf02318b295fdb5a1d3937eb94
|
|
4
|
+
data.tar.gz: bd677e1f92860696b9d78df09de1e606c3c1a68b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f26cdf9b46a8633ea82ad92506acbee4f751a1fa704267a024cec7481168848f5e94eac7fd7ec8203da7d34b58d73e8c46e89146bea380c9a1c6fa85a30d8e31
|
|
7
|
+
data.tar.gz: 1264d7c6dd68d30d37ba0ed0b04901cd2144078dc7399ed9b77a6303daae5f7a834208f2c8bfd6f66c1e0ecb533dc8170251a6ba3e2aa170dc15f8b85f0514b5
|
data/lib/wixgem.rb
CHANGED
|
@@ -135,9 +135,10 @@ class Wix
|
|
|
135
135
|
install_files.each do |file|
|
|
136
136
|
absolute_path = file
|
|
137
137
|
absolute_path = "#{input[:original_pwd]}/#{file}" unless(File.exists?(file))
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
if(File.read_only?(absolute_path))
|
|
140
|
-
install_path = ".\\#{self.modify_file_path(input, file)}"
|
|
140
|
+
] install_path = ".\\#{self.modify_file_path(input, file).gsub(/\//,'\\')}"
|
|
141
|
+
install_path = install_path.gsub(/\.\\\\/,'.\\')
|
|
141
142
|
file_elements = REXML::XPath.match(xml_doc, "//File[@Source='#{install_path}']")
|
|
142
143
|
file_elements[0].attributes['ReadOnly'] = 'yes' if(file_elements.length == 1)
|
|
143
144
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wixgem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.55.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Marshall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|