mobilize-base 1.24 → 1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mobilize-base/handlers/resque.rb +6 -1
- data/lib/mobilize-base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce15c1af069e5c285df26cf613ce6cf378489f1f
|
4
|
+
data.tar.gz: 5a4098bb5d320d6580ab5dbe695348015edd0949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca5b69d992e93bac4b7a738199993c81802534366f52bf12f2c6171ab88fe15c3f18735402c102d77d01e2224bedd93a97226ee996959a05cd77df5c2433d16
|
7
|
+
data.tar.gz: d6d7de9e7516102527baeccb3d0198fc03d5aaccb47f1a702160ba4d4e25b0fea3e0232bacc4b22465dd360581c3560f75b53d69441cd7a21b97c61ba80473de
|
@@ -111,7 +111,12 @@ module Mobilize
|
|
111
111
|
next if f['notified']
|
112
112
|
stage_path = f['payload']['args'].first
|
113
113
|
s = Stage.where(:path=>stage_path).first
|
114
|
-
email = s
|
114
|
+
email = if s
|
115
|
+
s.job.runner.user.email
|
116
|
+
else
|
117
|
+
#jobs without stages are sent to first admin
|
118
|
+
Jobtracker.admin_emails.first
|
119
|
+
end
|
115
120
|
exc_to_s = f['error']
|
116
121
|
if fjobs[email].nil?
|
117
122
|
fjobs[email] = {stage_path => {exc_to_s => 1}}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobilize-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.25'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cassio Paes-Leme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|