graphql-docs 2.0.0 → 3.0.0

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: d9b9b70c05ecb232880397c181cd1593365494c70726c0d83da63c1159bc35ef
4
- data.tar.gz: 171b3e869c8820f2f60f2505b98219ac2e58d5381307af54f83834102f308dde
3
+ metadata.gz: 3ca599041fe6ba5b75ea79e1d2bccfdb5dc435522b4bcfadffa6e1adadcdf6fb
4
+ data.tar.gz: a71dada7196b3871d7256e3de1aa0803fd6665ed5906ae1eead4df5ddb27714f
5
5
  SHA512:
6
- metadata.gz: ac21056c981c54b771c34eefcc842947ce0d77f0e2150d5b060bd05248b02827d065a6b35bf2f5b8bab6b82b20ecb993dbbd255f8c17a0fb3f4ef0077f0dae43
7
- data.tar.gz: 9dbd0479cebdaf5d9e1f3dd57729cc55cb6cc43d0bd26861fd8683a5f4b8be2355a810a04dd060597832fcf1d95d27eacf5f0aa9c825027bf0f7f1a8dc1935eb
6
+ metadata.gz: 8f4511d2a9626a283421983d217e4d0b2dcb3ecf59c5fef6d029f9e2ca6a692adf08930fe2f91ebc2915975d8a1f29172d34215d8c91bf74522b40edfbe7b1e7
7
+ data.tar.gz: 9b04dd1b8018a68f4170ce1a4dd71e9592d4b892067043b390b6ca48d205026b9c611dc7e6b04fc297caf451a4950f80b75112d9be34c2569de5b9f17b439307
data/graphql-docs.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_dependency 'graphql', '~> 1.10'
24
+ spec.add_dependency 'graphql', '~> 2.0'
25
25
 
26
26
  # rendering
27
27
  spec.add_dependency 'commonmarker', '~> 0.16'
@@ -37,7 +37,7 @@
37
37
 
38
38
  <!-- mobile only -->
39
39
  <div id="mobile-header">
40
- <a class="menu-button"></a>
40
+ <a class="menu-button" onclick="document.body.classList.toggle('sidebar-open')"></a>
41
41
  <a class="logo" href="<%= base_url.present? ? base_url : '/' %>">
42
42
 
43
43
  </a>
@@ -217,7 +217,7 @@ module GraphQLDocs
217
217
  {
218
218
  name: name,
219
219
  path: "#{path}/#{slugify(name)}",
220
- info: type.graphql_definition
220
+ info: type.to_type_signature
221
221
  }
222
222
  end
223
223
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphQLDocs
4
- VERSION = '2.0.0'
4
+ VERSION = '3.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: commonmarker
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -248,7 +248,7 @@ dependencies:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: '2.3'
251
- description:
251
+ description:
252
252
  email:
253
253
  - gjtorikian@gmail.com
254
254
  executables: []
@@ -340,7 +340,7 @@ homepage: https://github.com/gjtorikian/graphql-docs
340
340
  licenses:
341
341
  - MIT
342
342
  metadata: {}
343
- post_install_message:
343
+ post_install_message:
344
344
  rdoc_options: []
345
345
  require_paths:
346
346
  - lib
@@ -355,8 +355,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  - !ruby/object:Gem::Version
356
356
  version: '0'
357
357
  requirements: []
358
- rubygems_version: 3.1.2
359
- signing_key:
358
+ rubygems_version: 3.3.3
359
+ signing_key:
360
360
  specification_version: 4
361
361
  summary: Easily generate beautiful documentation from your GraphQL schema.
362
362
  test_files: []