rom-changeset 1.0.2 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/rom-changeset.rb +2 -0
- data/lib/rom/changeset.rb +2 -0
- data/lib/rom/changeset/associated.rb +2 -0
- data/lib/rom/changeset/create.rb +2 -0
- data/lib/rom/changeset/delete.rb +2 -0
- data/lib/rom/changeset/pipe.rb +2 -0
- data/lib/rom/changeset/stateful.rb +3 -1
- data/lib/rom/changeset/update.rb +2 -0
- data/lib/rom/changeset/version.rb +3 -1
- data/lib/rom/plugins/relation/changeset.rb +2 -0
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe72ef1c399ec181c1d2cb69465f1d78c67dc745b8aa60851e37be47652e0088
|
4
|
+
data.tar.gz: f97f8b6785590f8cb8590d5dfb7fd7e5ff2cfb3124b27a7605b0374873158470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e6e76d028bbd85047f8abf49de103967745653ecfab99a7fd2614073868d5e59cb2e1cb1f8d30fb05705e5febed27fc292d074295aa1c00cd2cea7d6ed1d453
|
7
|
+
data.tar.gz: ceab6394cc2feba66a26de9b845fa1ce1b6c16646c002888dd29a2bd25e95254861d516e6a0c186fe4ec120dc395031ae1c50a0c1bcfc98cd2fb286ea12d94dc
|
data/README.md
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
[gem]: https://rubygems.org/gems/rom-changeset
|
2
|
-
[gemnasium]: https://gemnasium.com/rom-rb/rom-changeset
|
3
2
|
|
4
3
|
# rom-changeset
|
5
4
|
|
6
5
|
[![Gem Version](https://badge.fury.io/rb/rom-changeset.svg)][gem]
|
7
|
-
[![Dependency Status](https://gemnasium.com/rom-rb/rom-changeset.svg)][gemnasium]
|
8
6
|
|
9
7
|
Changesets for [rom-rb](https://github.com/rom-rb/rom) integrated with relations.
|
10
8
|
|
data/lib/rom-changeset.rb
CHANGED
data/lib/rom/changeset.rb
CHANGED
data/lib/rom/changeset/create.rb
CHANGED
data/lib/rom/changeset/delete.rb
CHANGED
data/lib/rom/changeset/pipe.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rom/changeset/pipe'
|
2
4
|
|
3
5
|
module ROM
|
@@ -216,7 +218,7 @@ module ROM
|
|
216
218
|
# new_task.associate(user, :users)
|
217
219
|
#
|
218
220
|
# @param [#to_hash, Changeset] other Other changeset or hash-like object
|
219
|
-
# @param [Symbol]
|
221
|
+
# @param [Symbol] name The association identifier from schema
|
220
222
|
#
|
221
223
|
# @api public
|
222
224
|
def associate(other, name = Associated.infer_assoc_name(other))
|
data/lib/rom/changeset/update.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:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '5.0'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '5.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: transproc
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,8 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
|
-
|
128
|
-
rubygems_version: 2.7.4
|
127
|
+
rubygems_version: 3.0.3
|
129
128
|
signing_key:
|
130
129
|
specification_version: 4
|
131
130
|
summary: Changeset abstraction for rom-rb
|