activerecord-cte 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fec64d2dc3623acd9cfb623957035c94ce160ac7f1f5bc8df2777d37e8e496b6
4
- data.tar.gz: 12d66f36eb856b43a5e23568234884b81db258a67bbed86417e2f28d90449dce
3
+ metadata.gz: 7ee8e61752f68bb7edd5f18be270ce354bf08f881ee779f023c022735625f82b
4
+ data.tar.gz: 7a4a6adc9e75bc155c8e0b1c17a2726271c8c719dc27016802731cb1156571ab
5
5
  SHA512:
6
- metadata.gz: 28a0be826ae1b0914f8fa4b9e7dd7d9f0221b67b453abfa9f680f943453f12a9436d756378059aade81e4341e352598309dc799441e063d8215c846a00df6ec0
7
- data.tar.gz: 78839e99683a7ee08bae702361010986678e1f8a8eaa95e2508edf75188d359a6b3d3295630e4d2a7fb367214dc15d17df69c14a1b8d0d3970f2a5d3a35d49e7
6
+ metadata.gz: bf8bbe920da9765dc097a627b67b58039ff0c6a8de422d90a1dc98cd19d9c609b9f9f54fb1df34dbffa31f5c0541254d8dd023ca96d732772c690a9043893e4a
7
+ data.tar.gz: 0ecd47849d448e25af91feb1a5ea340977b1f479acfd428f1072c2d24b1c73991b259f6a31076faaed86921d5434989a7e59764fcd79d7ac6a8ddf49ac595213
@@ -7,7 +7,7 @@ jobs:
7
7
  fail-fast: false
8
8
  matrix:
9
9
  active_record: [6.1.7.2, 6.0.6, 5.2.8.1]
10
- ruby: [2.6, 2.7, '3.0', 3.1, 3.2]
10
+ ruby: ['3.0', 3.1, 3.2]
11
11
  exclude:
12
12
  - active_record: 5.2.8.1
13
13
  ruby: '3.0'
@@ -8,7 +8,7 @@ jobs:
8
8
  fail-fast: false
9
9
  matrix:
10
10
  active_record: [6.1.7.2, 6.0.6, 5.2.8.1]
11
- ruby: [2.6, 2.7, '3.0', 3.1, 3.2]
11
+ ruby: ['3.0', 3.1, 3.2]
12
12
  exclude:
13
13
  - active_record: 5.2.8.1
14
14
  ruby: '3.0'
@@ -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: [2.6, 2.7, '3.0', 3.1, 3.2]
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
@@ -12,4 +12,4 @@ gem "activerecord", ACTIVE_RECORD_VERSION
12
12
  gem "mysql2" if ENV["INSTALL_MYSQL_GEM"]
13
13
  gem "pg" if ENV["INSTALL_PG_GEM"]
14
14
 
15
- gem "sqlite3", "1.4.2"
15
+ gem "sqlite3", "1.7.3"
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Activerecord
4
4
  module Cte
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  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.3.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: 2023-02-05 00:00:00.000000000 Z
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.11
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