rack-graphql 3.1.2 → 3.2.0.beta
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 +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 +0 -2
- data/lib/rack_graphql/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d181d6f6e61e30ab59e24ebf776221a8b16661d3cc9158c6f4deba1aae6c47c7
|
|
4
|
+
data.tar.gz: 8349b7c0482973a061772f648ad0195086cf39c923700a19cabe3a48031ec56f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94536086d1cdf9ee9b447fdd124fb67b7332f20b40d938a15533c6f0065ed3dc711c48733083315c4e64064cae0b9cf12038176948bd0af2b527bf54ce3ad9bd
|
|
7
|
+
data.tar.gz: b18ad2acdc63a2d22a534548d06fe9a0489213ed8292025393a7e6ebfaa14bf290dfec00e6b6839fd1518b60712ac6c7ebd14f9f2f1ae92d31d1df1b98b53535
|
data/.bundler-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.21
|
|
@@ -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.
|
|
4
|
+
rack-graphql (3.2.0.beta)
|
|
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
|
|
@@ -74,8 +74,6 @@ module RackGraphql
|
|
|
74
74
|
{ 'Content-Type' => 'application/json', STATUS_CODE_HEADER_NAME => status_code },
|
|
75
75
|
[Oj.dump('errors' => [exception_hash(e)])]
|
|
76
76
|
]
|
|
77
|
-
ensure
|
|
78
|
-
ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base)
|
|
79
77
|
end
|
|
80
78
|
|
|
81
79
|
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.
|
|
4
|
+
version: 3.2.0.beta
|
|
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-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|
|
@@ -104,11 +104,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
104
104
|
version: '3.0'
|
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
|
-
- - "
|
|
107
|
+
- - ">"
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version:
|
|
109
|
+
version: 1.3.1
|
|
110
110
|
requirements: []
|
|
111
|
-
rubygems_version: 3.4.
|
|
111
|
+
rubygems_version: 3.4.21
|
|
112
112
|
signing_key:
|
|
113
113
|
specification_version: 4
|
|
114
114
|
summary: Rack middleware implementing graphql endpoint.
|