integration_pal 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfbfcca9a652c0832d296463732c575fda9c8348
4
- data.tar.gz: a6d1460f68931dbdadee4e125fcfc9c246d42d2e
3
+ metadata.gz: 23a1d177dd359e1d840597b1e69f669ae7d535ae
4
+ data.tar.gz: 0b5c8180cbc0b697ae86fb2214b73577c690236d
5
5
  SHA512:
6
- metadata.gz: e28e45c019820d871f79e579da88fa1c812712488b2f55cb527c78678ec85817822c70929f349deefc7c68a4c35e606ce3969c0f5104b3bbc14f7195e24f7aaf
7
- data.tar.gz: 8bd163df2013969c62cc1e9bebf4f5a309d9b7afa564dce60f85bd6cd754c6fec0f7154e9653983f2916f43e7d5ea72b8d7f87d2a3afee293a25a85d7e2341e4
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, :params
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
@@ -1,3 +1,3 @@
1
1
  module IntegrationPal
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  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
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-26 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails