rom-changeset 5.2.1 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rom/changeset/pipe.rb +4 -1
- data/lib/rom/changeset/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76b476d3e624f7dd04b162bb9fc8f49d03a4506d0942466ab1d34eb0c53a12f8
|
4
|
+
data.tar.gz: e51e6adace674ca035be7fda252186ee4142b0f776d9fb3ca14e02b00eda3a72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5fde908143d378437792a077c32f5eb933861b67af41a488ea1f8d03ed00807a7fe5a6dc299e8c0dc0f0eb2c58ae09c00ecfeef54647b851991a1834a988fe8
|
7
|
+
data.tar.gz: 6e7a54c8c28b09021dee47986375fce1f83839ae5788101e385e1c593b0956aaac0b4ce480e5dc6cc198d8cabde133009395ee963adc735a8c33cb6de7910be8
|
data/lib/rom/changeset/pipe.rb
CHANGED
@@ -43,7 +43,10 @@ module ROM
|
|
43
43
|
|
44
44
|
def bind(context)
|
45
45
|
if processor.is_a?(Proc)
|
46
|
-
|
46
|
+
bound_processor = self[-> *args { context.instance_exec(*args, &processor) }]
|
47
|
+
bound_diff_processor = self[-> *args { context.instance_exec(*args, &diff_processor) }]
|
48
|
+
|
49
|
+
new(bound_processor, diff_processor: bound_diff_processor)
|
47
50
|
else
|
48
51
|
self
|
49
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-changeset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-core
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.1.
|
133
|
+
rubygems_version: 3.1.2
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Changeset abstraction for rom-rb
|