activerecord-cte 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ee8e61752f68bb7edd5f18be270ce354bf08f881ee779f023c022735625f82b
|
|
4
|
+
data.tar.gz: 7a4a6adc9e75bc155c8e0b1c17a2726271c8c719dc27016802731cb1156571ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf8bbe920da9765dc097a627b67b58039ff0c6a8de422d90a1dc98cd19d9c609b9f9f54fb1df34dbffa31f5c0541254d8dd023ca96d732772c690a9043893e4a
|
|
7
|
+
data.tar.gz: 0ecd47849d448e25af91feb1a5ea340977b1f479acfd428f1072c2d24b1c73991b259f6a31076faaed86921d5434989a7e59764fcd79d7ac6a8ddf49ac595213
|
|
@@ -8,7 +8,7 @@ jobs:
|
|
|
8
8
|
matrix:
|
|
9
9
|
active_record: [6.1.7.2, 6.0.6, 5.2.8.1]
|
|
10
10
|
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
|
11
|
-
ruby: [
|
|
11
|
+
ruby: ['3.0', 3.1, 3.2]
|
|
12
12
|
exclude:
|
|
13
13
|
- active_record: 5.2.8.1
|
|
14
14
|
ruby: '3.0'
|
data/Gemfile
CHANGED
|
@@ -99,7 +99,7 @@ module ActiveRecord
|
|
|
99
99
|
expression = case value
|
|
100
100
|
when String then Arel::Nodes::SqlLiteral.new("(#{value})")
|
|
101
101
|
when ActiveRecord::Relation then value.arel
|
|
102
|
-
when Arel::SelectManager, Arel::Nodes::Union then value
|
|
102
|
+
when Arel::SelectManager, Arel::Nodes::Union, Arel::Nodes::UnionAll then value
|
|
103
103
|
else
|
|
104
104
|
raise ArgumentError, "Unsupported argument type: #{value} #{value.class}"
|
|
105
105
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-cte
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vlado Cingel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
190
|
version: '0'
|
|
191
191
|
requirements: []
|
|
192
|
-
rubygems_version: 3.3.
|
|
192
|
+
rubygems_version: 3.3.7
|
|
193
193
|
signing_key:
|
|
194
194
|
specification_version: 4
|
|
195
195
|
summary: Brings Common Table Expressions support to ActiveRecord and makes it super
|