graphiql-rails 1.10.4 → 1.10.5

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: 3bdac6141d22ec5ad861fd70b14815b981468fea84c640c0aeea3598b0bc5d0b
4
- data.tar.gz: 0ade13724d5c173ea79f11b940fefd900e6f1ef3fd0f5827b9d74555c81906ed
3
+ metadata.gz: a9cbeb0411bd6bf41947bbe77fc27627e2148103b06800cd01ae9ecb21fb59a5
4
+ data.tar.gz: 5c801068c506bd332fe1ad32be63531acaa97b2686f4c51849d196fd6ed4e3da
5
5
  SHA512:
6
- metadata.gz: acb91583336f8c935cf4e4fd7d7cefda9d4c4a486173379da35b4f24636d3147610ffb4ef5c19daef1ac2f56e15b2f5ed5611fe67f66af19d56f23d975df69b5
7
- data.tar.gz: bbf3e671ad2a161320800a7953055d27c88955bb505a814b90013732c2079ecad05daed2ccabcf801d6dd15d51a8ce1c9332c8ac2e3c720b364095a88d900cf2
6
+ metadata.gz: b368b0ac9e774f345953e707080b58c673a0bc7564e4514fbe18d6e212f1ad05df3b4ce6006b1d6da1a9e33bd97722a998086a78c4472f1970f0fed37eff34ce
7
+ data.tar.gz: deca3aa1f3db8cd67babdbfcf3c541c1c319c13096aeddac6748639ba8c0c377adb55ac579ba8984551c5e8aa8c2131d32671d3e6b9d45b2f2ba9802d7296e13
@@ -7,11 +7,9 @@ module GraphiQL
7
7
  initializer 'graphiql.assets.precompile' do |app|
8
8
  app.config.assets.precompile += ["graphiql/rails/application.css"]
9
9
  end
10
- end
11
-
12
- if !defined?(Sprockets) && !defined?(Propshaft)
10
+ elsif !defined?(Propshaft)
13
11
  initializer 'graphiql.assets.public' do |app|
14
- app.middleware.insert_after(ActionDispatch::Static, ActionDispatch::Static, "#{root}/public")
12
+ app.middleware.use(ActionDispatch::Static, "#{root}/public")
15
13
  end
16
14
  end
17
15
  end
@@ -1,5 +1,5 @@
1
1
  module GraphiQL
2
2
  module Rails
3
- VERSION = "1.10.4"
3
+ VERSION = "1.10.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiql-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.4
4
+ version: 1.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-27 00:00:00.000000000 Z
11
+ date: 2025-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties