rebuy_deployment 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rebuy_deployment/deploy.rb +7 -4
  2. metadata +39 -21
  3. checksums.yaml +0 -7
@@ -152,7 +152,7 @@ namespace :deploy do
152
152
 
153
153
  case "#{restart_type}"
154
154
  when "php-fpm"
155
- run "#{try_sudo} /etc/init.d/php-fpm reload"
155
+ run "#{try_sudo} /sbin/service php-fpm reload"
156
156
  when "svc"
157
157
  if exists?(:svc_name)
158
158
  run "#{try_sudo} /usr/bin/svc -d /service/#{svc_name}"
@@ -171,7 +171,7 @@ namespace :deploy do
171
171
 
172
172
  case "#{restart_type}"
173
173
  when "php-fpm"
174
- restart = "#{try_sudo} /etc/init.d/php-fpm reload"
174
+ restart = "#{try_sudo} /sbin/service php-fpm reload"
175
175
  when "svc"
176
176
  if exists?(:svc_name)
177
177
  restart = "#{try_sudo} /usr/bin/svc -d /service/#{svc_name} && #{try_sudo} /usr/bin/svc -u /service/#{svc_name}"
@@ -222,8 +222,11 @@ namespace :deploy do
222
222
  mail.from = sender
223
223
  mail.subject = subject
224
224
  mail.body = body
225
-
226
- mail.deliver!
225
+ begin
226
+ mail.deliver!
227
+ rescue => e
228
+ logger.info "Can not send mail: #{e.message}"
229
+ end
227
230
  end
228
231
  end
229
232
 
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - reBuy reCommerce GmbH
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-08 00:00:00.000000000 Z
12
+ date: 2015-04-16 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: capistrano
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,99 +30,113 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: railsless-deploy
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: 1.0.2
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: 1.0.2
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - '>='
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - '>='
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: mail
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - '>='
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: 2.4.4
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - '>='
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: 2.4.4
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: capistrano-campfire
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - '>='
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: 0.2.0
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - '>='
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: 0.2.0
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: zookeeper
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - '>='
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - '>='
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: zk
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - '>='
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: 1.8.0
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - '>='
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: 1.8.0
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: json
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - '>='
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :runtime
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - '>='
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  description: This gem offers deployment for all rebuy.de projects
@@ -138,25 +155,26 @@ files:
138
155
  - lib/rebuy_deployment/rakefile
139
156
  homepage:
140
157
  licenses: []
141
- metadata: {}
142
158
  post_install_message:
143
159
  rdoc_options: []
144
160
  require_paths:
145
161
  - lib
146
162
  required_ruby_version: !ruby/object:Gem::Requirement
163
+ none: false
147
164
  requirements:
148
- - - '>='
165
+ - - ! '>='
149
166
  - !ruby/object:Gem::Version
150
167
  version: '0'
151
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
+ none: false
152
170
  requirements:
153
- - - '>='
171
+ - - ! '>='
154
172
  - !ruby/object:Gem::Version
155
173
  version: '0'
156
174
  requirements: []
157
175
  rubyforge_project:
158
- rubygems_version: 2.0.3
176
+ rubygems_version: 1.8.23
159
177
  signing_key:
160
- specification_version: 4
178
+ specification_version: 3
161
179
  summary: Capistrano deployment for rebuy.de projects
162
180
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 197e69832e5573b703f37c94da341cf5e1fce553
4
- data.tar.gz: 1b3399b4c42021b227b6d18a654ecdb668bcca6a
5
- SHA512:
6
- metadata.gz: 469700a172abe48db577d3ca97d5dc8edd17fd0f62ce7671a802fe29816d84f3ad07f7127dfecd96e34e42b738c6874e26c96a50af5585a537351e707e290176
7
- data.tar.gz: 3e886b255c6a531ad4075400e381856b90fddd9b71d893a25c315fbbc499af63b1c2860abf70fe8d2dc5cf5fc1410081baae23fd3bd6065c21aeb9a1c7a4a35d