barbeque 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/barbeque/job_executions_helper.rb +2 -0
- data/app/models/barbeque/job_execution.rb +1 -0
- data/app/models/barbeque/job_retry.rb +1 -0
- data/lib/barbeque/message_handler/job_execution.rb +1 -0
- data/lib/barbeque/message_handler/job_retry.rb +2 -1
- data/lib/barbeque/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: c926b3660782c169804dc6f07c16757ed051c9df
|
4
|
+
data.tar.gz: fc2df2f86cb3c6cf4192ce810a47024b8483fb06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50f25fbd8525e4ce581cf92212565170ce1256666be8e917a9dc114fe8bfe0e499e20add7da02cb5647acafa924fac744cd78df85dade310cb9f745bb644efc1
|
7
|
+
data.tar.gz: d4389a130d4e0939bacdafdeec7e623851a6ea01414bdc19fef82cf29a46f64d8201a2ee1328157885235fd4534421242f90d6f2bfdb591b6f6c0b73db715180
|
@@ -21,7 +21,8 @@ module Barbeque
|
|
21
21
|
rescue ActiveRecord::RecordNotUnique => e
|
22
22
|
raise DuplicatedExecution.new(e.message)
|
23
23
|
end
|
24
|
-
job_execution.update!(status:
|
24
|
+
job_execution.update!(status: :retried)
|
25
|
+
job_retry.update!(status: :running)
|
25
26
|
|
26
27
|
begin
|
27
28
|
stdout, stderr, result = run_command
|
data/lib/barbeque/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barbeque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adminlte2-rails
|