rack-graphql 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/.github/workflows/auto-approve.yml +8 -9
- data/.github/workflows/auto-merge-dependencies.yml +1 -1
- data/.github/workflows/auto-merge.yml +1 -1
- data/.github/workflows/ci.yml +1 -1
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +31 -22
- data/lib/rack_graphql/middleware.rb +1 -1
- data/lib/rack_graphql/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbd8bcb86ff3053a40fe947884915fa4afbb2c2034674f8cf3fa9a726f49b6b9
|
4
|
+
data.tar.gz: 2103f0c250f94a2dcaafa333e8ed95a29db4015c1f259bf326bf6c428800cc65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3645d5ec644bb218cde1b68130398807b3890a58ef8be6cab91d11b9b2091a0e88f325b0fa0d997b5d48b0a0227341e16a339936963a0eddb3fbe8801828fc7
|
7
|
+
data.tar.gz: 71d5a9646ca41cadfb360350d2176e4d9fa09cd3cd5ebd8b63653a98ff8401fc0a675079838d95d67a6b2c49afd167423cbb5aef0748412b1c5f0be1f4416313
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.20
|
@@ -1,14 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
on: pull_request_target
|
1
|
+
name: Auto approve dependency upgrades and hot-fix PRs
|
2
|
+
on:
|
3
|
+
pull_request_target:
|
4
|
+
types: [labeled, unlabeled, edited, ready_for_review, review_requested, auto_merge_enabled]
|
6
5
|
|
7
6
|
jobs:
|
8
7
|
auto-approve:
|
9
8
|
runs-on: ubuntu-latest
|
10
9
|
steps:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
- uses: hmarr/auto-approve-action@v3
|
11
|
+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(toJson(github), 'HOTFIX-AUTO-APPROVE')
|
12
|
+
with:
|
13
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
## 3.1.
|
3
|
+
## 3.1.3 - 2023-10-10
|
4
|
+
|
5
|
+
- use `ActiveRecord::Base.connection_handler.clear_active_connections!` instead of ActiveRecord::Base.clear_active_connections!`, which is deprecated
|
6
|
+
|
7
|
+
## 3.1.1 - 2023-01-17
|
4
8
|
|
5
9
|
- Add X-Http-Status-Code to every response, so clients can recognize graphql errors w/o parsing gql response.
|
6
10
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rack-graphql (3.1.
|
4
|
+
rack-graphql (3.1.3)
|
5
5
|
graphql (~> 2.0)
|
6
6
|
oj
|
7
7
|
rack (>= 2.2.6)
|
@@ -11,59 +11,68 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
ast (2.4.2)
|
13
13
|
awesome_print (1.9.2)
|
14
|
+
base64 (0.1.1)
|
14
15
|
coderay (1.1.3)
|
15
16
|
diff-lcs (1.5.0)
|
16
|
-
graphql (2.
|
17
|
+
graphql (2.1.1)
|
17
18
|
json (2.6.3)
|
19
|
+
language_server-protocol (3.17.0.3)
|
18
20
|
method_source (1.0.0)
|
19
|
-
oj (3.
|
20
|
-
parallel (1.
|
21
|
-
parser (3.2.
|
21
|
+
oj (3.16.1)
|
22
|
+
parallel (1.23.0)
|
23
|
+
parser (3.2.2.4)
|
22
24
|
ast (~> 2.4.1)
|
25
|
+
racc
|
23
26
|
pry (0.14.2)
|
24
27
|
coderay (~> 1.1)
|
25
28
|
method_source (~> 1.0)
|
26
|
-
|
27
|
-
rack
|
29
|
+
racc (1.7.1)
|
30
|
+
rack (3.0.8)
|
31
|
+
rack-test (2.1.0)
|
28
32
|
rack (>= 1.3)
|
29
33
|
rainbow (3.1.1)
|
30
34
|
rake (13.0.6)
|
31
|
-
regexp_parser (2.
|
32
|
-
rexml (3.2.
|
35
|
+
regexp_parser (2.8.1)
|
36
|
+
rexml (3.2.6)
|
33
37
|
rspec (3.12.0)
|
34
38
|
rspec-core (~> 3.12.0)
|
35
39
|
rspec-expectations (~> 3.12.0)
|
36
40
|
rspec-mocks (~> 3.12.0)
|
37
|
-
rspec-core (3.12.
|
41
|
+
rspec-core (3.12.2)
|
38
42
|
rspec-support (~> 3.12.0)
|
39
|
-
rspec-expectations (3.12.
|
43
|
+
rspec-expectations (3.12.3)
|
40
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
45
|
rspec-support (~> 3.12.0)
|
42
|
-
rspec-mocks (3.12.
|
46
|
+
rspec-mocks (3.12.6)
|
43
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
48
|
rspec-support (~> 3.12.0)
|
45
|
-
rspec-support (3.12.
|
46
|
-
rubocop (1.
|
49
|
+
rspec-support (3.12.1)
|
50
|
+
rubocop (1.56.4)
|
51
|
+
base64 (~> 0.1.1)
|
47
52
|
json (~> 2.3)
|
53
|
+
language_server-protocol (>= 3.17.0)
|
48
54
|
parallel (~> 1.10)
|
49
|
-
parser (>= 3.2.
|
55
|
+
parser (>= 3.2.2.3)
|
50
56
|
rainbow (>= 2.2.2, < 4.0)
|
51
57
|
regexp_parser (>= 1.8, < 3.0)
|
52
58
|
rexml (>= 3.2.5, < 4.0)
|
53
|
-
rubocop-ast (>= 1.
|
59
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
54
60
|
ruby-progressbar (~> 1.7)
|
55
61
|
unicode-display_width (>= 2.4.0, < 3.0)
|
56
|
-
rubocop-ast (1.
|
62
|
+
rubocop-ast (1.29.0)
|
57
63
|
parser (>= 3.2.1.0)
|
58
|
-
rubocop-capybara (2.
|
64
|
+
rubocop-capybara (2.19.0)
|
59
65
|
rubocop (~> 1.41)
|
66
|
+
rubocop-factory_bot (2.24.0)
|
67
|
+
rubocop (~> 1.33)
|
60
68
|
rubocop-rake (0.6.0)
|
61
69
|
rubocop (~> 1.0)
|
62
|
-
rubocop-rspec (2.
|
70
|
+
rubocop-rspec (2.24.1)
|
63
71
|
rubocop (~> 1.33)
|
64
72
|
rubocop-capybara (~> 2.17)
|
65
|
-
|
66
|
-
|
73
|
+
rubocop-factory_bot (~> 2.22)
|
74
|
+
ruby-progressbar (1.13.0)
|
75
|
+
unicode-display_width (2.5.0)
|
67
76
|
|
68
77
|
PLATFORMS
|
69
78
|
aarch64-linux-musl
|
@@ -87,4 +96,4 @@ DEPENDENCIES
|
|
87
96
|
rubocop-rspec
|
88
97
|
|
89
98
|
BUNDLED WITH
|
90
|
-
2.
|
99
|
+
2.4.20
|
@@ -75,7 +75,7 @@ module RackGraphql
|
|
75
75
|
[Oj.dump('errors' => [exception_hash(e)])]
|
76
76
|
]
|
77
77
|
ensure
|
78
|
-
ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base)
|
78
|
+
ActiveRecord::Base.connection_handler.clear_active_connections! if defined?(ActiveRecord::Base)
|
79
79
|
end
|
80
80
|
|
81
81
|
private
|
data/lib/rack_graphql/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
|
-
rubygems_version: 3.4.
|
111
|
+
rubygems_version: 3.4.20
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Rack middleware implementing graphql endpoint.
|