graphql-docs 0.5.2 → 0.5.3

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: '08c344f74ac05517f6f65431b29837ff6500aa4f'
4
- data.tar.gz: efb0d12f8da515fc46b3943849a6675c74499422
3
+ metadata.gz: 75636574c56be07c5a32dc282ccc84f3279699c1
4
+ data.tar.gz: b854dfae6ffb2e0a89bcb5fd05feb5d418a688fa
5
5
  SHA512:
6
- metadata.gz: 5d9e36b94ad81ac4effd46db4ba75d353b89a109c3bf07686610e019900e29e97eea5bb8a82d32f1232eea055e6653b1af26840a0235d0084e713085482078f8
7
- data.tar.gz: a1c1506126662ff5c222cdce86f574d82bab74ae1ad334f9b5bae5d4f9a2a78175583a3cadaf714d56d432f047f08fe2a6f2c9b898f102a0909655c129343756
6
+ metadata.gz: 57b81685fdc78ab8f79c15e4f4cfc56c19e15e981aafc1d3e0cc39e9570db3a0c508aa8699beee2c9aa4ef6fb54b17586c698b96e39f0282d5af582c7be42c7f
7
+ data.tar.gz: f09869bad79289c9df840bc98b770570b3ca46185682a08fbcc04c2e6bcdd5c495cb18bbc098eb8f49e8632210541e590924d178da30fbdc460a44e65bd0c3dd
@@ -78,31 +78,31 @@ module GraphQLDocs
78
78
  end
79
79
 
80
80
  def graphql_mutation_types
81
- @parsed_schema['mutation_types']
81
+ @parsed_schema['mutation_types'] || []
82
82
  end
83
83
 
84
84
  def graphql_object_types
85
- @parsed_schema['object_types']
85
+ @parsed_schema['object_types'] || []
86
86
  end
87
87
 
88
88
  def graphql_interface_types
89
- @parsed_schema['interface_types']
89
+ @parsed_schema['interface_types'] || []
90
90
  end
91
91
 
92
92
  def graphql_enum_types
93
- @parsed_schema['enum_types']
93
+ @parsed_schema['enum_types'] || []
94
94
  end
95
95
 
96
96
  def graphql_union_types
97
- @parsed_schema['union_types']
97
+ @parsed_schema['union_types'] || []
98
98
  end
99
99
 
100
100
  def graphql_input_object_types
101
- @parsed_schema['input_object_types']
101
+ @parsed_schema['input_object_types'] || []
102
102
  end
103
103
 
104
104
  def graphql_scalar_types
105
- @parsed_schema['scalar_types']
105
+ @parsed_schema['scalar_types'] || []
106
106
  end
107
107
 
108
108
  private
@@ -1,3 +1,3 @@
1
1
  module GraphQLDocs
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
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: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian