rom-sql 2.0.0.rc1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/rom/sql/type_extensions.rb +2 -1
- data/lib/rom/sql/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d9d062a6396ba9cf578abc3181d5d7aadfc2b9
|
4
|
+
data.tar.gz: 5940f64e388cd42a0dbe28a0f6d3517622154fcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22a3d5592b184cb7de84439a7312c0ed97cee07f85e02a876c0c0d6e97758c9f4da65e3ba070183aa2e06640fac4dcf3ea9fdcf5b3989199d37441bbdf04385f
|
7
|
+
data.tar.gz: d300f4387513f789f3840be6bd561657419ff572de6ceb1decf3a470207448acf36d3d039c2284658c8e11c1445bd0412c6a572e7788f8883d32cb574a868cdd
|
data/CHANGELOG.md
CHANGED
@@ -13,7 +13,8 @@ module ROM
|
|
13
13
|
#
|
14
14
|
# @api public
|
15
15
|
def [](wrapped)
|
16
|
-
type = wrapped.
|
16
|
+
type = wrapped.default? ? wrapped.type : wrapped
|
17
|
+
type = type.optional? ? type.right : type
|
17
18
|
@types[type.meta[:database]][type.meta[:db_type]] || EMPTY_HASH
|
18
19
|
end
|
19
20
|
|
data/lib/rom/sql/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.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: 2017-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -45,6 +45,9 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.12'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.12.1
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +55,9 @@ dependencies:
|
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '0.12'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.12.1
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: dry-core
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +78,14 @@ dependencies:
|
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.0
|
81
|
+
version: '4.0'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.0
|
88
|
+
version: '4.0'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: bundler
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,9 +231,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
231
|
version: 2.3.0
|
226
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
233
|
requirements:
|
228
|
-
- - "
|
234
|
+
- - ">="
|
229
235
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
236
|
+
version: '0'
|
231
237
|
requirements: []
|
232
238
|
rubyforge_project:
|
233
239
|
rubygems_version: 2.6.11
|