fanforce-workers 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODliZjU2YmRkMmNlMDEzZDI2ZGRjNTFjN2IxYmFhZDRmZDEwZDBiOA==
4
+ ZDA4NWQzYTRhN2U4NzUwZjM3MzZjYzFhY2Y5YmVhOTczMWMwMjQ3Zg==
5
5
  data.tar.gz: !binary |-
6
- ZGE1OGQ3MzViN2VmZmFlN2Y3ZjNjMTAyMTg4YzE3OGU0YjFlMWZmMg==
6
+ ZTU0YTNmZTk5NjQ3YWJkZGI0ZmVjZDRmOTc0NWI2ZTEzZjM1MDkwOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MDNiYjRhOWVlMWI1NmUwYTRjZmMyMzI5OTE4YjcwMTJjODllNzI0OGRiNjE1
10
- OTgwMTYxN2I1M2U3OGNiOTZkMWZlZTU5NjFhMDE2NzNkYjdhOWRkMDhjOTk0
11
- ODMwZTJkZjAwYzI5NjIxMThlYjdiZjg4YTQyNTEzM2U5NzhjZjA=
9
+ MTViZjRmNjkzNDU1OTkzODIyY2M3Mjk5ZjAzMWRjNWM3OGY5ZDUyNWQ2N2My
10
+ ODhlYzQyNDdmY2U0YTUwNjY4NmM3MTI3ZWJlOTU4MTRjZmU0ZmZjNmUyNjll
11
+ NWQ0MzdiZDVmNTY5ZmIzOGIzNzRiYmRjMDQ5Njk3MzBjMWEzODU=
12
12
  data.tar.gz: !binary |-
13
- MTBhNzhkZWE5MjBiYmY4YzUxNjlmNmIwMGJkMDg2MjcwOTMyYzAwOTBjOTU1
14
- MjAwZDI4ODk2NjRhMTA3ZmRmYjRiODVmNDg4YmZkOTI1NWEyNWY5MDRkMzEw
15
- YmUwYzg2MjBiZDRjMjcwODRmMTVjN2I1MTBhZGM5NDk0NmYyYjA=
13
+ YjU5MmFhYTkwZWU0MWE1M2EzMTQxNjRlMjVjZjhkNTNiYjI2NmM2MWIyNjE5
14
+ OWFmZTZjY2JiYWMwY2I1YjMyMzk1NmRhMGJkNjBiMTM1NzJmYWFlNWQwNjJk
15
+ MmI3ZGY0ZDU4NzJjZDI4MmRjY2RmNjY1MzllMDY4MGFlNWY1NTk=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Workers
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
4
4
  end
5
5
  end
@@ -96,7 +96,7 @@ class Fanforce::Workers
96
96
  task_data = Fanforce.decode_json(msg.body)
97
97
 
98
98
  set_env_vars(worker_data['env_vars'])
99
- code_block.call(task_data[:params].clone, task_data[:retries])
99
+ code_block.call(task_data[:params].clone, task_data[:retries], worker_data['worker_id'])
100
100
  msg.delete
101
101
 
102
102
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark