integration_pal 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a1d177dd359e1d840597b1e69f669ae7d535ae
|
4
|
+
data.tar.gz: 0b5c8180cbc0b697ae86fb2214b73577c690236d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8067b9aca2a8f57b76f6e2e24c8b8294976a2cc0b05117bc70e2a4e82d401c875349d940e9e750256b14867baa1362746aa7349a686549125095fc4be0f46b7
|
7
|
+
data.tar.gz: 747a01149b6ec221f0ee77d8d3ab671e77a0badc0f70f82b73866c57e941cbd3e9aa729c3460d5c3b59812e1cf9cd75071a58968852136bcc83cf4f45d4157a4
|
@@ -24,7 +24,7 @@ module IntegrationPal
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def start
|
27
|
-
self.update_attributes(status: IN_PROGRESS_STATUS, started_at: Time.zone.now)
|
27
|
+
self.update_attributes(status: IN_PROGRESS_STATUS, started_at: Time.zone.now, job_params: self.job_params.merge(worker.settings))
|
28
28
|
end
|
29
29
|
|
30
30
|
def fail(exception)
|
@@ -5,7 +5,7 @@ module IntegrationPal
|
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
|
7
7
|
included do
|
8
|
-
attr_accessor :job
|
8
|
+
attr_accessor :job
|
9
9
|
|
10
10
|
rescue_from(StandardError) do |exception|
|
11
11
|
job.fail(exception)
|
@@ -14,7 +14,6 @@ module IntegrationPal
|
|
14
14
|
|
15
15
|
def setup(active_job)
|
16
16
|
@job = IntegrationPal::Job.find(active_job.arguments.first)
|
17
|
-
@params = @job.job_params.merge(@job.worker.settings)
|
18
17
|
@job.start
|
19
18
|
@job
|
20
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: integration_pal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Tanner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|