graphql-fancy_loader 0.1.4 → 0.1.5

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: 25f865f17b574cc5a35ca49346b5f510e77896a8e100900d1441bd205761bf93
4
- data.tar.gz: ef3ea8c3ad6702c8062f157b0e907b2bd458c4311ea3f89408990cd6b3f7889c
3
+ metadata.gz: a248b95eed7ff64cffc42f1677b705dc36fd369edca911492cb28038057a2d10
4
+ data.tar.gz: 51ce93c0b682c6410e81492c988f0e9a018cd6a30869e1403ecaa54abc1cb42d
5
5
  SHA512:
6
- metadata.gz: 47b74ee253508c8d0a47d6b6c952bf434b7622d3c6619b83343a4fcc3fe22b0fc85b628a31a61aab3a1c8f1fd7c8a4b956bc72ac367c4270f2cd02dbb08dd82b
7
- data.tar.gz: 95605bcb2870c7b85b1b0051967e82e0d2cdcee81b39a56f88495ad967e0eb0ed41bb1a4b952bc880cbf38b9978ca2c0312aaec81aab9960cbd0bb782b0e321e
6
+ metadata.gz: 7548b0bca016155348d3dc9625b96d454cde29235c9188ed19addfe59f3e4279da9b3f45f7a56a52228b3ae00d6d7953dbfda5d5616c519b8c7bfb8c8681a473
7
+ data.tar.gz: dbaf7cd4a9df9d21a1d26d17834808c35b9ad65095252798e9a88d48625d5a9273e648cf552958b97638987011ea3c3ec77349c7e94276ff76912dbc3c0bc8d8
@@ -19,11 +19,12 @@ jobs:
19
19
  - name: Set up Ruby
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
22
- ruby-version: 2.7
22
+ ruby-version: 3.0
23
23
  bundler-cache: true
24
24
 
25
25
  - name: Authenticate with Rubygems
26
26
  run: |
27
+ mkdir -p $HOME/.gem/
27
28
  echo "${RUBYGEMS_CREDENTIALS}" > $HOME/.gem/credentials
28
29
  chmod 0600 $HOME/.gem/credentials
29
30
  env:
@@ -19,13 +19,13 @@ jobs:
19
19
  fail-fast: false
20
20
  matrix:
21
21
  ruby:
22
- - ruby-2.6
23
22
  - ruby-2.7
23
+ - ruby-3.0
24
24
  experimental: [false]
25
25
  include:
26
26
  - ruby: truffleruby-20
27
27
  experimental: true
28
- - ruby: ruby-3.0
28
+ - ruby: ruby-3.1
29
29
  experimental: true
30
30
 
31
31
  services:
data/Gemfile.lock CHANGED
@@ -1,79 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-fancy_loader (0.1.4)
5
- activesupport (>= 5.0, < 7.0)
6
- graphql (>= 1.3, < 2)
4
+ graphql-fancy_loader (0.1.5)
5
+ activesupport (>= 5.0, < 8.0)
6
+ graphql (>= 1.3, < 3)
7
7
  graphql-batch (>= 0.4.3, < 1)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (6.1.4)
13
- actionpack (= 6.1.4)
14
- activesupport (= 6.1.4)
12
+ actioncable (7.0.4)
13
+ actionpack (= 7.0.4)
14
+ activesupport (= 7.0.4)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (6.1.4)
18
- actionpack (= 6.1.4)
19
- activejob (= 6.1.4)
20
- activerecord (= 6.1.4)
21
- activestorage (= 6.1.4)
22
- activesupport (= 6.1.4)
17
+ actionmailbox (7.0.4)
18
+ actionpack (= 7.0.4)
19
+ activejob (= 7.0.4)
20
+ activerecord (= 7.0.4)
21
+ activestorage (= 7.0.4)
22
+ activesupport (= 7.0.4)
23
23
  mail (>= 2.7.1)
24
- actionmailer (6.1.4)
25
- actionpack (= 6.1.4)
26
- actionview (= 6.1.4)
27
- activejob (= 6.1.4)
28
- activesupport (= 6.1.4)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.0.4)
28
+ actionpack (= 7.0.4)
29
+ actionview (= 7.0.4)
30
+ activejob (= 7.0.4)
31
+ activesupport (= 7.0.4)
29
32
  mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
30
36
  rails-dom-testing (~> 2.0)
31
- actionpack (6.1.4)
32
- actionview (= 6.1.4)
33
- activesupport (= 6.1.4)
34
- rack (~> 2.0, >= 2.0.9)
37
+ actionpack (7.0.4)
38
+ actionview (= 7.0.4)
39
+ activesupport (= 7.0.4)
40
+ rack (~> 2.0, >= 2.2.0)
35
41
  rack-test (>= 0.6.3)
36
42
  rails-dom-testing (~> 2.0)
37
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
38
- actiontext (6.1.4)
39
- actionpack (= 6.1.4)
40
- activerecord (= 6.1.4)
41
- activestorage (= 6.1.4)
42
- activesupport (= 6.1.4)
44
+ actiontext (7.0.4)
45
+ actionpack (= 7.0.4)
46
+ activerecord (= 7.0.4)
47
+ activestorage (= 7.0.4)
48
+ activesupport (= 7.0.4)
49
+ globalid (>= 0.6.0)
43
50
  nokogiri (>= 1.8.5)
44
- actionview (6.1.4)
45
- activesupport (= 6.1.4)
51
+ actionview (7.0.4)
52
+ activesupport (= 7.0.4)
46
53
  builder (~> 3.1)
47
54
  erubi (~> 1.4)
48
55
  rails-dom-testing (~> 2.0)
49
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
50
- activejob (6.1.4)
51
- activesupport (= 6.1.4)
57
+ activejob (7.0.4)
58
+ activesupport (= 7.0.4)
52
59
  globalid (>= 0.3.6)
53
- activemodel (6.1.4)
54
- activesupport (= 6.1.4)
55
- activerecord (6.1.4)
56
- activemodel (= 6.1.4)
57
- activesupport (= 6.1.4)
58
- activestorage (6.1.4)
59
- actionpack (= 6.1.4)
60
- activejob (= 6.1.4)
61
- activerecord (= 6.1.4)
62
- activesupport (= 6.1.4)
63
- marcel (~> 1.0.0)
60
+ activemodel (7.0.4)
61
+ activesupport (= 7.0.4)
62
+ activerecord (7.0.4)
63
+ activemodel (= 7.0.4)
64
+ activesupport (= 7.0.4)
65
+ activestorage (7.0.4)
66
+ actionpack (= 7.0.4)
67
+ activejob (= 7.0.4)
68
+ activerecord (= 7.0.4)
69
+ activesupport (= 7.0.4)
70
+ marcel (~> 1.0)
64
71
  mini_mime (>= 1.1.0)
65
- activesupport (6.1.4)
72
+ activesupport (7.0.4)
66
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
67
74
  i18n (>= 1.6, < 2)
68
75
  minitest (>= 5.1)
69
76
  tzinfo (~> 2.0)
70
- zeitwerk (~> 2.3)
71
- bootsnap (1.9.1)
72
- msgpack (~> 1.0)
77
+ bootsnap (1.14.0)
78
+ msgpack (~> 1.2)
73
79
  builder (3.2.4)
74
80
  byebug (11.1.3)
75
81
  coderay (1.1.3)
76
- concurrent-ruby (1.1.9)
82
+ concurrent-ruby (1.1.10)
77
83
  crass (1.0.6)
78
84
  database_cleaner (2.0.1)
79
85
  database_cleaner-active_record (~> 2.0.0)
@@ -81,27 +87,27 @@ GEM
81
87
  activerecord (>= 5.a)
82
88
  database_cleaner-core (~> 2.0.0)
83
89
  database_cleaner-core (2.0.1)
84
- diff-lcs (1.4.4)
90
+ diff-lcs (1.5.0)
85
91
  docile (1.4.0)
86
- erubi (1.10.0)
87
- factory_bot (6.2.0)
92
+ erubi (1.11.0)
93
+ factory_bot (6.2.1)
88
94
  activesupport (>= 5.0.0)
89
95
  factory_bot_rails (6.2.0)
90
96
  factory_bot (~> 6.2.0)
91
97
  railties (>= 5.0.0)
92
- ffi (1.15.4)
93
- globalid (0.5.2)
98
+ ffi (1.15.5)
99
+ globalid (1.0.0)
94
100
  activesupport (>= 5.0)
95
- graphql (1.12.19)
96
- graphql-batch (0.4.3)
97
- graphql (>= 1.3, < 2)
101
+ graphql (2.0.15)
102
+ graphql-batch (0.5.1)
103
+ graphql (>= 1.10, < 3)
98
104
  promise.rb (~> 0.7.2)
99
- i18n (1.8.10)
105
+ i18n (1.12.0)
100
106
  concurrent-ruby (~> 1.0)
101
- listen (3.7.0)
107
+ listen (3.7.1)
102
108
  rb-fsevent (~> 0.10, >= 0.10.3)
103
109
  rb-inotify (~> 0.9, >= 0.9.10)
104
- loofah (2.12.0)
110
+ loofah (2.19.0)
105
111
  crass (~> 1.0.2)
106
112
  nokogiri (>= 1.5.9)
107
113
  mail (2.7.1)
@@ -109,68 +115,80 @@ GEM
109
115
  marcel (1.0.2)
110
116
  method_source (1.0.0)
111
117
  mini_mime (1.1.2)
112
- mini_portile2 (2.6.1)
113
- minitest (5.14.4)
114
- msgpack (1.4.2)
118
+ mini_portile2 (2.8.0)
119
+ minitest (5.16.3)
120
+ msgpack (1.6.0)
121
+ net-imap (0.3.1)
122
+ net-protocol
123
+ net-pop (0.1.2)
124
+ net-protocol
125
+ net-protocol (0.1.3)
126
+ timeout
127
+ net-smtp (0.3.3)
128
+ net-protocol
115
129
  nio4r (2.5.8)
116
- nokogiri (1.12.5)
117
- mini_portile2 (~> 2.6.1)
130
+ nokogiri (1.13.9)
131
+ mini_portile2 (~> 2.8.0)
118
132
  racc (~> 1.4)
119
- pg (1.2.3)
133
+ nokogiri (1.13.9-x86_64-darwin)
134
+ racc (~> 1.4)
135
+ nokogiri (1.13.9-x86_64-linux)
136
+ racc (~> 1.4)
137
+ pg (1.4.5)
120
138
  promise.rb (0.7.4)
121
- pry (0.13.1)
139
+ pry (0.14.1)
122
140
  coderay (~> 1.1)
123
141
  method_source (~> 1.0)
124
- pry-byebug (3.9.0)
142
+ pry-byebug (3.10.1)
125
143
  byebug (~> 11.0)
126
- pry (~> 0.13.0)
144
+ pry (>= 0.13, < 0.15)
127
145
  racc (1.6.0)
128
- rack (2.2.3)
129
- rack-test (1.1.0)
130
- rack (>= 1.0, < 3)
131
- rails (6.1.4)
132
- actioncable (= 6.1.4)
133
- actionmailbox (= 6.1.4)
134
- actionmailer (= 6.1.4)
135
- actionpack (= 6.1.4)
136
- actiontext (= 6.1.4)
137
- actionview (= 6.1.4)
138
- activejob (= 6.1.4)
139
- activemodel (= 6.1.4)
140
- activerecord (= 6.1.4)
141
- activestorage (= 6.1.4)
142
- activesupport (= 6.1.4)
146
+ rack (2.2.4)
147
+ rack-test (2.0.2)
148
+ rack (>= 1.3)
149
+ rails (7.0.4)
150
+ actioncable (= 7.0.4)
151
+ actionmailbox (= 7.0.4)
152
+ actionmailer (= 7.0.4)
153
+ actionpack (= 7.0.4)
154
+ actiontext (= 7.0.4)
155
+ actionview (= 7.0.4)
156
+ activejob (= 7.0.4)
157
+ activemodel (= 7.0.4)
158
+ activerecord (= 7.0.4)
159
+ activestorage (= 7.0.4)
160
+ activesupport (= 7.0.4)
143
161
  bundler (>= 1.15.0)
144
- railties (= 6.1.4)
145
- sprockets-rails (>= 2.0.0)
162
+ railties (= 7.0.4)
146
163
  rails-dom-testing (2.0.3)
147
164
  activesupport (>= 4.2.0)
148
165
  nokogiri (>= 1.6)
149
- rails-html-sanitizer (1.4.2)
166
+ rails-html-sanitizer (1.4.3)
150
167
  loofah (~> 2.3)
151
- railties (6.1.4)
152
- actionpack (= 6.1.4)
153
- activesupport (= 6.1.4)
168
+ railties (7.0.4)
169
+ actionpack (= 7.0.4)
170
+ activesupport (= 7.0.4)
154
171
  method_source
155
- rake (>= 0.13)
172
+ rake (>= 12.2)
156
173
  thor (~> 1.0)
174
+ zeitwerk (~> 2.5)
157
175
  rake (13.0.6)
158
- rb-fsevent (0.11.0)
176
+ rb-fsevent (0.11.2)
159
177
  rb-inotify (0.10.1)
160
178
  ffi (~> 1.0)
161
- rspec (3.10.0)
162
- rspec-core (~> 3.10.0)
163
- rspec-expectations (~> 3.10.0)
164
- rspec-mocks (~> 3.10.0)
165
- rspec-core (3.10.1)
166
- rspec-support (~> 3.10.0)
167
- rspec-expectations (3.10.1)
179
+ rspec (3.12.0)
180
+ rspec-core (~> 3.12.0)
181
+ rspec-expectations (~> 3.12.0)
182
+ rspec-mocks (~> 3.12.0)
183
+ rspec-core (3.12.0)
184
+ rspec-support (~> 3.12.0)
185
+ rspec-expectations (3.12.0)
168
186
  diff-lcs (>= 1.2.0, < 2.0)
169
- rspec-support (~> 3.10.0)
170
- rspec-mocks (3.10.2)
187
+ rspec-support (~> 3.12.0)
188
+ rspec-mocks (3.12.0)
171
189
  diff-lcs (>= 1.2.0, < 2.0)
172
- rspec-support (~> 3.10.0)
173
- rspec-rails (5.0.2)
190
+ rspec-support (~> 3.12.0)
191
+ rspec-rails (5.1.2)
174
192
  actionpack (>= 5.2)
175
193
  activesupport (>= 5.2)
176
194
  railties (>= 5.2)
@@ -178,28 +196,22 @@ GEM
178
196
  rspec-expectations (~> 3.10)
179
197
  rspec-mocks (~> 3.10)
180
198
  rspec-support (~> 3.10)
181
- rspec-support (3.10.2)
199
+ rspec-support (3.12.0)
182
200
  simplecov (0.21.2)
183
201
  docile (~> 1.1)
184
202
  simplecov-html (~> 0.11)
185
203
  simplecov_json_formatter (~> 0.1)
186
204
  simplecov-html (0.12.3)
187
- simplecov_json_formatter (0.1.3)
188
- sprockets (4.0.2)
189
- concurrent-ruby (~> 1.0)
190
- rack (> 1, < 3)
191
- sprockets-rails (3.2.2)
192
- actionpack (>= 4.0)
193
- activesupport (>= 4.0)
194
- sprockets (>= 3.0.0)
195
- thor (1.1.0)
196
- timecop (0.9.4)
197
- tzinfo (2.0.4)
205
+ simplecov_json_formatter (0.1.4)
206
+ thor (1.2.1)
207
+ timecop (0.9.5)
208
+ timeout (0.3.0)
209
+ tzinfo (2.0.5)
198
210
  concurrent-ruby (~> 1.0)
199
211
  websocket-driver (0.7.5)
200
212
  websocket-extensions (>= 0.1.0)
201
213
  websocket-extensions (0.1.5)
202
- zeitwerk (2.5.1)
214
+ zeitwerk (2.6.6)
203
215
 
204
216
  PLATFORMS
205
217
  ruby
@@ -215,7 +227,7 @@ DEPENDENCIES
215
227
  listen (~> 3.7)
216
228
  pg (~> 1.2)
217
229
  pry-byebug (~> 3.9)
218
- rails (= 6.1.4)
230
+ rails (= 7.0.4)
219
231
  rake (>= 12.3.3)
220
232
  rspec (~> 3.0)
221
233
  rspec-rails (~> 5.0)
@@ -223,4 +235,4 @@ DEPENDENCIES
223
235
  timecop (~> 0.9)
224
236
 
225
237
  BUNDLED WITH
226
- 2.2.29
238
+ 2.3.13
data/Rakefile CHANGED
@@ -1,9 +1,11 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
+ require 'graphql/rake_task'
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
-
6
6
  task default: :spec
7
7
 
8
+ GraphQL::RakeTask.new(schema_name: 'KitsuSchema')
9
+
8
10
  Rake::Task['release'].clear
9
11
  task release: %w[build release:rubygem_push]
@@ -29,8 +29,8 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
- spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 7.0'
33
- spec.add_runtime_dependency 'graphql', '>= 1.3', '< 2'
32
+ spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 8.0'
33
+ spec.add_runtime_dependency 'graphql', '>= 1.3', '< 3'
34
34
  spec.add_runtime_dependency 'graphql-batch', '>= 0.4.3', '< 1'
35
35
 
36
36
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -45,6 +45,6 @@ Gem::Specification.new do |spec|
45
45
  spec.add_development_dependency 'factory_bot_rails', '~> 6.2'
46
46
  spec.add_development_dependency 'listen', '~> 3.7'
47
47
  spec.add_development_dependency 'pg', '~> 1.2'
48
- spec.add_development_dependency 'rails', '6.1.4'
48
+ spec.add_development_dependency 'rails', '7.0.4'
49
49
  spec.add_development_dependency 'rspec-rails', '~> 5.0'
50
50
  end
@@ -6,6 +6,6 @@ module GraphQL
6
6
  rescue LoadError
7
7
  BasicObject
8
8
  end)
9
- VERSION = '0.1.4'.freeze
9
+ VERSION = '0.1.5'.freeze # .3
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-fancy_loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyhammered
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-11-06 00:00:00.000000000 Z
12
+ date: 2022-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '5.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '7.0'
23
+ version: '8.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '5.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '7.0'
33
+ version: '8.0'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: graphql
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '1.3'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '2'
43
+ version: '3'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '1.3'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '2'
53
+ version: '3'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: graphql-batch
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -231,14 +231,14 @@ dependencies:
231
231
  requirements:
232
232
  - - '='
233
233
  - !ruby/object:Gem::Version
234
- version: 6.1.4
234
+ version: 7.0.4
235
235
  type: :development
236
236
  prerelease: false
237
237
  version_requirements: !ruby/object:Gem::Requirement
238
238
  requirements:
239
239
  - - '='
240
240
  - !ruby/object:Gem::Version
241
- version: 6.1.4
241
+ version: 7.0.4
242
242
  - !ruby/object:Gem::Dependency
243
243
  name: rspec-rails
244
244
  requirement: !ruby/object:Gem::Requirement
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  - !ruby/object:Gem::Version
313
313
  version: '0'
314
314
  requirements: []
315
- rubygems_version: 3.1.6
315
+ rubygems_version: 3.3.7
316
316
  signing_key:
317
317
  specification_version: 4
318
318
  summary: FancyLoader efficiently batches queries using postgres window functions to