graphql-docs 1.5.0 → 1.6.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
  SHA1:
3
- metadata.gz: 1be3cf99394c17dec2e6808c2190bcde9ab6853b
4
- data.tar.gz: c90aea1970848013e577153479682d043a8491c4
3
+ metadata.gz: 209480e5ab88c1262d0afafa04e3b435705dbe9b
4
+ data.tar.gz: cbdf610677b8ff1013dbadada46a5b521782462f
5
5
  SHA512:
6
- metadata.gz: 1612ff5cd6464ab3b9397782e8b7c6cd169d2259f23d418ce0cf35fa10c379950d3acf1187576fea4a112cb89a4caf156de4c6e5f57324cd75c344326da4bb41
7
- data.tar.gz: 7abb66d7a2eeb1d561b908bad5eb549771507c956b5a631761439254f42b2180f324bead506bccf46be5ed6b0931cb28767c654f8bf6ed7f313ee9f98abd0271
6
+ metadata.gz: d587d8dadf631a40ad65da7e9e7f4bac0b262543b60ba2be0ac2b7e9ed767c19ed94a67acd6444f4606f58403771ccc764ca7ae90876700e2d26840822b18a5d
7
+ data.tar.gz: ac03a0a77a0dd1c0a8c963206bc8502eca9bf956560bfc492afc6dd43ae0937edfd7736e56eeacf686698f1489ea4e27c93e1db4cdc2d17635ef762715ee11e0
data/Gemfile CHANGED
@@ -1,8 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  source 'https://rubygems.org'
3
3
 
4
- gem 'commonmarker', '~> 0.16', require: false
5
- gem 'rubocop', require: false
6
-
7
4
  # Specify your gem's dependencies in graphql-docs.gemspec
8
5
  gemspec
data/README.md CHANGED
@@ -107,8 +107,6 @@ In your ERB layouts, there are several helper methods you can use. The helper me
107
107
 
108
108
  To call these methods within templates, you must use the dot notation, such as `<%= slugify.(text) %>`.
109
109
 
110
- For `markdownify`, `CommonMarker` is not enabled by default (because it relies on native code). You will need to add `require 'commonmarker'` if you wish to use it.
111
-
112
110
  ## Configuration
113
111
 
114
112
  The following options are available:
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'graphql', '~> 1.6'
25
25
 
26
26
  # rendering
27
+ spec.add_dependency 'commonmarker', '~> 0.16'
27
28
  spec.add_dependency 'html-pipeline', '~> 2.8'
28
29
  spec.add_dependency 'escape_utils', '~> 1.2'
29
30
  spec.add_dependency 'extended-markdown-filter', '~> 0.4'
@@ -37,6 +38,7 @@ Gem::Specification.new do |spec|
37
38
  spec.add_development_dependency 'minitest-focus', '~> 1.1'
38
39
  spec.add_development_dependency 'pry-byebug', '~> 3.6'
39
40
  spec.add_development_dependency 'rake'
41
+ spec.add_development_dependency 'rubocop'
40
42
  spec.add_development_dependency 'rubocop-github'
41
43
  spec.add_development_dependency 'webmock', '~> 2.3'
42
44
  end
@@ -1,4 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
3
+ require 'commonmarker'
4
+
2
5
  module GraphQLDocs
3
6
  module Helpers
4
7
  SLUGIFY_PRETTY_REGEXP = Regexp.new("[^[:alnum:]._~!$&'()+,;=@]+").freeze
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQLDocs
3
- VERSION = '1.5.0'.freeze
3
+ VERSION = '1.6.0'.freeze
4
4
  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: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2018-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: commonmarker
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.16'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.16'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: html-pipeline
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +206,20 @@ dependencies:
192
206
  - - ">="
193
207
  - !ruby/object:Gem::Version
194
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
195
223
  - !ruby/object:Gem::Dependency
196
224
  name: rubocop-github
197
225
  requirement: !ruby/object:Gem::Requirement