rspec-graphql_types 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/rspec/graphql_types/version.rb +1 -1
- data/lib/rspec/graphql_types.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73d57da52abe0701765d0a4e82cc715122ea1873b0a338165922dd4cc5850524
|
4
|
+
data.tar.gz: 758b9c0bbeaee55f163da3c37afa82ea39a39895e251b451e81077682eecccd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6998816e11ead713e01ca10677e45f58e101e615b165ccda2c385c079f0348fa9b1949d54bfee287ebab8c2271d685cdc54319f414a0740dd2bf7445dda01028
|
7
|
+
data.tar.gz: 2e724d24dc3e622c1ca98901b3bf33031fab226041053e5327e5234519dd2670bde18e037ebdd06cb91897b6bf39c2e0a87bf005966dfa5183b65734faff8028
|
data/.gitignore
CHANGED
data/lib/rspec/graphql_types.rb
CHANGED
@@ -71,7 +71,7 @@ module Rspec
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def self.schema_class
|
74
|
-
schemas = GraphQL::Schema.subclasses
|
74
|
+
schemas = GraphQL::Schema.subclasses.filter { |schema| !schema.name.start_with?("GraphQL::") }
|
75
75
|
raise "Could not find valid schema. Please ensure that GraphQL::Schema.subclasses returns a single schema" unless schemas.length == 1
|
76
76
|
schemas.first
|
77
77
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-graphql_types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tejas Dinkar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
|
-
rubygems_version: 3.2.
|
85
|
+
rubygems_version: 3.2.32
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Test out types in ruby graphql
|