rom-core 5.2.6 → 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/associations/abstract.rb +0 -4
- data/lib/rom/associations/definitions/abstract.rb +0 -2
- data/lib/rom/attribute.rb +0 -2
- data/lib/rom/command.rb +0 -2
- data/lib/rom/commands/class_interface.rb +0 -1
- data/lib/rom/configuration_dsl/command.rb +0 -1
- data/lib/rom/configuration_dsl/relation.rb +0 -1
- data/lib/rom/constants.rb +0 -2
- data/lib/rom/container.rb +1 -3
- data/lib/rom/core/version.rb +1 -1
- data/lib/rom/core.rb +4 -2
- data/lib/rom/gateway.rb +0 -2
- data/lib/rom/header/attribute.rb +0 -2
- data/lib/rom/mapper/builder.rb +0 -2
- data/lib/rom/mapper/dsl.rb +0 -1
- data/lib/rom/mapper_compiler.rb +0 -2
- data/lib/rom/plugins/relation/instrumentation.rb +0 -2
- data/lib/rom/plugins.rb +1 -2
- data/lib/rom/processor/transproc.rb +1 -0
- data/lib/rom/registry.rb +0 -4
- data/lib/rom/relation/curried.rb +0 -2
- data/lib/rom/relation/graph.rb +0 -2
- data/lib/rom/relation/loaded.rb +0 -2
- data/lib/rom/relation/name.rb +0 -1
- data/lib/rom/relation.rb +0 -2
- data/lib/rom/schema/dsl.rb +0 -2
- data/lib/rom/schema/inferrer.rb +0 -2
- data/lib/rom/schema.rb +0 -2
- data/lib/rom/struct.rb +0 -2
- data/lib/rom/struct_compiler.rb +0 -2
- data/lib/rom/support/inflector.rb +0 -2
- data/lib/rom/support/notifications.rb +0 -2
- data/lib/rom/transformer.rb +0 -1
- metadata +14 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c200c97137f8cb018022b3bcbe99f6c62fd6d887f413909da14e30240e78ec4
|
4
|
+
data.tar.gz: 5f7222a11da2727d80f93c8faab0ea5e7dfe9bc80c038c45081726b1bd42b1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd48ff4558ae085531c716d39a4834834f583f9f2ea2ca6cf7d1eec56604c37139f0697f8c5a416695b323721be23d49cc997fbb26835dc15669315040b7172
|
7
|
+
data.tar.gz: 7df7d77c12c7f349c3d3095a6df27c05e5c44a63a497b38e01af072557c40a6c17b6ac407f434c40699bee8312d48c1134d74afa34767f9b86e1baf3b0152e4d
|
data/lib/rom/attribute.rb
CHANGED
data/lib/rom/command.rb
CHANGED
data/lib/rom/constants.rb
CHANGED
data/lib/rom/container.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'dry/container'
|
4
|
-
|
5
3
|
require 'rom/cache'
|
6
4
|
|
7
5
|
module ROM
|
@@ -99,7 +97,7 @@ module ROM
|
|
99
97
|
#
|
100
98
|
# @api public
|
101
99
|
class Container
|
102
|
-
include Dry::Container::Mixin
|
100
|
+
include Dry::Core::Container::Mixin
|
103
101
|
include Dry::Equalizer(:gateways, :relations, :mappers, :commands)
|
104
102
|
|
105
103
|
# @api private
|
data/lib/rom/core/version.rb
CHANGED
data/lib/rom/core.rb
CHANGED
data/lib/rom/gateway.rb
CHANGED
data/lib/rom/header/attribute.rb
CHANGED
data/lib/rom/mapper/builder.rb
CHANGED
data/lib/rom/mapper/dsl.rb
CHANGED
data/lib/rom/mapper_compiler.rb
CHANGED
data/lib/rom/plugins.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'dry/container'
|
4
3
|
require 'rom/plugin'
|
5
4
|
|
6
5
|
module ROM
|
@@ -8,7 +7,7 @@ module ROM
|
|
8
7
|
#
|
9
8
|
# @api private
|
10
9
|
module Plugins
|
11
|
-
extend ::Dry::Container::Mixin
|
10
|
+
extend ::Dry::Core::Container::Mixin
|
12
11
|
|
13
12
|
class << self
|
14
13
|
# @api private
|
@@ -24,6 +24,7 @@ module ROM
|
|
24
24
|
import ::Transproc::HashTransformations
|
25
25
|
import ::Transproc::ClassTransformations
|
26
26
|
import ::Transproc::ProcTransformations
|
27
|
+
import ::Transproc::Conditional
|
27
28
|
|
28
29
|
INVALID_INJECT_UNION_VALUE = '%s attribute: block is required for :from with union value.'
|
29
30
|
|
data/lib/rom/registry.rb
CHANGED
data/lib/rom/relation/curried.rb
CHANGED
data/lib/rom/relation/graph.rb
CHANGED
data/lib/rom/relation/loaded.rb
CHANGED
data/lib/rom/relation/name.rb
CHANGED
data/lib/rom/relation.rb
CHANGED
data/lib/rom/schema/dsl.rb
CHANGED
data/lib/rom/schema/inferrer.rb
CHANGED
data/lib/rom/schema.rb
CHANGED
data/lib/rom/struct.rb
CHANGED
data/lib/rom/struct_compiler.rb
CHANGED
data/lib/rom/transformer.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-core
|
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
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: concurrent-ruby
|
@@ -30,70 +30,56 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.4'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: dry-inflector
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.1'
|
33
|
+
version: '1.0'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
40
|
+
version: '1.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: dry-
|
42
|
+
name: dry-configurable
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
47
|
+
version: '1.0'
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
54
|
+
version: '1.0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: dry-
|
56
|
+
name: dry-inflector
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0
|
61
|
+
version: '1.0'
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0
|
68
|
+
version: '1.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: dry-types
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
75
|
+
version: '1.6'
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
82
|
+
version: '1.6'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: dry-struct
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,14 +321,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
335
321
|
requirements:
|
336
322
|
- - ">="
|
337
323
|
- !ruby/object:Gem::Version
|
338
|
-
version: 2.
|
324
|
+
version: 2.7.0
|
339
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
340
326
|
requirements:
|
341
327
|
- - ">="
|
342
328
|
- !ruby/object:Gem::Version
|
343
329
|
version: '0'
|
344
330
|
requirements: []
|
345
|
-
rubygems_version: 3.
|
331
|
+
rubygems_version: 3.3.7
|
346
332
|
signing_key:
|
347
333
|
specification_version: 4
|
348
334
|
summary: Ruby Object Mapper
|