graphlient 0.8.0 → 0.9.0

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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -38
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -20
  4. data/.github/workflows/ci.yml +33 -30
  5. data/.github/workflows/danger-comment.yml +10 -0
  6. data/.github/workflows/danger.yml +13 -22
  7. data/.github/workflows/rubocop.yml +19 -19
  8. data/.gitignore +59 -52
  9. data/.rspec +1 -1
  10. data/.rubocop.yml +26 -28
  11. data/.rubocop_todo.yml +72 -48
  12. data/CHANGELOG.md +128 -113
  13. data/CONTRIBUTING.md +125 -125
  14. data/Dangerfile +24 -24
  15. data/Gemfile +35 -27
  16. data/LICENSE +21 -21
  17. data/README.md +800 -533
  18. data/RELEASING.md +63 -63
  19. data/Rakefile +15 -15
  20. data/UPGRADING.md +23 -23
  21. data/graphlient.gemspec +19 -19
  22. data/lib/graphlient/adapters/http/adapter.rb +41 -41
  23. data/lib/graphlient/adapters/http/faraday_adapter.rb +79 -79
  24. data/lib/graphlient/adapters/http/http_adapter.rb +40 -39
  25. data/lib/graphlient/adapters/http.rb +3 -3
  26. data/lib/graphlient/adapters.rb +1 -1
  27. data/lib/graphlient/client.rb +98 -80
  28. data/lib/graphlient/errors/client_error.rb +6 -6
  29. data/lib/graphlient/errors/connection_failed_error.rb +6 -6
  30. data/lib/graphlient/errors/error.rb +13 -12
  31. data/lib/graphlient/errors/execution_error.rb +29 -29
  32. data/lib/graphlient/errors/faraday_server_error.rb +12 -12
  33. data/lib/graphlient/errors/graphql_error.rb +53 -52
  34. data/lib/graphlient/errors/http_options_error.rb +6 -6
  35. data/lib/graphlient/errors/http_server_error.rb +13 -13
  36. data/lib/graphlient/errors/server_error.rb +7 -7
  37. data/lib/graphlient/errors/timeout_error.rb +6 -6
  38. data/lib/graphlient/errors.rb +10 -10
  39. data/lib/graphlient/extensions/query.rb +15 -15
  40. data/lib/graphlient/extensions.rb +1 -1
  41. data/lib/graphlient/query/directive.rb +47 -0
  42. data/lib/graphlient/query/serializer/arguments.rb +67 -0
  43. data/lib/graphlient/query/serializer/directives.rb +17 -0
  44. data/lib/graphlient/query/serializer/evaluator.rb +15 -0
  45. data/lib/graphlient/query/serializer/fragments.rb +28 -0
  46. data/lib/graphlient/query/serializer/scalars.rb +63 -0
  47. data/lib/graphlient/query/serializer.rb +153 -0
  48. data/lib/graphlient/query.rb +29 -128
  49. data/lib/graphlient/schema.rb +27 -26
  50. data/lib/graphlient/version.rb +3 -3
  51. data/lib/graphlient.rb +8 -8
  52. data/spec/graphlient/adapters/http/faraday_adapter_spec.rb +172 -167
  53. data/spec/graphlient/adapters/http/http_adapter_spec.rb +60 -60
  54. data/spec/graphlient/client_dsl_spec.rb +153 -0
  55. data/spec/graphlient/client_query_spec.rb +369 -346
  56. data/spec/graphlient/client_schema_spec.rb +75 -75
  57. data/spec/graphlient/extensions/query_spec.rb +16 -16
  58. data/spec/graphlient/github_query_spec.rb +32 -32
  59. data/spec/graphlient/query_dsl_spec.rb +231 -0
  60. data/spec/graphlient/query_spec.rb +105 -105
  61. data/spec/graphlient/schema_spec.rb +56 -56
  62. data/spec/graphlient/static_client_query_spec.rb +75 -68
  63. data/spec/graphlient/webmock_client_query_spec.rb +41 -41
  64. data/spec/spec_helper.rb +26 -14
  65. data/spec/support/context/dummy_client.rb +33 -26
  66. data/spec/support/context/github_client.rb +18 -18
  67. data/spec/support/dummy_app.rb +21 -19
  68. data/spec/support/dummy_schema.rb +17 -17
  69. data/spec/support/fixtures/github/schema.yml +14282 -14282
  70. data/spec/support/fixtures/github/user.yml +76 -76
  71. data/spec/support/fixtures/github/viewer.yml +76 -76
  72. data/spec/support/fixtures/invoice_api.json +1288 -1288
  73. data/spec/support/mutations/create_invoice.rb +18 -18
  74. data/spec/support/queries/query.rb +48 -47
  75. data/spec/support/schema/github.json +44479 -44479
  76. data/spec/support/types/invoice_type.rb +13 -13
  77. data/spec/support/types/mutation_type.rb +5 -5
  78. data/spec/support/vcr.rb +9 -9
  79. metadata +13 -8
  80. data/Gemfile.danger +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed5f47ad98345af440481f9dca800767524807bc667eace999d7ba36826e59fa
4
- data.tar.gz: 22ec20f5b725b3bb85bc9c8e8371693824f7fd85b2db43336ce7f6a6be31543f
3
+ metadata.gz: 0e4f3335c01b223689bbdb909515b2b339e82459c6ebbad0db9c25e311130bf6
4
+ data.tar.gz: 2e51d41c98c579bd4c1d4a256282b0d57ac3be19799b23e4dc48fa45d4c7c869
5
5
  SHA512:
6
- metadata.gz: 1c5ddbaafe24dfbdd6e99535bedb7a021eba55a956b4b716661c9c8778018a96118afc5a6def029aad14da883de8d47a747b4a85ead2cee0868d5ddcfb298359
7
- data.tar.gz: 3fd8b40976687fd83b00b865f62d514a87571de0bf68015486328d526a2d9cc76a8c4454a5d78f86acba6480860ac1abde3ff2edda1e92c26b03c58f60b067e2
6
+ metadata.gz: '0864f0aa4d41d5fb45955aafa19db1929ad2dcb2161be56460ebe18a3f1ffdeef9d5390cda56fb3cfc24e65aea10ef769f6dc39e1fba9094921f8b34956f061e'
7
+ data.tar.gz: ea48675fbb6126766d297a90621b9eee77b23835db37b295b737db27524ad5381762c658e518615ec78b7faa9fda0f7fefd16be6b6215f1462fac4aeb62bd37c
@@ -1,38 +1,38 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
- - OS: [e.g. iOS]
28
- - Browser [e.g. chrome, safari]
29
- - Version [e.g. 22]
30
-
31
- **Smartphone (please complete the following information):**
32
- - Device: [e.g. iPhone6]
33
- - OS: [e.g. iOS8.1]
34
- - Browser [e.g. stock browser, safari]
35
- - Version [e.g. 22]
36
-
37
- **Additional context**
38
- Add any other context about the problem here.
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -1,20 +1,20 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -1,30 +1,33 @@
1
- name: CI
2
-
3
- on: [push, pull_request]
4
-
5
- permissions:
6
- contents: read
7
-
8
- jobs:
9
- test:
10
- runs-on: ubuntu-latest
11
- strategy:
12
- matrix:
13
- entry:
14
- - { ruby: 2.7.2 }
15
- - { ruby: 3.0.0 }
16
- - { ruby: 3.1.2 }
17
- - { ruby: 3.2.2 }
18
- - { ruby: "ruby-head", ignore: true }
19
- - { ruby: "jruby-9.3.9.0", ignore: true }
20
- - { ruby: "jruby-head", ignore: true }
21
- steps:
22
- - uses: actions/checkout@v3
23
- - name: Set up Ruby
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: ${{ matrix.entry.ruby }}
27
- bundler-cache: true
28
- - name: Run tests
29
- continue-on-error: ${{ matrix.entry.ignore || false }}
30
- run: bundle exec rspec spec/
1
+ name: CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ permissions:
6
+ contents: read
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ entry:
14
+ - { ruby: 2.7 }
15
+ - { ruby: 3.0 }
16
+ - { ruby: 3.1 }
17
+ - { ruby: 3.2 }
18
+ - { ruby: 3.3 }
19
+ - { ruby: 3.4 }
20
+ - { ruby: 4.0 }
21
+ - { ruby: "ruby-head", ignore: true }
22
+ - { ruby: "jruby-9.4.8.0", ignore: true }
23
+ - { ruby: "jruby-head", ignore: true }
24
+ steps:
25
+ - uses: actions/checkout@v3
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.entry.ruby }}
30
+ bundler-cache: true
31
+ - name: Run tests
32
+ continue-on-error: ${{ matrix.entry.ignore || false }}
33
+ run: bundle exec rspec spec/
@@ -0,0 +1,10 @@
1
+ name: danger comment
2
+ on:
3
+ workflow_run:
4
+ workflows: [Danger]
5
+ types: [completed]
6
+
7
+ jobs:
8
+ comment:
9
+ uses: numbata/danger-pr-comment/.github/workflows/danger-comment.yml@main
10
+ secrets: inherit
@@ -1,22 +1,13 @@
1
- name: Danger
2
-
3
- on: pull_request
4
-
5
- jobs:
6
- danger:
7
- runs-on: ubuntu-latest
8
- env:
9
- BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile.danger
10
- steps:
11
- - uses: actions/checkout@v3
12
- with:
13
- fetch-depth: 0
14
- - name: Set up Ruby
15
- uses: ruby/setup-ruby@v1
16
- with:
17
- ruby-version: 2.7.2
18
- bundler-cache: true
19
- - run: |
20
- # the personal token is public, this is ok, base64 encode to avoid tripping Github
21
- TOKEN=$(echo -n Z2hwX0xNQ3VmanBFeTBvYkZVTWh6NVNqVFFBOEUxU25abzBqRUVuaAo= | base64 --decode)
22
- DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose
1
+ name: Danger
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, reopened, edited, synchronize]
6
+
7
+ jobs:
8
+ danger:
9
+ uses: numbata/danger-pr-comment/.github/workflows/danger-run.yml@main
10
+ secrets: inherit
11
+ with:
12
+ ruby-version: '3.3'
13
+ bundler-cache: true
@@ -1,19 +1,19 @@
1
- name: Rubocop
2
-
3
- on: [push, pull_request]
4
-
5
- permissions:
6
- contents: read
7
-
8
- jobs:
9
- rubocop:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v3
13
- - name: Set up Ruby
14
- uses: ruby/setup-ruby@v1
15
- with:
16
- ruby-version: 2.7.2
17
- bundler-cache: true
18
- - name: Run rubocop
19
- run: bundle exec rubocop
1
+ name: Rubocop
2
+
3
+ on: [push, pull_request]
4
+
5
+ permissions:
6
+ contents: read
7
+
8
+ jobs:
9
+ rubocop:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Ruby
14
+ uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: 2.7.2
17
+ bundler-cache: true
18
+ - name: Run rubocop
19
+ run: bundle exec rubocop
data/.gitignore CHANGED
@@ -1,52 +1,59 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
- .byebug_history
13
- .history/
14
- .DS_Store
15
- # Used by dotenv library to load environment variables.
16
- # .env
17
-
18
- ## Specific to RubyMotion:
19
- .dat*
20
- .repl_history
21
- build/
22
- *.bridgesupport
23
- build-iPhoneOS/
24
- build-iPhoneSimulator/
25
-
26
- ## Specific to RubyMotion (use of CocoaPods):
27
- #
28
- # We recommend against adding the Pods directory to your .gitignore. However
29
- # you should judge for yourself, the pros and cons are mentioned at:
30
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
31
- #
32
- # vendor/Pods/
33
-
34
- ## Documentation cache and generated files:
35
- /.yardoc/
36
- /_yardoc/
37
- /doc/
38
- /rdoc/
39
-
40
- ## Environment normalization:
41
- /.bundle/
42
- /vendor/bundle
43
- /lib/bundler/man/
44
-
45
- # for a library or gem, you might want to ignore these files since the code is
46
- # intended to run in multiple environments; otherwise, check them in:
47
- Gemfile.lock
48
- .ruby-version
49
- .ruby-gemset
50
-
51
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
52
- .rvmrc
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+ .byebug_history
13
+ .history/
14
+ .DS_Store
15
+ .solargraph.yml
16
+ .vscode/
17
+ .idea/
18
+
19
+ # Used by dotenv library to load environment variables.
20
+ # .env
21
+
22
+ ## Specific to RubyMotion:
23
+ .dat*
24
+ .repl_history
25
+ build/
26
+ *.bridgesupport
27
+ build-iPhoneOS/
28
+ build-iPhoneSimulator/
29
+
30
+ ## Specific to RubyMotion (use of CocoaPods):
31
+ #
32
+ # We recommend against adding the Pods directory to your .gitignore. However
33
+ # you should judge for yourself, the pros and cons are mentioned at:
34
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35
+ #
36
+ # vendor/Pods/
37
+
38
+ ## Documentation cache and generated files:
39
+ /.yardoc/
40
+ /_yardoc/
41
+ /doc/
42
+ /rdoc/
43
+
44
+ ## Environment normalization:
45
+ /.bundle/
46
+ /vendor/bundle
47
+ /lib/bundler/man/
48
+
49
+ # for a library or gem, you might want to ignore these files since the code is
50
+ # intended to run in multiple environments; otherwise, check them in:
51
+ Gemfile.lock
52
+ .ruby-version
53
+ .ruby-gemset
54
+
55
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
56
+ .rvmrc
57
+
58
+ # AI agent instructions — local only, not for the upstream repo
59
+ CLAUDE.md
data/.rspec CHANGED
@@ -1,2 +1,2 @@
1
- --format documentation
1
+ --format documentation
2
2
  --color
data/.rubocop.yml CHANGED
@@ -1,28 +1,26 @@
1
- AllCops:
2
- TargetRubyVersion: 2.3
3
-
4
- Lint/SplatKeywordArguments:
5
- Enabled: false
6
-
7
- Style/FrozenStringLiteralComment:
8
- Enabled: false
9
-
10
- Style/Documentation:
11
- Enabled: false
12
-
13
- Style/SafeNavigation:
14
- Enabled: false
15
-
16
- Metrics/LineLength:
17
- Enabled: false
18
-
19
- Metrics/MethodLength:
20
- Enabled: false
21
-
22
- Metrics/BlockLength:
23
- Enabled: false
24
-
25
- Metrics/AbcSize:
26
- Enabled: false
27
-
28
- inherit_from: .rubocop_todo.yml
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.3
5
+ NewCops: disable
6
+
7
+ Style/FrozenStringLiteralComment:
8
+ Enabled: false
9
+
10
+ Style/Documentation:
11
+ Enabled: false
12
+
13
+ Style/SafeNavigation:
14
+ Enabled: false
15
+
16
+ Layout/LineLength:
17
+ Enabled: false
18
+
19
+ Metrics/MethodLength:
20
+ Enabled: false
21
+
22
+ Metrics/BlockLength:
23
+ Enabled: false
24
+
25
+ Metrics/AbcSize:
26
+ Enabled: false
data/.rubocop_todo.yml CHANGED
@@ -1,48 +1,72 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2018-08-14 17:57:21 -0400 using RuboCop version 0.56.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 1
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
12
- Lint/UnusedMethodArgument:
13
- Exclude:
14
- - 'lib/graphlient/adapters/http/http_adapter.rb'
15
-
16
- # Offense count: 2
17
- Metrics/CyclomaticComplexity:
18
- Max: 8
19
-
20
- # Offense count: 1
21
- Metrics/PerceivedComplexity:
22
- Max: 8
23
-
24
- # Offense count: 1
25
- # Cop supports --auto-correct.
26
- # Configuration parameters: AutoCorrect, EnforcedStyle.
27
- # SupportedStyles: nested, compact
28
- Style/ClassAndModuleChildren:
29
- Exclude:
30
- - 'spec/graphlient/static_client_query_spec.rb'
31
-
32
- # Offense count: 2
33
- Style/MethodMissingSuper:
34
- Exclude:
35
- - 'lib/graphlient/extensions/query.rb'
36
- - 'lib/graphlient/query.rb'
37
-
38
- # Offense count: 5
39
- Style/MultilineBlockChain:
40
- Exclude:
41
- - 'spec/graphlient/client_query_spec.rb'
42
- - 'spec/graphlient/client_schema_spec.rb'
43
-
44
- # Offense count: 39
45
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
46
- # URISchemes: http, https
47
- Metrics/LineLength:
48
- Max: 181
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2026-06-11 10:55:02 UTC using RuboCop version 1.87.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ Gemspec/RequiredRubyVersion:
11
+ Exclude:
12
+ - 'graphlient.gemspec'
13
+
14
+ # Offense count: 1
15
+ # Configuration parameters: AllowedMethods.
16
+ # AllowedMethods: enums
17
+ Lint/ConstantDefinitionInBlock:
18
+ Exclude:
19
+ - 'spec/graphlient/static_client_query_spec.rb'
20
+
21
+ # Offense count: 1
22
+ Lint/MixedRegexpCaptureTypes:
23
+ Exclude:
24
+ - 'lib/graphlient/query.rb'
25
+
26
+ # Offense count: 1
27
+ # This cop supports unsafe autocorrection (--autocorrect-all).
28
+ Lint/NonDeterministicRequireOrder:
29
+ Exclude:
30
+ - 'spec/spec_helper.rb'
31
+
32
+ # Offense count: 1
33
+ # This cop supports safe autocorrection (--autocorrect).
34
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
35
+ # NotImplementedExceptions: NotImplementedError
36
+ Lint/UnusedMethodArgument:
37
+ Exclude:
38
+ - 'lib/graphlient/adapters/http/http_adapter.rb'
39
+
40
+ # Offense count: 1
41
+ # Configuration parameters: CountComments, CountAsOne.
42
+ Metrics/ClassLength:
43
+ Max: 104
44
+
45
+ # Offense count: 1
46
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
47
+ Metrics/CyclomaticComplexity:
48
+ Max: 9
49
+
50
+ # Offense count: 1
51
+ # This cop supports unsafe autocorrection (--autocorrect-all).
52
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
53
+ # SupportedStyles: nested, compact
54
+ # SupportedStylesForClasses: ~, nested, compact
55
+ # SupportedStylesForModules: ~, nested, compact
56
+ Style/ClassAndModuleChildren:
57
+ Exclude:
58
+ - 'spec/graphlient/static_client_query_spec.rb'
59
+
60
+ # Offense count: 8
61
+ Style/MultilineBlockChain:
62
+ Exclude:
63
+ - 'spec/graphlient/client_query_spec.rb'
64
+ - 'spec/graphlient/client_schema_spec.rb'
65
+
66
+ # Offense count: 1
67
+ # This cop supports unsafe autocorrection (--autocorrect-all).
68
+ # Configuration parameters: EnforcedStyle.
69
+ # SupportedStyles: literals, strict
70
+ Style/MutableConstant:
71
+ Exclude:
72
+ - 'lib/graphlient/query.rb'