rom-sql 3.6.2 → 3.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/rom/sql/projection_dsl.rb +2 -2
- data/lib/rom/sql/restriction_dsl.rb +1 -1
- data/lib/rom/sql/version.rb +1 -1
- 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: 10de6edf52d1ae5d345bc22f2c884ab9f35d39f52ed1b31afc227c39c97e2922
|
4
|
+
data.tar.gz: 865b5d0f4aabdd7fc5911ec269e43977257212517d9373574861c47fa79e1af8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1630dea45a0f30921a6298ea279d817e48d0bff6953639164304d4c308eb48a442b3ffe68dde0259e28ec0412a8b4ecea0c36bfc1c739d7ccbdaaa7dc49b2ac5
|
7
|
+
data.tar.gz: df51ba2b2674e601f7f44fb492e65bf753ed1cc258599eedd2a2f0fc8100f7dd694899cc461492e93f3c5d98cad2dfe4901e7754965f177e147c636b3d7d14d1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
2
2
|
|
3
|
+
## 3.6.3 2024-05-06
|
4
|
+
|
5
|
+
|
6
|
+
### Fixed
|
7
|
+
|
8
|
+
- Fix using `.filter` with a block for aggregate functions (@flash-gordon)
|
9
|
+
|
10
|
+
|
11
|
+
[Compare v3.6.2...v3.6.3](https://github.com/rom-rb/rom-sql/compare/v3.6.2...v3.6.3)
|
12
|
+
|
13
|
+
## 3.6.2 2024-01-09
|
14
|
+
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- Fix Hash.new warning in Ruby 3.3 (@flash-gordon)
|
19
|
+
|
20
|
+
|
21
|
+
[Compare v3.6.1...v3.6.2](https://github.com/rom-rb/rom-sql/compare/v3.6.1...v3.6.2)
|
22
|
+
|
3
23
|
## 3.6.1 2022-11-22
|
4
24
|
|
5
25
|
### Fixed
|
@@ -37,7 +37,7 @@ module ROM
|
|
37
37
|
#
|
38
38
|
# @api public
|
39
39
|
def function(name, *attrs)
|
40
|
-
::ROM::SQL::Function.new(::ROM::Types::Any
|
40
|
+
::ROM::SQL::Function.new(::ROM::Types::Any).meta(schema: schema).public_send(name, *attrs)
|
41
41
|
end
|
42
42
|
alias_method :f, :function
|
43
43
|
|
@@ -57,7 +57,7 @@ module ROM
|
|
57
57
|
|
58
58
|
if type
|
59
59
|
if args.empty?
|
60
|
-
::ROM::SQL::Function.new(type
|
60
|
+
::ROM::SQL::Function.new(type).meta(schema: schema)
|
61
61
|
else
|
62
62
|
::ROM::SQL::Attribute[type].value(args[0])
|
63
63
|
end
|
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: 3.6.
|
4
|
+
version: 3.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|