dao-gateway 1.2.0 → 1.2.1

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: dffe3a717ea65a32a26bdf3ffc8a99bb4cdb9f05
4
- data.tar.gz: 0ec648dd5aa0392d1c4c489b61ec12fdddb9a98e
3
+ metadata.gz: 8bb390099cd3605ba9cafc9164ac5ba29058883d
4
+ data.tar.gz: f166e2dd4fa2ea87f263b085c0545671cdaad1e1
5
5
  SHA512:
6
- metadata.gz: 89dbb81bbb6aa39fc67fb714720e7a32692e8623bcb820667bd4cc9ef809d6f40d47418b4378938e58e1a5e41b58b1b4457fcd85a4a5edbbb544d744b4ef2217
7
- data.tar.gz: bd1e958a84cecb7dc7e99fd9b9c0d19c43c7abac0be32cab2e16a3a2b28e7720a58e2cd0a90264b71ae3aa74cd7e1ce2dcfd12efc9c453c59413f57d9cbf920f
6
+ metadata.gz: 1bacf9935f13269b10cb13119ed97793536d6d5c303a11430620cfa9d33c0c839fd5ddf2e6ba1e550c18ee4c735f3e4308f728dfe419d79d8fd3f76353e54f98
7
+ data.tar.gz: c14a0e69857f88b2882f4ca3a053aa6f9e38442fadfc241794111ac289d444cbcb831191cecc087702ed06bc6fdb43613cc6c333023574eada235b9a0f937eb1
@@ -3,10 +3,16 @@ module Dao
3
3
  class Pipe
4
4
  include Enumerable
5
5
 
6
+ attr_reader :processors
7
+
6
8
  def initialize
7
9
  @processors = []
8
10
  end
9
11
 
12
+ def initialize_copy(originial_pipe)
13
+ @processors = originial_pipe.processors.dup
14
+ end
15
+
10
16
  def postprocess(processor)
11
17
  @processors.unshift(processor)
12
18
  end
@@ -1,5 +1,5 @@
1
1
  module Dao
2
2
  module Gateway
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dao-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - llxff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-07-29 00:00:00.000000000 Z
12
+ date: 2016-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler