dev 2.0.271 → 2.0.272

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
  SHA1:
3
- metadata.gz: 250e5de38be7903ba22278d1ae3400999f92605e
4
- data.tar.gz: 940a8b48b3fa546a9b5e323a1dc67c10b738f2bb
3
+ metadata.gz: b4535dfbe4cd94433d4a46db91ba9526ef73d045
4
+ data.tar.gz: 88fa79bc6338e803207b743924e9e1d35f269d3d
5
5
  SHA512:
6
- metadata.gz: a60ff501e785bb155f2ff94b558accdfe84d01c8ab9903caecf16b1d6fdbd9cbbb46d8c38cd7886c719cc8aba3b19ee71a52b382f924540f6ad5b7ec5f0cee9a
7
- data.tar.gz: 17805bc0adffe5ac02facea81e77fa023b550613df4511ecc69a08f5ad4c2971c249522014b5fa082444bb9305a81dbe131ae3cf0df8f6325e66d1f841028e4e
6
+ metadata.gz: 556ef97828d9cff387d5df8838bdc35ca1b18395be1f166bd132b4bf7b004a8ab48fb247e2899b268de2c27be6c0066d4d9a6ccccecd051f677e76c9e6060dea
7
+ data.tar.gz: e3ecb07870c8f4722c6d0e6e810304f4dbe21c71100f736434260216b08125be35fce8d3ce5ad45887981d614da0829a559d809fa8cc2330838a9f725373e4a2
@@ -428,7 +428,7 @@ class Project < Hash
428
428
  @env.out pull.summary true
429
429
  return pull
430
430
  end
431
- if(File.exists?('svn'))
431
+ if(File.exists?('.svn'))
432
432
  updateCmd=Command.execute(Command.new({:input => 'svn update', :quiet => true, :ignore_failure => true}))
433
433
  @env.out updateCmd.summary true
434
434
  return updateCmd
@@ -76,13 +76,14 @@ class Setup < Array
76
76
  end
77
77
 
78
78
  if(defined?(VERSION))
79
+ puts "updating nuspec files for VERSION #{VERSION}" if env.debug?
79
80
  Dir.glob('*.nuspec').each{|nuspec|
80
81
  current_version=IO.read(nuspec).scan(/<version>[\d.]+<\/version>/)[0]
81
82
  puts "#{nuspec} current version=#{current_version}" if env.debug?
82
83
  if(current_version.include?('<version>'))
83
84
  target_version="<version>#{VERSION}</version>"
84
85
  if(current_version != target_version)
85
- add "<%Text.replace_in_file('#{nuspec}','#{current_version}','#{target_version}')%>"
86
+ add_quiet "<%Text.replace_in_file('#{nuspec}','#{current_version}','#{target_version}')%>"
86
87
  end
87
88
  end
88
89
  }
@@ -93,19 +94,19 @@ class Setup < Array
93
94
  if(current_version.include?('Version('))
94
95
  target_version="Version(\"#{VERSION}\")"
95
96
  if(current_version != target_version)
96
- add "<%Text.replace_in_file('#{assemblyInfo}','#{current_version}','#{target_version}')%>"
97
+ add_quiet "<%Text.replace_in_file('#{assemblyInfo}','#{current_version}','#{target_version}')%>"
97
98
  end
98
99
  end
99
100
  end
100
101
  }
101
102
  Dir.glob('**/*.wxs').each{|wxs|
102
- current_version=IO.read(wxs).scan(/Version=\"([\d.]+)\"/)[0][0]
103
+ current_version=IO.read(wxs).scan(/Version=[\"']([\d.]+)[\"']/)[0][0]
103
104
  puts "#{wxs} current version=#{current_version}" if env.debug?
104
105
  if(current_version.include?('Version='))
105
106
  target_version="Version=\"#{VERSION}\")="
106
107
  if(current_version != target_version)
107
- add "<%Text.replace_in_file('#{wxs}','#{current_version}','#{target_version}')%>"
108
- add "<%Text.replace_in_file('Value=\"#{current_version}\"','Value=\"#{target_version}\"')%>"
108
+ add_quiet "<%Text.replace_in_file('#{wxs}','#{current_version}','#{target_version}')%>"
109
+ add_quiet "<%Text.replace_in_file('Value=\"#{current_version}\"','Value=\"#{target_version}\"')%>"
109
110
  end
110
111
  end
111
112
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.271
4
+ version: 2.0.272
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake