graphql-fragment_cache 1.20.1 → 1.20.2

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: 1290ae93c3ed819164a80214348eb8539ca1f502d66494c78b67a70442cc377f
4
- data.tar.gz: 90bab17ae895c6164ae77da598d7afa3073ca0e0cb6b6f21f848fc4038d71a89
3
+ metadata.gz: a8252cb743e4298ff655dac94a07a4f2adfaa2872bc030252a267bf937e207e5
4
+ data.tar.gz: 202261d17d990297574e85e9f8a39a9299b68029ea73ad82ad28a145cbaeb61a
5
5
  SHA512:
6
- metadata.gz: ae23bb92581ad0a5527516675ea08ad1668ea98dc6bf63e85411576f5e1321a5db679c0fe24111abdd1db8629577d67bfc5f2223f9cca69c7c94ca3f57cd779a
7
- data.tar.gz: 07b1772b1862c3a7905894321b17ddf8b3beec3520565e654530b185d269746f8f94c3fa397fa9707bf41afbcb51cc5d6332b81fd2f571d492aab1d05c66529b
6
+ metadata.gz: 9e9eefdd11bebc7dac2f9a25ee593785ee69096dfbc483525b9cd550c6f613853adf5caba73d56aa24dffad4815b1101e07559e9555b7699495909cf19ebd56e
7
+ data.tar.gz: 4329bf2d41694d5f8db515220c2bf10eedbce91d46f852014f49f708c5d0fb102ea89463c2c35b66df90628dc24b1b8b1791abe78f10adae5cb93a9174ca7002
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.20.2 (2024-06-01)
6
+
7
+ - [PR#115](https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache/pull/115) Fix deprecation warning for cache_format_version in Rails 7.1 ([@rince][])
8
+
5
9
  ## 1.20.1 (2024-04-03)
6
10
 
7
11
  - [PR#112](https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache/pull/112) fix tracer deprecation warnings ([@diegofigueroa][])
@@ -10,6 +10,11 @@ module GraphQL
10
10
  module Config
11
11
  class << self
12
12
  def store=(store)
13
+ if Rails.version.to_f >= 7.0 && Rails.application
14
+ cache_format_version = Rails.application.config.active_support.cache_format_version
15
+ ActiveSupport::Cache.format_version = cache_format_version if cache_format_version
16
+ end
17
+
13
18
  # Handle both:
14
19
  # store = :memory
15
20
  # store = :mem_cache, ENV['MEMCACHE']
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module FragmentCache
5
- VERSION = "1.20.1"
5
+ VERSION = "1.20.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-fragment_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.1
4
+ version: 1.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - DmitryTsepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-03 00:00:00.000000000 Z
11
+ date: 2024-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement