pacer 1.3.3-java → 1.3.4-java
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 +4 -4
- data/lib/pacer/transform/branch.rb +20 -4
- data/lib/pacer/version.rb +1 -1
- data/pom.xml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0437b2986f40401080f7411e1a9544d0f755ba6
|
4
|
+
data.tar.gz: dccae462788df22508168a2020967d8ff6b68ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d57a870de4286fc56cf7c0dd0def46110fd95bd0179c8de3bb255547351dfb9e3d400bc1d91989adef29a5b53e1cffbd66fe888d1986fe6a8a7e3320e12ce4e6
|
7
|
+
data.tar.gz: def7ed535a7df4fa3337722aa553f7bc4235fa15c6667372edb442d452d035c107e53a8e3b44c1d221bc0a42860e0defec0b9e0698e0ba81736dc4bf5b28559f
|
@@ -13,9 +13,21 @@ module Pacer
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
+
class Wrappers::VertexWrapper
|
17
|
+
def branch(&block)
|
18
|
+
v.branch &block
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
class Wrappers::EdgeWrapper
|
23
|
+
def branch(&block)
|
24
|
+
e.branch &block
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
16
28
|
module Transform
|
17
29
|
module Branch
|
18
|
-
import com.tinkerpop.pipes.branch.CopySplitPipe
|
30
|
+
import com.tinkerpop.pipes.branch.CopySplitPipe
|
19
31
|
import com.tinkerpop.pipes.branch.ExhaustMergePipe
|
20
32
|
import com.tinkerpop.pipes.branch.FairMergePipe
|
21
33
|
|
@@ -32,7 +44,7 @@ module Pacer
|
|
32
44
|
def clone(conf = {})
|
33
45
|
back.chain_route({transform: Branch,
|
34
46
|
branches: branches.clone,
|
35
|
-
element_type: element_type,
|
47
|
+
element_type: back.element_type,
|
36
48
|
conds: conds.clone,
|
37
49
|
extensions: extensions.clone,
|
38
50
|
split_pipe_class: split_pipe_class,
|
@@ -111,10 +123,14 @@ module Pacer
|
|
111
123
|
def attach_pipe(end_pipe)
|
112
124
|
branch_pipes = branches.map { |b| Pacer::Route.pipeline(b) }
|
113
125
|
split = split_pipe_class.new branch_pipes
|
114
|
-
split.setStarts end_pipe if end_pipe
|
115
126
|
merge = merge_pipe_class.new branch_pipes
|
116
127
|
merge.setStarts split
|
117
|
-
|
128
|
+
if end_pipe
|
129
|
+
split.setStarts end_pipe
|
130
|
+
merge
|
131
|
+
else
|
132
|
+
Pacer::Pipes::BlackboxPipeline.new split, merge
|
133
|
+
end
|
118
134
|
end
|
119
135
|
end
|
120
136
|
|
data/lib/pacer/version.rb
CHANGED
data/pom.xml
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
<!-- NOTE: the following properties are automatically updated based on the values in lib/pacer-neo4j/version.rb -->
|
9
9
|
<properties>
|
10
10
|
<blueprints.version>2.3.0</blueprints.version>
|
11
|
-
<gem.version>1.3.
|
11
|
+
<gem.version>1.3.4</gem.version>
|
12
12
|
<pipes.version>2.3.0</pipes.version>
|
13
13
|
<gremlin.version>2.3.0</gremlin.version>
|
14
14
|
</properties>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pacer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Darrick Wiebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Pacer defines routes through a graph and then traverses them very quickly.
|
14
14
|
email: darrick@innatesoftware.com
|
@@ -220,7 +220,7 @@ files:
|
|
220
220
|
- spec/support/use_transactions.rb
|
221
221
|
- spec/tackle/simple_mixin.rb
|
222
222
|
- spec/tackle/tinkerpop_graph_mixins.rb
|
223
|
-
- lib/pacer-1.3.
|
223
|
+
- lib/pacer-1.3.4-standalone.jar
|
224
224
|
homepage: http://github.com/pangloss/pacer
|
225
225
|
licenses:
|
226
226
|
- MIT
|