graphql-docs 2.1.0 → 3.0.1

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: f020e4e5b4934ba5304c8b806fe7467580a69d6cf1c46bcfdb9da87616e5d7a2
4
- data.tar.gz: 46221390779db63e655ee6056cb73e82d428d3e1447e49668023bf0adc0f3a50
3
+ metadata.gz: 99086c3e1811e349aa9ea5cec00715e8d4809ed3645a7b4ca6867a945958ad9b
4
+ data.tar.gz: e46166af01f325dd73dd6f328c070c8d23437fc6e4e8734b22d4607462b9eea6
5
5
  SHA512:
6
- metadata.gz: 1ea882325c99359946bc746a83e4b83c91bebd904b9021fb0ec28122a3f8a2d5ffeec287b15aefa5c83616442b6c5aa1b0d2ba7a426422270871d92cfcae5933
7
- data.tar.gz: 57ad8d227e62610adb18e519e19dcdfef9254270244fe422afc0ff66357e5c3a03e1d5195d56a5d53e3f495da913a7b1bd63afeaada3b3c2a843229b2b0395bf
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)/})
@@ -21,11 +33,11 @@ Gem::Specification.new do |spec|
21
33
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
34
  spec.require_paths = ['lib']
23
35
 
24
- spec.add_dependency 'graphql', '~> 1.12'
36
+ spec.add_dependency 'graphql', '~> 2.0'
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 = '2.1.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: 2.1.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: 2021-12-30 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
@@ -16,14 +17,14 @@ dependencies:
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '1.12'
20
+ version: '2.0'
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - "~>"
25
26
  - !ruby/object:Gem::Version
26
- version: '1.12'
27
+ version: '2.0'
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: commonmarker
29
30
  requirement: !ruby/object:Gem::Requirement
@@ -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.2.33
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