blood_contracts-core 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blood_contracts/core/pipe.rb +2 -2
- data/lib/blood_contracts/core/sum.rb +1 -0
- data/lib/blood_contracts/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0eafc70e494dca609f476b8d8d910d34d7be58c1699bec33f139b1c6ba85b69
|
4
|
+
data.tar.gz: 6ef7c133021e3422c7e56a97e7e71e156cdb97cad8be67ce4da014013b302cf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd33b8390228963b54931953499796365b6056a289856f9e9a7d4a8a864f907a899c30af7d22f0feae141d01391409fc4c3f32917a8c12c5ba3ca27991b2da3e
|
7
|
+
data.tar.gz: dd16faf2a2b9d28a1bdcdce86e3203a28b856e8b739e91639be7bbde8f0beadf7745bb390c0740af210e4d2e156d86d74ada387511cd3ed077828f23fe384ac6
|
@@ -19,10 +19,10 @@ module BloodContracts
|
|
19
19
|
pipe
|
20
20
|
end
|
21
21
|
|
22
|
-
def and_then(other_type)
|
22
|
+
def and_then(other_type, **kwargs)
|
23
23
|
raise ArgumentError unless Class === other_type
|
24
24
|
pipe = Class.new(Pipe) { def inspect; super; end }
|
25
|
-
pipe.instance_variable_set(:@steps,
|
25
|
+
pipe.instance_variable_set(:@steps, [self, other_type])
|
26
26
|
pipe.instance_variable_set(:@names, kwargs[:names].to_a)
|
27
27
|
pipe.instance_variable_set(:@finalized, true)
|
28
28
|
pipe
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blood_contracts-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Dolganov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin/
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|