rack-graphql 2.7.1 → 2.7.2
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 +4 -4
- data/.bundler-version +1 -1
- data/.github/workflows/auto-approve.yml +1 -1
- data/.github/workflows/ci.yml +1 -1
- data/Gemfile.lock +14 -13
- data/lib/rack_graphql/middleware.rb +5 -1
- data/lib/rack_graphql/version.rb +1 -1
- data/rack-graphql.gemspec +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad85b5153fed695fa5a81a301fe3333490bdb8ab4064ea5068d51d1915007267
|
|
4
|
+
data.tar.gz: c8b8ba9d4e0e23d3c629bf7d6414e6c7208750b75ae9ac2056f669f46afacfdd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6facfa29cc5605ec94a876b1c2085a1c9c701e851e38d1d4a99fcf7e621814471763e82b1793d4670c7c4d7b05e2559b8a846a211054a6323804111f7b63dd24
|
|
7
|
+
data.tar.gz: 3e4a84e3752823947acf281d02544bdff29878e580f3441f7f391e65f578bdc92cc2b146535301163fdb2862f5b6a1cb169258041e3ad189c261adfa4b22d141
|
data/.bundler-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.3.5
|
|
@@ -10,7 +10,7 @@ jobs:
|
|
|
10
10
|
auto-approve:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: hmarr/auto-approve-action@v2
|
|
13
|
+
- uses: hmarr/auto-approve-action@v2
|
|
14
14
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
|
|
15
15
|
with:
|
|
16
16
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
data/.github/workflows/ci.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rack-graphql (2.7.
|
|
4
|
+
rack-graphql (2.7.2)
|
|
5
5
|
graphql (~> 1.12)
|
|
6
6
|
oj
|
|
7
7
|
rack (~> 2.2)
|
|
@@ -12,12 +12,12 @@ GEM
|
|
|
12
12
|
ast (2.4.2)
|
|
13
13
|
awesome_print (1.9.2)
|
|
14
14
|
coderay (1.1.3)
|
|
15
|
-
diff-lcs (1.
|
|
16
|
-
graphql (1.
|
|
15
|
+
diff-lcs (1.5.0)
|
|
16
|
+
graphql (1.13.4)
|
|
17
17
|
method_source (1.0.0)
|
|
18
|
-
oj (3.13.
|
|
18
|
+
oj (3.13.11)
|
|
19
19
|
parallel (1.21.0)
|
|
20
|
-
parser (3.0.
|
|
20
|
+
parser (3.1.0.0)
|
|
21
21
|
ast (~> 2.4.1)
|
|
22
22
|
pry (0.14.1)
|
|
23
23
|
coderay (~> 1.1)
|
|
@@ -25,9 +25,9 @@ GEM
|
|
|
25
25
|
rack (2.2.3)
|
|
26
26
|
rack-test (1.1.0)
|
|
27
27
|
rack (>= 1.0, < 3)
|
|
28
|
-
rainbow (3.
|
|
28
|
+
rainbow (3.1.1)
|
|
29
29
|
rake (13.0.6)
|
|
30
|
-
regexp_parser (2.
|
|
30
|
+
regexp_parser (2.2.0)
|
|
31
31
|
rexml (3.2.5)
|
|
32
32
|
rspec (3.10.0)
|
|
33
33
|
rspec-core (~> 3.10.0)
|
|
@@ -41,21 +41,21 @@ GEM
|
|
|
41
41
|
rspec-mocks (3.10.2)
|
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
43
|
rspec-support (~> 3.10.0)
|
|
44
|
-
rspec-support (3.10.
|
|
45
|
-
rubocop (1.
|
|
44
|
+
rspec-support (3.10.3)
|
|
45
|
+
rubocop (1.24.1)
|
|
46
46
|
parallel (~> 1.10)
|
|
47
47
|
parser (>= 3.0.0.0)
|
|
48
48
|
rainbow (>= 2.2.2, < 4.0)
|
|
49
49
|
regexp_parser (>= 1.8, < 3.0)
|
|
50
50
|
rexml
|
|
51
|
-
rubocop-ast (>= 1.
|
|
51
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
|
52
52
|
ruby-progressbar (~> 1.7)
|
|
53
53
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
54
|
-
rubocop-ast (1.
|
|
54
|
+
rubocop-ast (1.15.1)
|
|
55
55
|
parser (>= 3.0.1.1)
|
|
56
56
|
rubocop-rake (0.6.0)
|
|
57
57
|
rubocop (~> 1.0)
|
|
58
|
-
rubocop-rspec (2.
|
|
58
|
+
rubocop-rspec (2.7.0)
|
|
59
59
|
rubocop (~> 1.19)
|
|
60
60
|
ruby-progressbar (1.11.0)
|
|
61
61
|
unicode-display_width (2.1.0)
|
|
@@ -65,6 +65,7 @@ PLATFORMS
|
|
|
65
65
|
x86_64-darwin-18
|
|
66
66
|
x86_64-darwin-19
|
|
67
67
|
x86_64-darwin-20
|
|
68
|
+
x86_64-darwin-21
|
|
68
69
|
x86_64-linux
|
|
69
70
|
|
|
70
71
|
DEPENDENCIES
|
|
@@ -80,4 +81,4 @@ DEPENDENCIES
|
|
|
80
81
|
rubocop-rspec
|
|
81
82
|
|
|
82
83
|
BUNDLED WITH
|
|
83
|
-
2.
|
|
84
|
+
2.3.5
|
|
@@ -70,7 +70,10 @@ module RackGraphql
|
|
|
70
70
|
[Oj.dump('errors' => [exception_hash(e)])]
|
|
71
71
|
]
|
|
72
72
|
ensure
|
|
73
|
-
|
|
73
|
+
if defined?(ActiveRecord::Base)
|
|
74
|
+
ActiveRecord::Base.clear_active_connections!
|
|
75
|
+
ActiveRecord::Base.flush_idle_connections!
|
|
76
|
+
end
|
|
74
77
|
end
|
|
75
78
|
|
|
76
79
|
private
|
|
@@ -178,6 +181,7 @@ module RackGraphql
|
|
|
178
181
|
|
|
179
182
|
def log(message)
|
|
180
183
|
return unless logger
|
|
184
|
+
|
|
181
185
|
logger.debug("[rack-graphql] #{message}")
|
|
182
186
|
end
|
|
183
187
|
|
data/lib/rack_graphql/version.rb
CHANGED
data/rack-graphql.gemspec
CHANGED
|
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/rack-graphql'
|
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/rack-graphql'
|
|
17
17
|
spec.metadata['changelog_uri'] = 'https://github.com/RenoFi/rack-graphql/blob/master/CHANGELOG.md'
|
|
18
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
18
19
|
|
|
19
20
|
spec.files = Dir.chdir(__dir__) do
|
|
20
21
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-graphql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: graphql
|
|
@@ -219,6 +219,7 @@ metadata:
|
|
|
219
219
|
homepage_uri: https://github.com/RenoFi/rack-graphql
|
|
220
220
|
source_code_uri: https://github.com/RenoFi/rack-graphql
|
|
221
221
|
changelog_uri: https://github.com/RenoFi/rack-graphql/blob/master/CHANGELOG.md
|
|
222
|
+
rubygems_mfa_required: 'true'
|
|
222
223
|
post_install_message:
|
|
223
224
|
rdoc_options: []
|
|
224
225
|
require_paths:
|
|
@@ -234,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
234
235
|
- !ruby/object:Gem::Version
|
|
235
236
|
version: '0'
|
|
236
237
|
requirements: []
|
|
237
|
-
rubygems_version: 3.2.
|
|
238
|
+
rubygems_version: 3.2.32
|
|
238
239
|
signing_key:
|
|
239
240
|
specification_version: 4
|
|
240
241
|
summary: Rack middleware implementing graphql endpoint.
|