rack-graphql 2.7.1 → 2.7.2

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: e93e42e089512fb66fd31d4ee5927904e795b98729b7e61819c85062d1bbe05d
4
- data.tar.gz: 01156f4ddac5d400a610aedb10eba7cf7b15f35ae54b2379e5a3cee812128c68
3
+ metadata.gz: ad85b5153fed695fa5a81a301fe3333490bdb8ab4064ea5068d51d1915007267
4
+ data.tar.gz: c8b8ba9d4e0e23d3c629bf7d6414e6c7208750b75ae9ac2056f669f46afacfdd
5
5
  SHA512:
6
- metadata.gz: 19716823cf60ebd465c7c9d7927f2b03bc54c0c07e0ffe14105548af9effd090f5ae98df3a50efbf6bd59a54d1823181c6e5669accf5ef291e1a28850d7b4e42
7
- data.tar.gz: 60b7edf7e00f84c5f83a7d10f03706660a5dd9b9e95dd3954b2e405c72814c10950c375bbfad2ac2e71043aa7cb79b6f5cfa34fea17949d1638d8e6c5185ab91
6
+ metadata.gz: 6facfa29cc5605ec94a876b1c2085a1c9c701e851e38d1d4a99fcf7e621814471763e82b1793d4670c7c4d7b05e2559b8a846a211054a6323804111f7b63dd24
7
+ data.tar.gz: 3e4a84e3752823947acf281d02544bdff29878e580f3441f7f391e65f578bdc92cc2b146535301163fdb2862f5b6a1cb169258041e3ad189c261adfa4b22d141
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.29
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.0.0
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 }}"
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.7', '3.0']
14
+ ruby-version: ['3.0']
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-graphql (2.7.1)
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.4.4)
16
- graphql (1.12.17)
15
+ diff-lcs (1.5.0)
16
+ graphql (1.13.4)
17
17
  method_source (1.0.0)
18
- oj (3.13.9)
18
+ oj (3.13.11)
19
19
  parallel (1.21.0)
20
- parser (3.0.2.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.0.0)
28
+ rainbow (3.1.1)
29
29
  rake (13.0.6)
30
- regexp_parser (2.1.1)
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.2)
45
- rubocop (1.22.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.12.0, < 2.0)
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.12.0)
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.5.0)
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.2.29
84
+ 2.3.5
@@ -70,7 +70,10 @@ module RackGraphql
70
70
  [Oj.dump('errors' => [exception_hash(e)])]
71
71
  ]
72
72
  ensure
73
- ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base)
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
 
@@ -1,3 +1,3 @@
1
1
  module RackGraphql
2
- VERSION = '2.7.1'.freeze
2
+ VERSION = '2.7.2'.freeze
3
3
  end
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.1
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: 2021-10-17 00:00:00.000000000 Z
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.23
238
+ rubygems_version: 3.2.32
238
239
  signing_key:
239
240
  specification_version: 4
240
241
  summary: Rack middleware implementing graphql endpoint.