graphql-docs 1.3.3 → 1.3.4

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: 7b986c6fcccef9c0b62f7defee50d93c6ea31da6
4
- data.tar.gz: dfa9d6bb3a76dc05e92dd935ccb86551ccb79902
3
+ metadata.gz: 42cef7fe385194286416914af8452a76ccf6a5f1
4
+ data.tar.gz: ee5a5c551ed610f354946967535ac72f421e8d67
5
5
  SHA512:
6
- metadata.gz: a60aaaf37d14b4528eb4d66a1cd87f59ea2a0689465256df47564153a487a0115b830fc0ac2501ce612896abaf39dba808d46f340b09ff087c0e50f6d874c7b1
7
- data.tar.gz: 29b969047f68be765cac8cdcd3d7a8367b3713ec4791e9905e9d67a46712e7fa41d179dfaa67627d5b373edfbce226c3a444bd79c572d95c4590d9c12ff90f78
6
+ metadata.gz: 664c2cbb744f49cc720181d751ae61c2169dae6fc803a2d48c2a27a74e9f61f3db768e87dc723dadb76edb153191e4c04d65381833563bc048db5dc27ac8711b
7
+ data.tar.gz: 872c42d23f62fe7c4ed07e1eb421c360a96c6e37643d500a20f4e33e7cb4cc79aa6cfcf20923dc078ee3af521cac1b9af539959837f2df35d58a34f6d1ffead1
@@ -13,14 +13,14 @@ module GraphQLDocs
13
13
 
14
14
  @renderer = @options[:renderer].new(@parsed_schema, @options)
15
15
 
16
- @graphql_operation_template = ERB.new(File.read(@options[:templates][:operations]), nil, '<>')
17
- @graphql_object_template = ERB.new(File.read(@options[:templates][:objects]), nil, '<>')
18
- @graphql_mutations_template = ERB.new(File.read(@options[:templates][:mutations]), nil, '<>')
19
- @graphql_interfaces_template = ERB.new(File.read(@options[:templates][:interfaces]), nil, '<>')
20
- @graphql_enums_template = ERB.new(File.read(@options[:templates][:enums]), nil, '<>')
21
- @graphql_unions_template = ERB.new(File.read(@options[:templates][:unions]), nil, '<>')
22
- @graphql_input_objects_template = ERB.new(File.read(@options[:templates][:input_objects]), nil, '<>')
23
- @graphql_scalars_template = ERB.new(File.read(@options[:templates][:scalars]), nil, '<>')
16
+ @graphql_operation_template = ERB.new(File.read(@options[:templates][:operations]), nil, '>')
17
+ @graphql_object_template = ERB.new(File.read(@options[:templates][:objects]), nil, '>')
18
+ @graphql_mutations_template = ERB.new(File.read(@options[:templates][:mutations]), nil, '>')
19
+ @graphql_interfaces_template = ERB.new(File.read(@options[:templates][:interfaces]), nil, '>')
20
+ @graphql_enums_template = ERB.new(File.read(@options[:templates][:enums]), nil, '>')
21
+ @graphql_unions_template = ERB.new(File.read(@options[:templates][:unions]), nil, '>')
22
+ @graphql_input_objects_template = ERB.new(File.read(@options[:templates][:input_objects]), nil, '>')
23
+ @graphql_scalars_template = ERB.new(File.read(@options[:templates][:scalars]), nil, '>')
24
24
  end
25
25
 
26
26
  def generate
@@ -87,7 +87,7 @@ module GraphQLDocs
87
87
 
88
88
  contents = File.read(File.join(@options[:templates][:includes], filename))
89
89
 
90
- @templates[filename] = ERB.new(contents, nil, '<>')
90
+ @templates[filename] = ERB.new(contents, nil, '>')
91
91
  end
92
92
 
93
93
  def helper_methods
@@ -1,3 +1,3 @@
1
1
  module GraphQLDocs
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  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.3.3
4
+ version: 1.3.4
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-03-20 00:00:00.000000000 Z
11
+ date: 2018-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql