dev 2.0.271 → 2.0.272
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/base/project.rb +1 -1
- data/lib/tasks/setup.rb +6 -5
- 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: b4535dfbe4cd94433d4a46db91ba9526ef73d045
|
4
|
+
data.tar.gz: 88fa79bc6338e803207b743924e9e1d35f269d3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 556ef97828d9cff387d5df8838bdc35ca1b18395be1f166bd132b4bf7b004a8ab48fb247e2899b268de2c27be6c0066d4d9a6ccccecd051f677e76c9e6060dea
|
7
|
+
data.tar.gz: e3ecb07870c8f4722c6d0e6e810304f4dbe21c71100f736434260216b08125be35fce8d3ce5ad45887981d614da0829a559d809fa8cc2330838a9f725373e4a2
|
data/lib/base/project.rb
CHANGED
@@ -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
|
data/lib/tasks/setup.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
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
|
-
|
108
|
-
|
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.
|
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
|
+
date: 2015-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|