rake-remote_task 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,14 @@
1
+ === 2.2.0 / 2013-02-07
2
+
3
+ * 2 minor enhancements:
4
+
5
+ * Fix the command to list the releases. The goal is to reduce the impact of an ssh error message (from off by word count to off by line count)
6
+ * Remove ssh error messages and ancillary dirs from release list
7
+
8
+ * 1 bug fix:
9
+
10
+ * Fixed error with untimetstampted virgin deploy. (goosetav)
11
+
1
12
  === 2.1.0 / 2012-11-23
2
13
 
3
14
  * 4 minor enhancements:
@@ -45,7 +45,7 @@ end
45
45
 
46
46
  class Rake::RemoteTask < Rake::Task
47
47
 
48
- VERSION = "2.1.0"
48
+ VERSION = "2.2.0"
49
49
 
50
50
  @@current_roles = []
51
51
 
@@ -517,14 +517,14 @@ class Rake::RemoteTask < Rake::Task
517
517
 
518
518
  append :command_prefix, []
519
519
 
520
- set(:current_release) { File.join(releases_path, releases[-1]) }
520
+ set(:current_release) { (releases.any?) ? File.join(releases_path, releases[-1]) : nil }
521
521
  set(:latest_release) {
522
522
  deploy_timestamped ? release_path : current_release
523
523
  }
524
524
  set(:previous_release) { File.join(releases_path, releases[-2]) }
525
525
  set(:release_name) { Time.now.utc.strftime("%Y%m%d%H%M%S") }
526
526
  set(:release_path) { File.join(releases_path, release_name) }
527
- set(:releases) { task.run("ls -x #{releases_path}").split.sort }
527
+ set(:releases) { task.run("ls -1 #{releases_path}").split("\n").select { |l| l =~ /^\d+$/ }.sort }
528
528
 
529
529
  set_path :current_path, "current"
530
530
  set_path :releases_path, "releases"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-remote_task
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 2.1.0
10
+ version: 2.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -38,7 +38,7 @@ cert_chain:
38
38
  FBHgymkyj/AOSqKRIpXPhjC6
39
39
  -----END CERTIFICATE-----
40
40
 
41
- date: 2012-11-23 00:00:00 Z
41
+ date: 2013-02-07 00:00:00 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rake
@@ -85,11 +85,11 @@ dependencies:
85
85
  requirements:
86
86
  - - ~>
87
87
  - !ruby/object:Gem::Version
88
- hash: 29
88
+ hash: 17
89
89
  segments:
90
90
  - 4
91
- - 3
92
- version: "4.3"
91
+ - 5
92
+ version: "4.5"
93
93
  type: :development
94
94
  version_requirements: *id003
95
95
  - !ruby/object:Gem::Dependency
@@ -115,11 +115,11 @@ dependencies:
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
118
- hash: 1
118
+ hash: 13
119
119
  segments:
120
120
  - 3
121
- - 3
122
- version: "3.3"
121
+ - 5
122
+ version: "3.5"
123
123
  type: :development
124
124
  version_requirements: *id005
125
125
  description: |-
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  requirements: []
178
178
 
179
179
  rubyforge_project: hitsquad
180
- rubygems_version: 1.8.24
180
+ rubygems_version: 1.8.25
181
181
  signing_key:
182
182
  specification_version: 3
183
183
  summary: Vlad the Deployer's sexy brainchild is rake-remote_task, extending Rake with remote task goodness.
metadata.gz.sig CHANGED
@@ -1 +1 @@
1
- |���b���w��l����D��L1�y.J��S�lH��9�A@=/Rs;��d/�|��yk��|��|y��w����� �IR [��� >?(pʨ�<8��A���_/u�
1
+ 2��V\�6�~�?�$�#��Ɨ#�<d�B�~�.� u G6�3�����1��=ߩ�������8 O�,H;�HH3����V�&������X �k�;txN���6�����E��-_�P��֙2���7�iJ�SgU�%;�gx���A��!R�E� �rh�73׾��6)�lq�&ל�:ְ�bYn��ó{0���>������i�����w�e3��Y�hp�Iv�͛�2g�[�<�ҧ��$���fy�K����{��