graphiti 1.7.3 → 1.7.4

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: c7874f65f873c3cf6217899d42cedad8cf3fc69645195ed4c3899e289b354a17
4
- data.tar.gz: 622ad37d76ce90489a1d4f241a594bb00b57bf918070e7af6884a0ac6e92c879
3
+ metadata.gz: 68314adc7bafc6f84acb650170ba49eea754a49c2ff1e29d25945cbba2f04a69
4
+ data.tar.gz: fce6c8da1d5acf3ad9951162f5332b2f6faa2a700a3adc2597dc26dad4409211
5
5
  SHA512:
6
- metadata.gz: 8ea3416f5e0294bf72513b2452b499ab8010619a0cc3bc9a1fee7c69efc2dcd2f71bb22d5a7c9f624d993fa1f957fbf0ea90e5abcdd033e4deacb3d0199f4987
7
- data.tar.gz: b01d4ff3035bd62cf77e41f4550a6060a9731f2a4ce19b57071e5cbbfffd1aa093e4504c9ee9f7834e93c835c184f365e8f8fcf1b7e33f688df23de2159de27d
6
+ metadata.gz: 9143fc1034e909a0b134b45b3e07209ff5c56b529e3092d4bb05ec5e2568f3bdd4206bca4a4d01fd6fbf38fa20cf729200de92a22079f6242ddc84775bd4e8a3
7
+ data.tar.gz: 822a99012280b13b0a74b5a3f4ce64247dde277a7fe97e20690a606bfabd66034af9a574807cda965fbed13373103b5f876cc02cfd86c6702fc07309a44ef0a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  graphiti changelog
2
2
 
3
+ ## [1.7.4](https://github.com/graphiti-api/graphiti/compare/v1.7.3...v1.7.4) (2024-09-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * 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))
9
+
3
10
  ## [1.7.3](https://github.com/graphiti-api/graphiti/compare/v1.7.2...v1.7.3) (2024-06-26)
4
11
 
5
12
 
@@ -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.4"
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.4
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable