alephant-broker 2.0.2 → 2.0.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba843f0d0800792867923c91cf36d56c8be39ee9
|
|
4
|
+
data.tar.gz: b6da0dd2fa36c5ed132f49d032d92d60c9de8bd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 176cb75d6319513178caff4822f04d0a58dc604461fe411dad10950ec6ee4b9d593065f11addba069cc855969a0f896347b746e4a456e6941d87f1b8baad8723
|
|
7
|
+
data.tar.gz: 40c78db16794c4eac11595855348cc13ec6c96b5545846ecc6061f042e4a34d20b1882a5918226a92c86cbe50a6156a3341c6edda8821f95ef6f28920645e2d2
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require 'alephant/logger'
|
|
2
2
|
require 'alephant/broker/component'
|
|
3
|
+
require 'pmap'
|
|
3
4
|
|
|
4
5
|
module Alephant
|
|
5
6
|
module Broker
|
|
@@ -26,7 +27,7 @@ module Alephant
|
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
def components_for(env)
|
|
29
|
-
env.data['components'].
|
|
30
|
+
env.data['components'].pmap do |c|
|
|
30
31
|
@component_factory.create(
|
|
31
32
|
c['component'],
|
|
32
33
|
batch_id,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require 'alephant/logger'
|
|
2
|
-
require 'pmap'
|
|
3
2
|
|
|
4
3
|
module Alephant
|
|
5
4
|
module Broker
|
|
@@ -27,7 +26,7 @@ module Alephant
|
|
|
27
26
|
|
|
28
27
|
def json
|
|
29
28
|
logger.info "Broker: Batch load started (#{batch_id})"
|
|
30
|
-
result = components.
|
|
29
|
+
result = components.map do |component|
|
|
31
30
|
{
|
|
32
31
|
'component' => component.id,
|
|
33
32
|
'options' => component.options,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alephant-broker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Jack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|