dev 2.0.281 → 2.0.282

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/tasks/setup.rb +9 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9ab5860dacdc072b7d811d78cd2376fd6c1391c
4
- data.tar.gz: 3e0a8402c5852bfe397e8df4e5d2c14d0494111a
3
+ metadata.gz: 0f23cb037c4c7f973d402a78e20338e631659982
4
+ data.tar.gz: a53df799fc99b40f90ac077db10f30344821843f
5
5
  SHA512:
6
- metadata.gz: f047b5f9a4020785c729b751922de7cd3bd7911851c483ee1329ccc09b22770fed7855b6817db80f1ba12ccdba37da5d35ba5730bc0b0795bfc9a3fa1366aaad
7
- data.tar.gz: bc3a3e7fec21068f6541d55190a19c421e195a75337d205ef49588c798d75e3475e528d88bcfa4c463ebaf3042c74a8ff9aa3e9c698b4d74f56572730b5357f1
6
+ metadata.gz: ce47e8cf16b5cd80c95a6586501b17d13b7bf30c97655939e88f2cbec952b5789f9d6e0c4a22bf1229bef55c6077386b675c68b1cfc8f3a0790a73b12aa906c8
7
+ data.tar.gz: 75ba3499974d919b9e8c04410792785f37256b4ae549c2b730aa4e56fa295f5e2faa79b928abde15cf7553b3c68d42fbe6179235f851143b7978faf2f038475c
data/lib/tasks/setup.rb CHANGED
@@ -100,13 +100,16 @@ class Setup < Array
100
100
  end
101
101
  }
102
102
  Dir.glob('**/*.wxs').each{|wxs|
103
- current_version=IO.read(wxs).scan(/\sVersion=[\"']([\d.]+)[\"']/)[0][0]
104
- puts "#{wxs} current version=#{current_version}" if env.debug?
105
- if(!current_version.nil?)#nclude?('Version='))
106
- target_version=VERSION#{}"Version=\"#{VERSION}\")="
107
- if(current_version != target_version)
108
- add_quiet "<%Text.replace_in_file('#{wxs}','#{current_version}','#{target_version}')%>"
103
+ begin
104
+ current_version=IO.read(wxs).scan(/\sVersion=[\"']([\d.]+)[\"']/)[0][0]
105
+ puts "#{wxs} current version=#{current_version}" if env.debug?
106
+ if(!current_version.nil?)#nclude?('Version='))
107
+ target_version=VERSION#{}"Version=\"#{VERSION}\")="
108
+ if(current_version != target_version)
109
+ add_quiet "<%Text.replace_in_file('#{wxs}','#{current_version}','#{target_version}')%>"
110
+ end
109
111
  end
112
+ rescue
110
113
  end
111
114
  }
112
115
  end
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.0.281
4
+ version: 2.0.282
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow