rack-graphql 3.1.2 → 3.1.3

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: c385c822383c3044d6f2b5ad8ec9d5f0051806c7f925498d1e1dd791cad8e442
4
- data.tar.gz: cd0c840355421ca82da16d0bf70c4e7ef2a7a3cfd0cca57edcdcb1becdb12d05
3
+ metadata.gz: fbd8bcb86ff3053a40fe947884915fa4afbb2c2034674f8cf3fa9a726f49b6b9
4
+ data.tar.gz: 2103f0c250f94a2dcaafa333e8ed95a29db4015c1f259bf326bf6c428800cc65
5
5
  SHA512:
6
- metadata.gz: 78c377155d4205ae8d93d58c3e4143effdc0c726f7dfd8ce1e1f0cd335a5cd790a2117b5feaf4f77c63c8f808e5c6c29bbaaf7f52bfb4a8999c46ad79869c8e9
7
- data.tar.gz: 88fb8d22a1de63ad01d732a1200ee8e42428cbd9ae4ed2cd0042bdc28a6964c2cfb54bb92b8f40324cfca010c3a1694b716a11a471fff40ecb5767b53b0da2cc
6
+ metadata.gz: e3645d5ec644bb218cde1b68130398807b3890a58ef8be6cab91d11b9b2091a0e88f325b0fa0d997b5d48b0a0227341e16a339936963a0eddb3fbe8801828fc7
7
+ data.tar.gz: 71d5a9646ca41cadfb360350d2176e4d9fa09cd3cd5ebd8b63653a98ff8401fc0a675079838d95d67a6b2c49afd167423cbb5aef0748412b1c5f0be1f4416313
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.4.5
1
+ 2.4.20
@@ -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.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.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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RackGraphql
2
- VERSION = '3.1.2'.freeze
2
+ VERSION = '3.1.3'.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.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-02-14 00:00:00.000000000 Z
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.6
111
+ rubygems_version: 3.4.20
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Rack middleware implementing graphql endpoint.