graphiti 1.7.3 → 1.7.5

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: c7874f65f873c3cf6217899d42cedad8cf3fc69645195ed4c3899e289b354a17
4
- data.tar.gz: 622ad37d76ce90489a1d4f241a594bb00b57bf918070e7af6884a0ac6e92c879
3
+ metadata.gz: 526bde7653f2c482b92ee75c5a7afee5823f675024b9c6925e86aa04924e27d3
4
+ data.tar.gz: e7441df1db552bf0b30ee3d85a16fa644f4d770cff40bf199e9338c003ce810b
5
5
  SHA512:
6
- metadata.gz: 8ea3416f5e0294bf72513b2452b499ab8010619a0cc3bc9a1fee7c69efc2dcd2f71bb22d5a7c9f624d993fa1f957fbf0ea90e5abcdd033e4deacb3d0199f4987
7
- data.tar.gz: b01d4ff3035bd62cf77e41f4550a6060a9731f2a4ce19b57071e5cbbfffd1aa093e4504c9ee9f7834e93c835c184f365e8f8fcf1b7e33f688df23de2159de27d
6
+ metadata.gz: 1cccf050029f667eb96d0c76e379df5ecaddec574eede0708b3847cdb821b35fd1b527a8ffc5759d72f9d9a0f739d1d756cc4ea114dad1606621f6de13a814e3
7
+ data.tar.gz: 2f80a0ce18045b984ec722a395f79028ae1da6d2fbd7923424d5371bf177990c3692fa7c835d5ad27ecfe56b9d0da0a215c7ae3aff82cf47fc9822fb9e88a6c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  graphiti changelog
2
2
 
3
+ ## [1.7.5](https://github.com/graphiti-api/graphiti/compare/v1.7.4...v1.7.5) (2024-09-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fixes error in version check for ActiveRecord adapter introduced in [#478](https://github.com/graphiti-api/graphiti/issues/478) ([#479](https://github.com/graphiti-api/graphiti/issues/479)) ([42c82c3](https://github.com/graphiti-api/graphiti/commit/42c82c397f20eb91c02835e518ff4c351c028ea7))
9
+
10
+ ## [1.7.4](https://github.com/graphiti-api/graphiti/compare/v1.7.3...v1.7.4) (2024-09-11)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * update ActiveRecord adapter w/ support for Rails 7.2+ ([#478](https://github.com/graphiti-api/graphiti/issues/478)) ([8313e33](https://github.com/graphiti-api/graphiti/commit/8313e3359f0dde28d9940867c7ded964db4c854d))
16
+
3
17
  ## [1.7.3](https://github.com/graphiti-api/graphiti/compare/v1.7.2...v1.7.3) (2024-06-26)
4
18
 
5
19
 
@@ -304,7 +304,11 @@ module Graphiti
304
304
  end
305
305
 
306
306
  def close
307
- ::ActiveRecord::Base.clear_active_connections!
307
+ if ::ActiveRecord.version > "7.2"
308
+ ::ActiveRecord::Base.connection_handler.clear_active_connections!
309
+ else
310
+ ::ActiveRecord::Base.clear_active_connections!
311
+ end
308
312
  end
309
313
 
310
314
  def can_group?
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.7.3"
2
+ VERSION = "1.7.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-26 00:00:00.000000000 Z
11
+ date: 2024-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable