vlad 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +1 -1
- data/lib/vlad.rb +1 -1
- data/lib/vlad/core.rb +14 -1
- metadata +9 -9
- metadata.gz.sig +1 -2
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/lib/vlad.rb
CHANGED
data/lib/vlad/core.rb
CHANGED
@@ -66,6 +66,7 @@ namespace :vlad do
|
|
66
66
|
remote_task :update, :roles => :app do
|
67
67
|
Rake::Task['vlad:update_app'].invoke
|
68
68
|
Rake::Task['vlad:update_symlinks'].invoke
|
69
|
+
Rake::Task['vlad:set_current_release'].invoke
|
69
70
|
Rake::Task['vlad:log_revision'].invoke
|
70
71
|
end
|
71
72
|
|
@@ -102,7 +103,7 @@ namespace :vlad do
|
|
102
103
|
end
|
103
104
|
end
|
104
105
|
|
105
|
-
desc "Updates up your symlinks
|
106
|
+
desc "Updates up your symlinks for shared path".cleanup
|
106
107
|
|
107
108
|
remote_task :update_symlinks, :roles => :app do
|
108
109
|
begin
|
@@ -112,6 +113,18 @@ namespace :vlad do
|
|
112
113
|
ops << "ln -s #{shared_path}/#{sp} #{latest_release}/#{rp}"
|
113
114
|
end
|
114
115
|
end
|
116
|
+
run ops.join(' && ') unless ops.empty?
|
117
|
+
rescue => e
|
118
|
+
run "rm -rf #{release_path}"
|
119
|
+
raise e
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
desc "Sets the latest revision to current".cleanup
|
124
|
+
|
125
|
+
remote_task :set_current_release, :roles => :app do
|
126
|
+
begin
|
127
|
+
ops = []
|
115
128
|
ops << "rm -f #{current_path}"
|
116
129
|
ops << "ln -s #{latest_release} #{current_path}"
|
117
130
|
run ops.join(' && ') unless ops.empty?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vlad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 2.6.
|
9
|
+
- 2
|
10
|
+
version: 2.6.2
|
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: 2013-
|
41
|
+
date: 2013-08-19 00:00:00 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rake
|
@@ -115,11 +115,11 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - ~>
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
hash:
|
118
|
+
hash: 9
|
119
119
|
segments:
|
120
120
|
- 3
|
121
|
-
-
|
122
|
-
version: "3.
|
121
|
+
- 7
|
122
|
+
version: "3.7"
|
123
123
|
type: :development
|
124
124
|
version_requirements: *id005
|
125
125
|
description: |-
|
@@ -175,8 +175,8 @@ files:
|
|
175
175
|
- vladdemo.sh
|
176
176
|
- .gemtest
|
177
177
|
homepage: http://rubyhitsquad.com/
|
178
|
-
licenses:
|
179
|
-
|
178
|
+
licenses:
|
179
|
+
- MIT
|
180
180
|
post_install_message:
|
181
181
|
rdoc_options:
|
182
182
|
- --main
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
j�Q2�?W�"�`�����+u�WwE}����7�;�ۋ~� M�d�k{��G�ލ��M�2�=��k�G#��!��>?�Cum_��7�ӡ�>s`�涷b����Ӡ�,*�������n�l����~�c�g�昭
|
1
|
+
5֑TtQ�*�����&�T�q.�)|t�0K�^�G��m��̒82ub��8x�_��eIq*���\b��B�ؠ
|