groupdate 5.2.3 → 5.2.4

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: 733ede5e2375b5b97d951b5ef313d8cd09843250f5c64bb6f611945b951f9156
4
- data.tar.gz: e753145a244b5f7dc3ac58127edc301ea656eca3cadd702112b1fe54f798c6d5
3
+ metadata.gz: 2b6c83f192d439e35025586a076762413d80daab15b85e81561404bdf078acad
4
+ data.tar.gz: 382dd612bbd1db8e131345981576b7a6c61c525d8a991fb8a3fc60678ce8d6ef
5
5
  SHA512:
6
- metadata.gz: e182d88f6d17a55465590c1096c942ca62d79107ce244509cb9350dd6587ac3ec5ff99d65a06c45c31416232d34c20764094ef895b3f28be3657959ef0791ef1
7
- data.tar.gz: '095c5500b970a6654b7f21dcdbaec7ee3a80146ce15de4c5e124ac2f9a6afb31dd2e155ec8f90db629658de3ff1ebc416fc8620c4e8dd2464ff2d3b175548e09'
6
+ metadata.gz: 2d33022921907669f28eed522daec36e84552aabd41a411ff556923c0029cc72a003d30cd9cbeecba27e3d795fc279f71ca05a01cbc8c5cf6a0bd7256a478f72
7
+ data.tar.gz: 87c778a1972590cc6609a3c5a096fef6dde88c70ab663b5ebac820de89ec356359f802ea1d8ba38280378e877caabb1974e1d6a81c689eef92e6d7accf2f356a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 5.2.4 (2021-12-15)
2
+
3
+ - Simplified queries for Active Record 7 and MySQL
4
+
1
5
  ## 5.2.3 (2021-12-06)
2
6
 
3
7
  - Fixed error and warnings with Active Record 7
@@ -49,7 +49,8 @@ module Groupdate
49
49
  end
50
50
 
51
51
  def clean_group_clause(clause)
52
- clause.gsub(/ (\-|\+) INTERVAL 0 second/, "")
52
+ # zero quoted in Active Record 7+
53
+ clause.gsub(/ (\-|\+) INTERVAL 0 second/, "").gsub(/ (\-|\+) INTERVAL '0' second/, "")
53
54
  end
54
55
  end
55
56
  end
@@ -1,3 +1,3 @@
1
1
  module Groupdate
2
- VERSION = "5.2.3"
2
+ VERSION = "5.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdate
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.3
4
+ version: 5.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-07 00:00:00.000000000 Z
11
+ date: 2021-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport