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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1992c4572ac3e3e1200b6d30fbd26643b2217f6bc8770265bb3c85e36f8f6b70
4
- data.tar.gz: c4f29574be27726a6a62c4f79c950c816038be987f249386d76bfbf5621737f8
3
+ metadata.gz: 73d57da52abe0701765d0a4e82cc715122ea1873b0a338165922dd4cc5850524
4
+ data.tar.gz: 758b9c0bbeaee55f163da3c37afa82ea39a39895e251b451e81077682eecccd4
5
5
  SHA512:
6
- metadata.gz: b060bb971fa11038c8612e194af8fc1910f1dd4309457443054c1bd1129f75287f81e7cde78bffc067407667bf5c3235422bdf244d5cfa2aef8ee2f208b73c05
7
- data.tar.gz: 7bd5191b168fd8f0077e91d5fa49022a7fad859fb4e6fdc7725a9e9b15a481da537105d8e59f69a54990fb49c9fa9e72349f28304d42ae7653a19122e79cd0bc
6
+ metadata.gz: 6998816e11ead713e01ca10677e45f58e101e615b165ccda2c385c079f0348fa9b1949d54bfee287ebab8c2271d685cdc54319f414a0740dd2bf7445dda01028
7
+ data.tar.gz: 2e724d24dc3e622c1ca98901b3bf33031fab226041053e5327e5234519dd2670bde18e037ebdd06cb91897b6bf39c2e0a87bf005966dfa5183b65734faff8028
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ rspec-graphql_types.iml
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rspec
4
4
  module GraphQLTypes
5
- VERSION = "1.0.3"
5
+ VERSION = "1.0.4"
6
6
  end
7
7
  end
@@ -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.3
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: 2021-09-15 00:00:00.000000000 Z
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.3
85
+ rubygems_version: 3.2.32
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Test out types in ruby graphql