rom-core 5.2.4 → 5.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rom/core/version.rb +1 -1
- data/lib/rom/environment.rb +3 -0
- data/lib/rom/gateway.rb +4 -0
- 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: c50e8cda4257aeaf9bbc1877e2985b7834e1cb01f9c5260ef0abe66fa18cc82b
|
4
|
+
data.tar.gz: 9f0cb214c3dd9fa1f6aa8f372b0623fb64a18777e89c0b09dd0123e11ea9fc67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe6dd26d3504d2b6111f6c96f18b4ba9b9ceee0d3b579a8946a8fb5e5d849f44d3b61da3e4589d735c71862cef94728b1d164063ee7f7f927ebd89345854052
|
7
|
+
data.tar.gz: 77789d92ecfba7b384e9df9012aee12549d078d65595a52ec8aaab8530d923c47f80a04c48466d3396373381ed3ef5ad0664b503fde7ea884a78ae77df7d59ae
|
data/lib/rom/core/version.rb
CHANGED
data/lib/rom/environment.rb
CHANGED
@@ -49,6 +49,9 @@ module ROM
|
|
49
49
|
|
50
50
|
if identifier.is_a?(Gateway)
|
51
51
|
gateway = identifier
|
52
|
+
elsif RUBY_VERSION >= "3.0"
|
53
|
+
kwargs = args.last.is_a?(Hash) ? args.pop : {}
|
54
|
+
gateway = Gateway.setup(identifier, *args.flatten, **kwargs)
|
52
55
|
else
|
53
56
|
gateway = Gateway.setup(identifier, *args.flatten)
|
54
57
|
end
|
data/lib/rom/gateway.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.2.
|
4
|
+
version: 5.2.5
|
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: 2021-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|