rebuy_deployment 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rebuy_deployment/deploy.rb +7 -1
- metadata +52 -11
@@ -1,5 +1,6 @@
|
|
1
1
|
Encoding.default_internal = "UTF-8"
|
2
2
|
require 'mail'
|
3
|
+
require 'capistrano/campfire'
|
3
4
|
|
4
5
|
def prompt_if_unset(name, default = '')
|
5
6
|
unless exists? name
|
@@ -127,6 +128,10 @@ namespace :deploy do
|
|
127
128
|
end
|
128
129
|
end
|
129
130
|
|
131
|
+
task :notify_campfire, :on_error => :continue do
|
132
|
+
campfire_room.paste get_git_log if exists? :campfire_options
|
133
|
+
end
|
134
|
+
|
130
135
|
# Mail.defaults has to be configured in order for this task to work properly
|
131
136
|
task :notify, :on_error => :continue do
|
132
137
|
if exists?(:mail_sender) && exists?(:mail_receiver)
|
@@ -149,7 +154,7 @@ namespace :deploy do
|
|
149
154
|
end
|
150
155
|
create_symlink
|
151
156
|
end
|
152
|
-
|
157
|
+
|
153
158
|
task :create_symlink, :except => { :no_release => true } do
|
154
159
|
on_rollback do
|
155
160
|
if previous_release
|
@@ -168,4 +173,5 @@ after 'deploy:finalize_update', 'deploy:change_owner'
|
|
168
173
|
after 'deploy:symlink', 'deploy:restart'
|
169
174
|
after 'deploy:symlink', 'deploy:new_relic'
|
170
175
|
after 'deploy:symlink', 'deploy:notify'
|
176
|
+
after 'deploy:symlink', 'deploy:notify_campfire'
|
171
177
|
after 'deploy:setup', 'deploy:prepare_directory_structure'
|
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rebuy_deployment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mike Roetgers
|
9
|
+
- Daniel Freudenberger
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: capistrano
|
16
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
19
|
requirements:
|
19
20
|
- - ! '>='
|
@@ -24,10 +25,18 @@ dependencies:
|
|
24
25
|
version: 2.12.0
|
25
26
|
type: :runtime
|
26
27
|
prerelease: false
|
27
|
-
version_requirements:
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.10.0
|
34
|
+
- - <=
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 2.12.0
|
28
37
|
- !ruby/object:Gem::Dependency
|
29
38
|
name: railsless-deploy
|
30
|
-
requirement:
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
31
40
|
none: false
|
32
41
|
requirements:
|
33
42
|
- - ! '>='
|
@@ -35,10 +44,15 @@ dependencies:
|
|
35
44
|
version: 1.0.2
|
36
45
|
type: :runtime
|
37
46
|
prerelease: false
|
38
|
-
version_requirements:
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.0.2
|
39
53
|
- !ruby/object:Gem::Dependency
|
40
54
|
name: rake
|
41
|
-
requirement:
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
42
56
|
none: false
|
43
57
|
requirements:
|
44
58
|
- - ! '>='
|
@@ -46,10 +60,15 @@ dependencies:
|
|
46
60
|
version: '0'
|
47
61
|
type: :runtime
|
48
62
|
prerelease: false
|
49
|
-
version_requirements:
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
50
69
|
- !ruby/object:Gem::Dependency
|
51
70
|
name: mail
|
52
|
-
requirement:
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
53
72
|
none: false
|
54
73
|
requirements:
|
55
74
|
- - ! '>='
|
@@ -57,10 +76,32 @@ dependencies:
|
|
57
76
|
version: 2.4.4
|
58
77
|
type: :runtime
|
59
78
|
prerelease: false
|
60
|
-
version_requirements:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 2.4.4
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: capistrano-campfire
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 0.2.0
|
93
|
+
type: :runtime
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 0.2.0
|
61
101
|
description: This gem offers deployment for all rebuy.de projects
|
62
102
|
email:
|
63
103
|
- m.roetgers@rebuy.de
|
104
|
+
- df@rebuy.de
|
64
105
|
executables: []
|
65
106
|
extensions: []
|
66
107
|
extra_rdoc_files: []
|
@@ -88,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
129
|
version: '0'
|
89
130
|
requirements: []
|
90
131
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.8.
|
132
|
+
rubygems_version: 1.8.24
|
92
133
|
signing_key:
|
93
134
|
specification_version: 3
|
94
135
|
summary: Capistrano deployment for rebuy.de projects
|