rails-graphql 1.0.2 → 1.0.3

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: 3e7d0465d49d0e8eef8d0672cc60cbf8f15e5ee8cb11bf765a2a944b4d5aab33
4
- data.tar.gz: 6ada22cc356373aa92a4986029092fb63b16532e8a5df16798b15f17c4d8221a
3
+ metadata.gz: 7ad5286d59309dafbc0ec0185c4b5c154bbccb7db15cfdb7831b78125212318c
4
+ data.tar.gz: 797b52a24b9f9a38167846cc08bc0e50a8728b5bc85041df5d2b81d6208f22f4
5
5
  SHA512:
6
- metadata.gz: a62b2abf73592f82b4b5b2b290dde535b32054903d6a330808c03137369df0d1962576eaf4658ef42e08803ba82fed36963d75dd72101d0ec1e3362ae2d9ceb1
7
- data.tar.gz: d5f8e3b75c6458623e9af9a493113ac230855fadd7bdb93b4bc2f3165a3bf0ed6a7cd6697a05199749a69c3b55412cd849fbc92cd25edbbc331493f5c5989df5
6
+ metadata.gz: de92336e813d1b4e12b4399475c6ae7d7bb7eec21a59d33a8f8a7701f82a657575df19113d239e502a2ea642dce90c664433d2f7020367d4c735129eac41ab61
7
+ data.tar.gz: 8739f94bf779f65df7db592641c31aad9493d6ed57ac104391341271af127a90c280de366857822fa73a1025b22bd6ddc8c98b2280baaa1e7832b86f622a93cc
data/lib/gql_parser.so CHANGED
Binary file
@@ -29,13 +29,9 @@ module Rails
29
29
  # Ensure a valid logger
30
30
  initializer 'graphql.logger' do |app|
31
31
  ActiveSupport.on_load(:graphql) do
32
- return if config.logger.present?
33
-
34
- logger = ::Rails.logger
35
- if logger.respond_to?(:tagged)
36
- config.logger = logger
37
- else
38
- config.logger = ActiveSupport::TaggedLogging.new(logger)
32
+ config.logger ||= begin
33
+ logger = ::Rails.logger
34
+ logger.respond_to?(:tagged) ? logger : ActiveSupport::TaggedLogging.new(logger)
39
35
  end
40
36
  end
41
37
  end
@@ -14,7 +14,7 @@ module Rails
14
14
  module VERSION
15
15
  MAJOR = 1
16
16
  MINOR = 0
17
- TINY = 2
17
+ TINY = 3
18
18
  PRE = nil
19
19
 
20
20
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -71,7 +71,7 @@ class Integration_AlternativeTest < GraphQL::IntegrationTestCase
71
71
  end
72
72
 
73
73
  class SCHEMA < GraphQL::Schema
74
- namespace :authorization
74
+ namespace :alternatives
75
75
 
76
76
  configure do |config|
77
77
  config.enable_string_collector = false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-03 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -404,7 +404,7 @@ metadata:
404
404
  source_code_uri: https://github.com/virtualshield/rails-graphql
405
405
  bug_tracker_uri: https://github.com/virtualshield/rails-graphql/issues
406
406
  changelog_uri: https://github.com/virtualshield/rails-graphql/blob/master/CHANGELOG.md
407
- post_install_message:
407
+ post_install_message:
408
408
  rdoc_options:
409
409
  - "--title"
410
410
  - GraphQL server for Rails
@@ -422,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
422
422
  version: '0'
423
423
  requirements: []
424
424
  rubygems_version: 3.3.26
425
- signing_key:
425
+ signing_key:
426
426
  specification_version: 4
427
427
  summary: GraphQL meets RoR with the most Ruby-like DSL
428
428
  test_files: