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 +4 -4
- data/lib/dao/gateway/pipe.rb +6 -0
- data/lib/dao/gateway/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bb390099cd3605ba9cafc9164ac5ba29058883d
|
4
|
+
data.tar.gz: f166e2dd4fa2ea87f263b085c0545671cdaad1e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bacf9935f13269b10cb13119ed97793536d6d5c303a11430620cfa9d33c0c839fd5ddf2e6ba1e550c18ee4c735f3e4308f728dfe419d79d8fd3f76353e54f98
|
7
|
+
data.tar.gz: c14a0e69857f88b2882f4ca3a053aa6f9e38442fadfc241794111ac289d444cbcb831191cecc087702ed06bc6fdb43613cc6c333023574eada235b9a0f937eb1
|
data/lib/dao/gateway/pipe.rb
CHANGED
@@ -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
|
data/lib/dao/gateway/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2016-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|