a2zdeploy 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f31e4c895816fe7077b87e0905484e77a9a3b42
4
- data.tar.gz: c5d6db37370f8fba296fad53cd216884d59a2802
3
+ metadata.gz: 1442f58dfb9d4005615d0fd5e344aff0e4dd1748
4
+ data.tar.gz: 55df170e486dd37be16c4b483b9bbe9c5021d45c
5
5
  SHA512:
6
- metadata.gz: deb5fd2b1301370d898dedb25e1141b790e34021852df983e952fd57e82d76b0e5b45f02b08fbc4806d2f42bffe47be42374234bad7dc3c5703a6e654da92969
7
- data.tar.gz: fd88dcabc9746d2ff83bd1659ae3cc7b816ff1a1d1684c9c0fb7feada7e8b82b0a6fa44f36da3b1d815be326326440a9a3e346506180b1bb2b3f850bd9aa34ab
6
+ metadata.gz: 0164f5e3cda880b1ee5cf941d55a97f99ec19afe6bcf3576fdedb355729abf1e0a118afeb39dfe7a71e08b2885bfc444bfdda0aa4940a695f5d78edfb6b86be7
7
+ data.tar.gz: 42daebb43f6b45d9f096fdcf5bf3e2027d583ed2a1b43cbaaa0a3802207af8d13365b49c44208b2f9019727eaff6f97fb3ca41a94e80295510418ce03381cc50
data/a2zdeploy.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'a2zdeploy'
3
- s.version = '1.0.10'
3
+ s.version = '1.0.11'
4
4
  s.date = '2016-02-08'
5
5
  s.summary = 'Given a project dependency chain, updates versions, builds, tests, manages service and cloud settings as well as build environment configuration'
6
6
  s.description = 'Automated Upgrades Gem. Provides version upgrades, build and deployment configuration management'
data/lib/upgradeall.rb CHANGED
@@ -105,7 +105,7 @@ class UpgradeAll
105
105
  Dir.chdir GlobalConstants::PARENTDIR
106
106
 
107
107
  # if publishing nuget package, wait for a minute for publish to finish
108
- waitfor node.metadata.build_wait_time_in_secs if node.should_publish_nuget.downcase == 'y'
108
+ waitfor node.metadata.build_wait_time_in_secs if node.metadata.should_publish_nuget.downcase == 'y'
109
109
  else
110
110
  # either cycle was unterrupted, a step in upgrade failed or full cycle successfully completed
111
111
  # save the version map and manifest
@@ -196,14 +196,13 @@ class UpgradeAll
196
196
 
197
197
  def waitfor build_wait_time_in_secs
198
198
  checks = 0
199
-
199
+ build_wait_time_in_secs = build_wait_time_in_secs.to_i
200
+
200
201
  until checks > build_wait_time_in_secs
201
202
  sleep 5
202
203
  checks += 5
203
204
  puts GlobalConstants::UPGRADE_PROGRESS + 'Waiting for 5 seconds...'
204
205
  end
205
-
206
- raise 'Waitfor timeout expired. Make sure that you aren\'t running something from the build output folders, or that you have browsed to it through Explorer.' if checks > build_wait_time_in_secs
207
206
  end
208
207
 
209
208
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a2zdeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suresh Batta