mattmatt-cap-ext-webistrano 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/cap_ext_webistrano/task.rb +3 -2
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -43,10 +43,11 @@ module CapExtWebistrano
|
|
43
43
|
set_access_data
|
44
44
|
@project = Project.find_by_name(@config[:application])
|
45
45
|
@stage = @project.find_stage(@config[:stage])
|
46
|
-
params = { :task => task, :stage_id => @stage.id, :project_id => @project.id }
|
46
|
+
params = { :task => task, :stage_id => @stage.id, :project_id => @project.id, :description => @config[:description] }
|
47
47
|
params.merge!(:prompt_config => @config[:prompt_config]) if @config.exists?(:prompt_config)
|
48
48
|
@deployment = Deployment.create(params)
|
49
49
|
loop_latest_deployment
|
50
|
+
exit(-1) unless @deployment.status == "success"
|
50
51
|
end
|
51
52
|
end
|
52
|
-
end
|
53
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mattmatt-cap-ext-webistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Meyer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-14 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|