rom-changeset 5.2.1 → 5.3.0
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
- data/lib/rom/changeset.rb +1 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e1da660a6ec7a0f8668013df049f51b632c3611f6990948a393a282f8b0970
|
4
|
+
data.tar.gz: 8f4ff7902b50320eb1cbfe1bf4a8095ae6289ebb1fe62a3678112a60e3838514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8c8114f23b1bb24f04c963be84bca79fbcd686b37f462b3174d3e1c4f6bae6ea8a5d807ae6599e5dbbe6d9d40092cffc11d86f402af6fced6d4d21b0d80a496
|
7
|
+
data.tar.gz: 8bb8ef006df6205797fb436dcef8d5580fb3e9f78478bbfff189e98aaf71c9742541ecba7211152d387ae0627bac2be014107cdabef1b139ea1ea4e171dbd93e
|
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
|
data/lib/rom/changeset.rb
CHANGED
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.
|
4
|
+
version: 5.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rom-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
33
|
+
version: '5.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '5.
|
40
|
+
version: '5.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: transproc
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,7 +115,7 @@ metadata:
|
|
115
115
|
documentation_uri: https://api.rom-rb.org/rom/
|
116
116
|
mailing_list_uri: https://discourse.rom-rb.org/
|
117
117
|
bug_tracker_uri: https://github.com/rom-rb/rom/issues
|
118
|
-
post_install_message:
|
118
|
+
post_install_message:
|
119
119
|
rdoc_options: []
|
120
120
|
require_paths:
|
121
121
|
- lib
|
@@ -130,8 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
134
|
-
signing_key:
|
133
|
+
rubygems_version: 3.3.7
|
134
|
+
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Changeset abstraction for rom-rb
|
137
137
|
test_files: []
|