pacer 2.0.17-java → 2.0.18-java

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: 14472a2836b4f6408e5600f10198579cf1cc1f50
4
- data.tar.gz: 0d39b19d0d756577b437ddd456c08bd329424fe4
3
+ metadata.gz: 7d7905ddf1c56bda34240a62c39a2c089269ee52
4
+ data.tar.gz: 992588158de779cc22d9fc56376d85ae3274ec98
5
5
  SHA512:
6
- metadata.gz: 9780f3f0b13b0fffdf0b5184eb5052eb82ca94a1c9a4710b20411cf91d6d77c0e539526847bdc6b2b7b9b7fb2834f98eb4f6e1a54da56e4f378232642d936f5b
7
- data.tar.gz: 31c7e51e4e7ae1e559734d55f5a781fd91f5a063f87b1d79d20248e2aafbae5f89d4aee7362acb69fccd5c7c3b1c924fd37dbd1e6b7d1ab07eda5f8dd1f5ac43
6
+ metadata.gz: b0ff0dd02bdaa3949d244ba7eb61542f09794d2b3278f1bfb113a5a30a6c94747cdc0387e560335068bf65aa2302b68be1f62075b07f15e98adf51f763bb3186
7
+ data.tar.gz: 60c4e5f8e19a89e4606afd0c320988f1cba8264704e991904194a87100c8d5bcc9665fd62b737ee63ae70257dced51af3e224734d08b2a870acfc75952c3dc92
@@ -47,7 +47,7 @@ module Pacer
47
47
  # @return [PacerGraph]
48
48
  def graph
49
49
  config.fetch :graph do
50
- src = @back || @source
50
+ src = @back || @pacer_source
51
51
  src.graph if src.respond_to? :graph
52
52
  end
53
53
  end
@@ -82,7 +82,7 @@ module Pacer
82
82
 
83
83
  # Return true if this route is at the beginning of the route definition.
84
84
  def root?
85
- !@source.nil? or @back.nil?
85
+ !@pacer_source.nil? or @back.nil?
86
86
  end
87
87
 
88
88
  # Prevents the route from being evaluated when it is inspected. Useful
@@ -353,7 +353,7 @@ HELP
353
353
  other.function == function and
354
354
  other.element_type == element_type and
355
355
  other.back == back and
356
- other.source == source
356
+ other.pacer_source == pacer_source
357
357
  end
358
358
 
359
359
  # Returns true if this route currently has no elements.
@@ -409,7 +409,7 @@ HELP
409
409
  if @back
410
410
  @back.set_pipe_source src
411
411
  else
412
- self.source = src
412
+ self.pacer_source = src
413
413
  end
414
414
  end
415
415
 
@@ -421,7 +421,7 @@ HELP
421
421
  @back = back
422
422
  else
423
423
  @back = nil
424
- @source = back
424
+ @pacer_source = back
425
425
  end
426
426
  end
427
427
 
@@ -461,17 +461,17 @@ HELP
461
461
 
462
462
  # This should not normally need to be set. It can be used to inject a route
463
463
  # into another route during iterator generation.
464
- def source=(source)
464
+ def pacer_source=(pacer_source)
465
465
  @back = nil
466
- @source = source
466
+ @pacer_source = pacer_source
467
467
  end
468
468
 
469
469
  # Get the actual source of data for this route.
470
470
  #
471
471
  # @return [java.util.Iterator]
472
472
  def source_iterator
473
- if @source
474
- iter = iterator_from_source(@source)
473
+ if @pacer_source
474
+ iter = iterator_from_source(@pacer_source)
475
475
  iter.enablePath(true) if iter.respond_to? :enablePath
476
476
  iter
477
477
  elsif @back
@@ -484,7 +484,7 @@ HELP
484
484
  # @see #build_pipeline
485
485
  # @return [[com.tinkerpop.pipes.Pipe, com.tinkerpop.pipes.Pipe], nil]
486
486
  def pipe_source
487
- if @source
487
+ if @pacer_source
488
488
  nil
489
489
  elsif @back
490
490
  @back.send(:build_pipeline)
@@ -53,7 +53,7 @@ module Pacer
53
53
 
54
54
  def after_initialize
55
55
  @empty_back = @back
56
- @back = @source = nil
56
+ @back = @pacer_source = nil
57
57
  super
58
58
  end
59
59
 
data/lib/pacer/route.rb CHANGED
@@ -78,7 +78,7 @@ module Pacer
78
78
 
79
79
  # The soure of data for the entire chain. Routes that have a source
80
80
  # generally should not have a {#back}
81
- attr_reader :source
81
+ attr_reader :pacer_source
82
82
 
83
83
  # Create a new route. It should be very rare that you would need to
84
84
  # directly create a Route object.
@@ -134,7 +134,7 @@ module Pacer
134
134
  if source.is_a? Route
135
135
  @back = source
136
136
  else
137
- @source = source
137
+ @pacer_source = source
138
138
  end
139
139
  @config = config
140
140
  @args = args
@@ -63,7 +63,7 @@ HELP
63
63
  if back and back.element_type == :path
64
64
  pf = Pacer::Wrappers::PathWrappingPipeFunction.new back, block
65
65
  else
66
- pf = Pacer::Wrappers::WrappingPipeFunction.new back || source, block
66
+ pf = Pacer::Wrappers::WrappingPipeFunction.new back || pacer_source, block
67
67
  pf = Pacer::Wrappers::UnwrappingPipeFunction.new pf
68
68
  end
69
69
  pipe = com.tinkerpop.pipes.transform.TransformFunctionPipe.new pf
data/lib/pacer/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pacer
2
- VERSION = "2.0.17"
2
+ VERSION = "2.0.18"
3
3
  # Clients may optionally define the following constants in the Pacer namespace:
4
4
  # - LOAD_JARS : set to false to manage jar loading in the client. Be sure to load the jars defined in JARFILES.
5
5
  # - LOCKJAR_LOCK_OPTS : set some options to be passed to LockJar.lock (ie. :lockfile, :download_artifacts, :local_repo)
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: 2.0.17
4
+ version: 2.0.18
5
5
  platform: java
6
6
  authors:
7
7
  - Darrick Wiebe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-06 00:00:00.000000000 Z
11
+ date: 2015-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lock_jar