simple_worker 2.0.0.beta.4 → 2.0.0.beta.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_worker/server/overrides.rb +2 -11
- data/lib/simple_worker/service.rb +0 -1
- metadata +2 -2
@@ -175,18 +175,9 @@ module SimpleWorker
|
|
175
175
|
end
|
176
176
|
|
177
177
|
def add_sw_params(hash_to_send)
|
178
|
-
hash_to_send["
|
179
|
-
hash_to_send["
|
178
|
+
hash_to_send["token"] = self.config['token']
|
179
|
+
hash_to_send["project_id"] = self.config['project_id']
|
180
180
|
hash_to_send["api_version"] = SimpleWorker.api_version
|
181
|
-
#if defined?(SimpleWorker::SingleRunner)
|
182
|
-
# #puts "IN SINGLE RUNNER"
|
183
|
-
# runners = ObjectSpace.each_object(SimpleWorker::SingleRunner)
|
184
|
-
# if runners
|
185
|
-
# single_runner = runners.first
|
186
|
-
# #puts "PUTTING PARENT TASK ID #{single_runner.instance_variable_get(:@parent_task_id)|| single_runner.instance_variable_get(:@task_id)}"
|
187
|
-
# hash_to_send["sw_parent_task_id"] =single_runner.instance_variable_get(:@parent_task_id)|| single_runner.instance_variable_get(:@task_id)
|
188
|
-
# end
|
189
|
-
#end
|
190
181
|
end
|
191
182
|
end
|
192
183
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: simple_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 2.0.0.beta.
|
5
|
+
version: 2.0.0.beta.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Travis Reeder
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-30 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: zip
|