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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 352fd084b9379469d7b4f71c86cfe94ea90172047c61c1ea2d20dced4bc85026
4
- data.tar.gz: 7eccaeb870a708fe43f2b0891a45d703b7d1fd64901efddd5323a27b6d87a77f
3
+ metadata.gz: 33248d708802eabea6e21fefa0e586fa2fb2dc0c6d00b9252316538f92911e49
4
+ data.tar.gz: d59b174e42be64bc1e4b7b63fd9d450e6e83ded86c006ac426140bc7ca3f2455
5
5
  SHA512:
6
- metadata.gz: 83ebc95cd8c33beb6f62df67c9eb7a6846f820ca7bbc2c8412aadd0b4ceb0098449c23aeaf599bcaf65db6ddd4f4d92d2029a46e5a83c2b463f26e826040156c
7
- data.tar.gz: 876549c88363f4e330bdb01416940116bb7a997ee7f22d2864a0d8c7a55b9310df7198b135d4bc1d655b22adecfc02df09e89feb7e173f5febfd4f2a0bd73f9a
6
+ metadata.gz: d016273aecd683e9993feb56af85cf5572fdc3b1c64fc591126248935a89781714bb24f8b58ad12735c36452693da8d26bcc60247f2a0bd0dd4f9865080fe065
7
+ data.tar.gz: 00e3e0270509d83d9426dedc9deb35446ba0fd5e333448072913f7eeaff1ccd85f0de5fb64c5b631e32260044431bf82c56729250b2b1f5103bb4cee7ca5f1c1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-graphql_response (0.1.0)
4
+ rspec-graphql_response (0.2.0)
5
5
  rspec (~> 3.10)
6
6
 
7
7
  GEM
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
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module GraphQLResponse
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -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", "~>3.10"
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.0
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-02 00:00:00.000000000 Z
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.10'
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: '3.10'
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: