graphql-batch 0.4.3 → 0.6.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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +28 -0
- data/.github/workflows/cla.yml +22 -0
- data/.rubocop.yml +7 -2
- data/.rubocop_todo.yml +7 -0
- data/Gemfile +4 -1
- data/README.md +26 -22
- data/Rakefile +9 -5
- data/examples/active_storage_loader.rb +75 -0
- data/examples/association_loader.rb +2 -1
- data/examples/http_loader.rb +9 -1
- data/examples/record_loader.rb +1 -0
- data/examples/window_key_loader.rb +81 -0
- data/graphql-batch.gemspec +2 -5
- data/lib/graphql/batch/loader.rb +38 -4
- data/lib/graphql/batch/setup_multiplex.rb +14 -4
- data/lib/graphql/batch/version.rb +1 -1
- data/lib/graphql/batch.rb +12 -21
- metadata +11 -10
- data/.rubocop-https---shopify-github-io-ruby-style-guide-rubocop-yml +0 -1029
- data/.travis.yml +0 -11
- data/lib/graphql/batch/setup.rb +0 -45
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Thacker-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.12.18
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.12.18
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: promise.rb
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,11 +93,11 @@ executables: []
|
|
93
93
|
extensions: []
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
|
+
- ".github/workflows/ci.yml"
|
97
|
+
- ".github/workflows/cla.yml"
|
96
98
|
- ".gitignore"
|
97
|
-
- ".rubocop-https---shopify-github-io-ruby-style-guide-rubocop-yml"
|
98
99
|
- ".rubocop.yml"
|
99
100
|
- ".rubocop_todo.yml"
|
100
|
-
- ".travis.yml"
|
101
101
|
- CONTRIBUTING.md
|
102
102
|
- Gemfile
|
103
103
|
- LICENSE.txt
|
@@ -105,15 +105,16 @@ files:
|
|
105
105
|
- Rakefile
|
106
106
|
- bin/console
|
107
107
|
- bin/setup
|
108
|
+
- examples/active_storage_loader.rb
|
108
109
|
- examples/association_loader.rb
|
109
110
|
- examples/http_loader.rb
|
110
111
|
- examples/record_loader.rb
|
112
|
+
- examples/window_key_loader.rb
|
111
113
|
- graphql-batch.gemspec
|
112
114
|
- lib/graphql/batch.rb
|
113
115
|
- lib/graphql/batch/executor.rb
|
114
116
|
- lib/graphql/batch/loader.rb
|
115
117
|
- lib/graphql/batch/mutation_field_extension.rb
|
116
|
-
- lib/graphql/batch/setup.rb
|
117
118
|
- lib/graphql/batch/setup_multiplex.rb
|
118
119
|
- lib/graphql/batch/version.rb
|
119
120
|
homepage: https://github.com/Shopify/graphql-batch
|
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
137
|
- !ruby/object:Gem::Version
|
137
138
|
version: '0'
|
138
139
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
140
|
+
rubygems_version: 3.5.6
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
143
|
summary: A query batching executor for the graphql gem
|