rack-graphql 3.1.2 → 3.2.0.beta

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: c385c822383c3044d6f2b5ad8ec9d5f0051806c7f925498d1e1dd791cad8e442
4
- data.tar.gz: cd0c840355421ca82da16d0bf70c4e7ef2a7a3cfd0cca57edcdcb1becdb12d05
3
+ metadata.gz: d181d6f6e61e30ab59e24ebf776221a8b16661d3cc9158c6f4deba1aae6c47c7
4
+ data.tar.gz: 8349b7c0482973a061772f648ad0195086cf39c923700a19cabe3a48031ec56f
5
5
  SHA512:
6
- metadata.gz: 78c377155d4205ae8d93d58c3e4143effdc0c726f7dfd8ce1e1f0cd335a5cd790a2117b5feaf4f77c63c8f808e5c6c29bbaaf7f52bfb4a8999c46ad79869c8e9
7
- data.tar.gz: 88fb8d22a1de63ad01d732a1200ee8e42428cbd9ae4ed2cd0042bdc28a6964c2cfb54bb92b8f40324cfca010c3a1694b716a11a471fff40ecb5767b53b0da2cc
6
+ metadata.gz: 94536086d1cdf9ee9b447fdd124fb67b7332f20b40d938a15533c6f0065ed3dc711c48733083315c4e64064cae0b9cf12038176948bd0af2b527bf54ce3ad9bd
7
+ data.tar.gz: b18ad2acdc63a2d22a534548d06fe9a0489213ed8292025393a7e6ebfaa14bf290dfec00e6b6839fd1518b60712ac6c7ebd14f9f2f1ae92d31d1df1b98b53535
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.4.5
1
+ 2.4.21
@@ -1,14 +1,13 @@
1
- # automatically approve PRs submitted by Dependabot or Renofidev
2
- # this will allow Dependabot to automatically merge dependency update PRs where CI passes
3
- # from: https://github.com/hmarr/auto-approve-action
4
- name: Auto approve dependency upgrades PRs
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
- - uses: hmarr/auto-approve-action@v2
12
- if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
13
- with:
14
- github-token: "${{ secrets.GITHUB_TOKEN }}"
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 }}"
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
17
  - name: automerge-dependencies
18
- uses: pascalgn/automerge-action@v0.15.5
18
+ uses: pascalgn/automerge-action@v0.15.6
19
19
  env:
20
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
21
  MERGE_METHOD: squash
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
17
  - name: automerge
18
- uses: pascalgn/automerge-action@v0.15.5
18
+ uses: pascalgn/automerge-action@v0.15.6
19
19
  env:
20
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
21
  MERGE_METHOD: squash
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['3.0', 3.1]
14
+ ruby-version: [3.1, 3.2]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 3.1.0 - 2023-01-17
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.2)
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.0.16)
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.14.2)
20
- parallel (1.22.1)
21
- parser (3.2.1.0)
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
- rack (3.0.4.1)
27
- rack-test (2.0.2)
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.7.0)
32
- rexml (3.2.5)
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.1)
41
+ rspec-core (3.12.2)
38
42
  rspec-support (~> 3.12.0)
39
- rspec-expectations (3.12.2)
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.3)
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.0)
46
- rubocop (1.45.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.0.0)
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.24.1, < 2.0)
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.26.0)
62
+ rubocop-ast (1.29.0)
57
63
  parser (>= 3.2.1.0)
58
- rubocop-capybara (2.17.0)
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.18.1)
70
+ rubocop-rspec (2.24.1)
63
71
  rubocop (~> 1.33)
64
72
  rubocop-capybara (~> 2.17)
65
- ruby-progressbar (1.11.0)
66
- unicode-display_width (2.4.2)
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.3.26
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
@@ -1,3 +1,3 @@
1
1
  module RackGraphql
2
- VERSION = '3.1.2'.freeze
2
+ VERSION = '3.2.0.beta'.freeze
3
3
  end
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.2
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-02-14 00:00:00.000000000 Z
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: '0'
109
+ version: 1.3.1
110
110
  requirements: []
111
- rubygems_version: 3.4.6
111
+ rubygems_version: 3.4.21
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Rack middleware implementing graphql endpoint.