mattmatt-cap-ext-webistrano 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 2
3
+ :patch: 4
4
4
  :major: 0
@@ -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.2
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-06-25 00:00:00 -07:00
12
+ date: 2009-07-14 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency