graphql-docs 3.0.0 → 3.0.1

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: 3ca599041fe6ba5b75ea79e1d2bccfdb5dc435522b4bcfadffa6e1adadcdf6fb
4
- data.tar.gz: a71dada7196b3871d7256e3de1aa0803fd6665ed5906ae1eead4df5ddb27714f
3
+ metadata.gz: 99086c3e1811e349aa9ea5cec00715e8d4809ed3645a7b4ca6867a945958ad9b
4
+ data.tar.gz: e46166af01f325dd73dd6f328c070c8d23437fc6e4e8734b22d4607462b9eea6
5
5
  SHA512:
6
- metadata.gz: 8f4511d2a9626a283421983d217e4d0b2dcb3ecf59c5fef6d029f9e2ca6a692adf08930fe2f91ebc2915975d8a1f29172d34215d8c91bf74522b40edfbe7b1e7
7
- data.tar.gz: 9b04dd1b8018a68f4170ce1a4dd71e9592d4b892067043b390b6ca48d205026b9c611dc7e6b04fc297caf451a4950f80b75112d9be34c2569de5b9f17b439307
6
+ metadata.gz: c464e56c73fc3ffdd31a89a1793e3c3fdb3014766f05d6ea4d95bcf158302a0a506b2278fd36f4994660b92f38dd8769cc1901c343ddda5bddb41714a593ad56
7
+ data.tar.gz: 3ca5e79abb61fa954695ea37c4368bbcfcf43ca5a3269bd800ea3595abcbde686a4006978393d192a9d862a9dfd72a25e320a818433c77fdfcbb04483d0d21ac
@@ -0,0 +1,21 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+
9
+ strategy:
10
+ matrix:
11
+ ruby-version: [3.1.2, 3.0.4, 2.7.6, 2.6.10, 2.5.9]
12
+
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Ruby ${{ matrix.ruby-version }}
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby-version }}
19
+ bundler-cache: true
20
+ - name: Run the test suite
21
+ run: bundle exec rake
data/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # graphql-docs Changelog
2
+
3
+ A concise overview of the public-facing changes to the gem from version to version. Does not include internal changes to the dev experience for the gem.
4
+
5
+ ## v3.0.1
6
+
7
+ - fix: Relieves `EscapeUtils.escape_html is deprecated. Use GCI.escapeHTML instead, it's faster` deprecation warning until it gets released in an downstream dependency
8
+ - meta: Maintainership change from [gjtorikian](https://github.com/gjtorikian) to [brettchalupa](https://github.com/brettchalupa)
9
+
10
+ ## v3.0.0
11
+
12
+ - Upgrades `graphql` gem to the 2.x series
data/LICENSE.txt CHANGED
@@ -1,4 +1,5 @@
1
1
  Copyright (c) 2017 Garen Torikian
2
+ Copyright (c) 2022 Brett Chalupa
2
3
 
3
4
  MIT License
4
5
 
data/README.md CHANGED
@@ -194,3 +194,7 @@ bundle exec rake sample
194
194
  ```
195
195
 
196
196
  to see some sample output.
197
+
198
+ ## Credits
199
+
200
+ Originally built by [gjtorikian](https://github.com/gjtorikian). Actively maintained by [brettchalupa](https://github.com/brettchalupa).
data/graphql-docs.gemspec CHANGED
@@ -7,12 +7,24 @@ require 'graphql-docs/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'graphql-docs'
9
9
  spec.version = GraphQLDocs::VERSION
10
- spec.authors = ['Garen Torikian']
11
- spec.email = ['gjtorikian@gmail.com']
10
+ spec.authors = ['Brett Chalupa', 'Garen Torikian']
11
+ spec.email = ['brettchalupa@gmail.com']
12
12
 
13
13
  spec.summary = 'Easily generate beautiful documentation from your GraphQL schema.'
14
- spec.homepage = 'https://github.com/gjtorikian/graphql-docs'
14
+ spec.description = <<-EOF
15
+ GraphQLDocs is a library for generating HTML from a GraphQL API's schema
16
+ definition. With ERB templating support and a plethora of configuration
17
+ options, you can customize the output to your needs. The library easily
18
+ integrates with your Ruby deployment toolchain to ensure the docs for your
19
+ API are up to date.
20
+ EOF
21
+ spec.homepage = 'https://github.com/brettchalupa/graphql-docs'
15
22
  spec.license = 'MIT'
23
+ spec.metadata = {
24
+ "bug_tracker_uri" => "https://github.com/brettchalupa/graphql-docs/issues",
25
+ "changelog_uri" => "https://github.com/brettchalupa/graphql-docs/blob/main/CHANGELOG.md",
26
+ "wiki_uri" => "https://github.com/brettchalupa/graphql-docs/wiki",
27
+ }
16
28
 
17
29
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
30
  f.match(%r{^(test|spec|features)/})
@@ -25,7 +37,7 @@ Gem::Specification.new do |spec|
25
37
 
26
38
  # rendering
27
39
  spec.add_dependency 'commonmarker', '~> 0.16'
28
- spec.add_dependency 'escape_utils', '~> 1.2'
40
+ spec.add_dependency 'escape_utils', '~> 1.2.2'
29
41
  spec.add_dependency 'extended-markdown-filter', '~> 0.4'
30
42
  spec.add_dependency 'gemoji', '~> 3.0'
31
43
  spec.add_dependency 'html-pipeline', '~> 2.9'
@@ -41,4 +53,5 @@ Gem::Specification.new do |spec|
41
53
  spec.add_development_dependency 'rubocop-performance'
42
54
  spec.add_development_dependency 'rubocop-standard'
43
55
  spec.add_development_dependency 'webmock', '~> 2.3'
56
+ spec.add_development_dependency 'webrick', '~> 1.7'
44
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphQLDocs
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
+ - Brett Chalupa
7
8
  - Garen Torikian
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
12
+ date: 2022-10-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: graphql
@@ -44,14 +45,14 @@ dependencies:
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
- version: '1.2'
48
+ version: 1.2.2
48
49
  type: :runtime
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - "~>"
53
54
  - !ruby/object:Gem::Version
54
- version: '1.2'
55
+ version: 1.2.2
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: extended-markdown-filter
57
58
  requirement: !ruby/object:Gem::Requirement
@@ -248,17 +249,36 @@ dependencies:
248
249
  - - "~>"
249
250
  - !ruby/object:Gem::Version
250
251
  version: '2.3'
251
- description:
252
+ - !ruby/object:Gem::Dependency
253
+ name: webrick
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: '1.7'
259
+ type: :development
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: '1.7'
266
+ description: |2
267
+ GraphQLDocs is a library for generating HTML from a GraphQL API's schema
268
+ definition. With ERB templating support and a plethora of configuration
269
+ options, you can customize the output to your needs. The library easily
270
+ integrates with your Ruby deployment toolchain to ensure the docs for your
271
+ API are up to date.
252
272
  email:
253
- - gjtorikian@gmail.com
273
+ - brettchalupa@gmail.com
254
274
  executables: []
255
275
  extensions: []
256
276
  extra_rdoc_files: []
257
277
  files:
258
- - ".github/FUNDING.yml"
278
+ - ".github/workflows/tests.yml"
259
279
  - ".gitignore"
260
280
  - ".rubocop.yml"
261
- - ".travis.yml"
281
+ - CHANGELOG.md
262
282
  - Gemfile
263
283
  - LICENSE.txt
264
284
  - README.md
@@ -336,10 +356,13 @@ files:
336
356
  - lib/graphql-docs/version.rb
337
357
  - script/bootstrap
338
358
  - script/console
339
- homepage: https://github.com/gjtorikian/graphql-docs
359
+ homepage: https://github.com/brettchalupa/graphql-docs
340
360
  licenses:
341
361
  - MIT
342
- metadata: {}
362
+ metadata:
363
+ bug_tracker_uri: https://github.com/brettchalupa/graphql-docs/issues
364
+ changelog_uri: https://github.com/brettchalupa/graphql-docs/blob/main/CHANGELOG.md
365
+ wiki_uri: https://github.com/brettchalupa/graphql-docs/wiki
343
366
  post_install_message:
344
367
  rdoc_options: []
345
368
  require_paths:
@@ -355,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
378
  - !ruby/object:Gem::Version
356
379
  version: '0'
357
380
  requirements: []
358
- rubygems_version: 3.3.3
381
+ rubygems_version: 3.3.22
359
382
  signing_key:
360
383
  specification_version: 4
361
384
  summary: Easily generate beautiful documentation from your GraphQL schema.
data/.github/FUNDING.yml DELETED
@@ -1,12 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: gjtorikian
4
- patreon: gjtorikian
5
- open_collective: garen-torikian
6
- #ko_fi: # Replace with a single Ko-fi username
7
- #tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
- #community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- #liberapay: # Replace with a single Liberapay username
10
- issuehunt: gjtorikian
11
- #otechie: # Replace with a single Otechie username
12
- #custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
-
5
- rvm:
6
- - 2.4.9
7
- - 2.5.7
8
- - 2.6.5
9
- - 2.7.0
10
-
11
- git:
12
- depth: 10
13
-
14
- before_install:
15
- - gem update --system
16
- - gem install bundler
17
-
18
- matrix:
19
- include:
20
- - script: bundle exec rake rubocop
21
- rvm: 2.6.0
22
- - script: bundle exec rake html_proofer
23
- rvm: 2.6.0