workflow-join 0.3.0 → 0.3.1

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: 8c3c2da76cc4df53310b7bf849f82b376191ea55
4
- data.tar.gz: 1c180e494c16da06665ceda094062e1da1825578
3
+ metadata.gz: c75e8693f8a143cc0dd97c9811de52f956d451e9
4
+ data.tar.gz: 2b4b59a75f2d965dcb677e0575f20af5d6f20b96
5
5
  SHA512:
6
- metadata.gz: 8a3b94ed6356eca07083c260186f28ff580ee5b535ba53148b2baeb03f232710c3b45dd641d0371576d055f35db0b3110d80da1a44bab6e67f2712d566dbfce0
7
- data.tar.gz: bbcf979a422528c2bade2bdbb26abf103c03d8866a7ec3f84528eb122035f386aa4c9906c85b1d564027a5617b2d7df69f304955c3e0e53d971ebfa708e657c9
6
+ metadata.gz: 4c9f9c8dbe5bfebdb458916395e79bccc4cb04c2e308882bcdec8acc4d5627a0284596046a330e27127554cac7779af2ed5979131d486dcf9c9e330d19bbad40
7
+ data.tar.gz: f0f2fb42eaa3e3b6e3d9694169afbec3fcb41f1243b986a2edb2a57e2b9abd49c0ca1f45f6ae82d8e46e5e542483370cae02ff7be57cbc87fe5f17bff91b6348
@@ -10,6 +10,18 @@ Style/SignalException:
10
10
  Style/Alias:
11
11
  EnforcedStyle: prefer_alias_method
12
12
 
13
+ Style/PercentLiteralDelimiters:
14
+ PreferredDelimiters:
15
+ '%': '||'
16
+ '%i': '||'
17
+ '%I': '||'
18
+ '%q': '||'
19
+ '%Q': '||'
20
+ '%r': '||'
21
+ '%s': '||'
22
+ '%w': '||'
23
+ '%W': '||'
24
+ '%x': '||'
13
25
  Metrics/ClassLength:
14
26
  Max: 200
15
27
 
@@ -109,7 +109,7 @@ module Workflow
109
109
  Job.find(args.pop['★']).tap do |job|
110
110
  # FIXME: Log this somehow
111
111
  begin
112
- job.args = args
112
+ job.args = [*args, job.to_hash]
113
113
  job.result = Job.worker(job.worker).new.perform(*job.args)
114
114
  job.success!
115
115
  rescue => e
@@ -1,5 +1,5 @@
1
1
  module Workflow
2
2
  module Join
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workflow-join
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksei Matiushkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler