rspec-graphql_response 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/rspec/graphql_response/version.rb +1 -1
- data/rspec-graphql_response.gemspec +2 -2
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33248d708802eabea6e21fefa0e586fa2fb2dc0c6d00b9252316538f92911e49
|
4
|
+
data.tar.gz: d59b174e42be64bc1e4b7b63fd9d450e6e83ded86c006ac426140bc7ca3f2455
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d016273aecd683e9993feb56af85cf5572fdc3b1c64fc591126248935a89781714bb24f8b58ad12735c36452693da8d26bcc60247f2a0bd0dd4f9865080fe065
|
7
|
+
data.tar.gz: 00e3e0270509d83d9426dedc9deb35446ba0fd5e333448072913f7eeaff1ccd85f0de5fb64c5b631e32260044431bf82c56729250b2b1f5103bb4cee7ca5f1c1
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -44,12 +44,12 @@ Custom Matchers:
|
|
44
44
|
* [have_operation](/docs/have_operation.md) - validates the presence of a specified graphql operation in the graphql response
|
45
45
|
|
46
46
|
Context / Describe Helper Methods:
|
47
|
-
* [execute_graphql](/docs/execute_graphql.md) - executes a graphql call with the registered schema, query, variables and context
|
48
47
|
* [graphql_query](/docs/execute_graphql.md) - the query to execute
|
49
48
|
* [graphql_variables](/docs/execute_graphql.md) - a hash of variables the query expects
|
50
49
|
* [graphql_context](/docs/execute_graphql.md) - the `context` of a query or mutation's resolver
|
51
50
|
|
52
51
|
Spec Helper Methods:
|
52
|
+
* [execute_graphql](/docs/execute_graphql.md) - executes a graphql call with the registered schema, query, variables and context
|
53
53
|
* [response](/docs/response.md) - the response, as JSON, of the executed graphql query
|
54
54
|
* [operation](/docs/operation.md) - retrieves the results of a named operation from the GraphQL response
|
55
55
|
|
@@ -26,10 +26,10 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 1.17"
|
29
|
-
spec.add_development_dependency "graphql", "~> 1.12"
|
30
29
|
spec.add_development_dependency "rake", ">= 12.0"
|
31
30
|
spec.add_development_dependency "pry", "~> 0.14"
|
32
31
|
spec.add_development_dependency "pry-byebug", "~> 3.8"
|
33
32
|
|
34
|
-
spec.add_runtime_dependency "rspec", "
|
33
|
+
spec.add_runtime_dependency "rspec", ">= 3.0"
|
34
|
+
spec.add_runtime_dependency "graphql", ">= 1.0"
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-graphql_response
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- River Lynn Bailey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.17'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: graphql
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.12'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.12'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,16 +70,30 @@ dependencies:
|
|
84
70
|
name: rspec
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- - "
|
73
|
+
- - ">="
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
75
|
+
version: '3.0'
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- - "
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: graphql
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '1.0'
|
97
97
|
description: Adds a :graphql rspec type with built-in helpers and matchers for ruby-graphql
|
98
98
|
gem responses
|
99
99
|
email:
|