graphql-docs 1.0.0.pre3 → 1.0.0.pre4

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: 264a575490a5ac4ef54c6aa8597d34483b17e402
4
- data.tar.gz: fbc39afcf946b906866d749da9889ab3a3abdb72
3
+ metadata.gz: a864de567fc6468cb545315f9476ffb4ac0df536
4
+ data.tar.gz: 403cece04921e5e0d7365e2f30297200578011ab
5
5
  SHA512:
6
- metadata.gz: 7ff094577aead37f01f447087c1fb01396ed7ad4f176c41ee2f389faf6ebde32236406db331c2c281e4140a6da941f273ab57ec3b70c3f7b2ae7391b938c74b7
7
- data.tar.gz: 30c56545dfb676f0814211c80d9f9fda55378907d5c643b06ae1628ca11d7451fd3d56735c6ffb40a0ffa26c9252a53f2d6ae697bbe46d6b0e7e124350b18e74
6
+ metadata.gz: ebf51ea2a7bcb3a31dd46ffb693d4f54fa15e60752f8cb9da5501064283e7b2066623271afdab86952f70bc8cae525f2b18e4626afe5ee04a4e56c778d4ce18e
7
+ data.tar.gz: bad1c8688cd9de464010c4cfd9467a05ab5cc1fe60cd17a74398451db677b3a4f521bcbe9879f46dab06fb734156bc71b2e6defcf246ba000c07842a8104dd84
@@ -7,7 +7,7 @@
7
7
  </tr>
8
8
  </thead>
9
9
  <tbody>
10
- <% args.each do |argument| %>
10
+ <% arguments.each do |argument| %>
11
11
  <tr>
12
12
  <td><code><%= argument[:name] %></code></td>
13
13
  <td>
@@ -6,7 +6,9 @@
6
6
  <div class="description-wrapper">
7
7
  <p><%= connection[:description] %></p>
8
8
 
9
- <%= include.('arguments.html', args: connection[:arguments]) %>
9
+ <% unless connection[:arguments].empty? %>
10
+ <%= include.('arguments.html', arguments: connection[:arguments]) %>
11
+ <% end %>
10
12
  </div>
11
13
  </div>
12
14
 
@@ -13,7 +13,9 @@
13
13
 
14
14
  <%= markdownify.(field[:description]) %>
15
15
 
16
- <%= include.('arguments.html', args: field[:arguments]) %>
16
+ <% unless field[:arguments].empty? %>
17
+ <%= include.('arguments.html', arguments: field[:arguments]) %>
18
+ <% end %>
17
19
 
18
20
  </div>
19
21
  </div>
@@ -6,7 +6,9 @@
6
6
  <div class="description-wrapper">
7
7
  <%= field[:description] %>
8
8
 
9
- <%= include.('arguments.html', args: field[:args]) %>
9
+ <% unless field[:arguments].empty? %>
10
+ <%= include.('arguments.html', arguments: field[:arguments]) %>
11
+ <% end %>
10
12
  </div>
11
13
  </div>
12
14
 
@@ -1,3 +1,3 @@
1
1
  module GraphQLDocs
2
- VERSION = '1.0.0.pre3'
2
+ VERSION = '1.0.0.pre4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre3
4
+ version: 1.0.0.pre4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian