optics-agent 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- metadata +17 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46554e84d99cd98c298e934d08499384426f1ebd
|
4
|
+
data.tar.gz: 1c36f19b5070012fe5435b682c6cbd1be89dc7ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbd871d6848fec2b119d3644b4f88cae7744c5534dcebabfc4271011c8a2756340de3b58206eb2bcb7551ab359a6c6822d88c9f1949d9f1f17b3f1101792ce9e
|
7
|
+
data.tar.gz: 8e7a45961defcf8ba3dba77e6a771c61c9451dfb13fc75ce2ad2f570f544f6a07a3e84902f18a024ea7f9f176fd1c90eb6f9d39f44d1425d97998071b3cb3649
|
data/README.md
CHANGED
@@ -42,7 +42,7 @@ def create
|
|
42
42
|
context: {
|
43
43
|
# This is the key line: we take the optics_agent passed in from the
|
44
44
|
# Rack environment and pass it as context
|
45
|
-
optics_agent: env[:optics_agent]
|
45
|
+
optics_agent: request.env[:optics_agent]
|
46
46
|
}
|
47
47
|
)
|
48
48
|
|
@@ -138,7 +138,7 @@ Solution: Ensure you are passing your schema to the agent [configuration](#confi
|
|
138
138
|
|
139
139
|
### Message: No agent passed in graphql context
|
140
140
|
|
141
|
-
Solution: Ensure you are passing `context: { optics_agent: env[:optics_agent].with_document(query_string) }` where `env` is the Rack request environment, and `query_string` is the string representing your query. See the [setup instructions](#rails-setup) for more details.
|
141
|
+
Solution: Ensure you are passing `context: { optics_agent: request.env[:optics_agent].with_document(query_string) }` where `request.env` is the Rack request environment, and `query_string` is the string representing your query. See the [setup instructions](#rails-setup) for more details.
|
142
142
|
|
143
143
|
### Debugging
|
144
144
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optics-agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meteor Development Group
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -44,14 +44,20 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.9.0
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0.12'
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
57
|
+
version: 0.9.0
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.12'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: net-http-persistent
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,20 +176,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
176
|
version: '0'
|
171
177
|
requirements: []
|
172
178
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.6.
|
179
|
+
rubygems_version: 2.6.11
|
174
180
|
signing_key:
|
175
181
|
specification_version: 4
|
176
182
|
summary: An Agent for Apollo Optics
|
177
183
|
test_files:
|
178
184
|
- spec/benchmark/benchmark.rb
|
179
|
-
- spec/field_connection_instrumenter_spec.rb
|
180
|
-
- spec/field_instrumenter_spec.rb
|
181
185
|
- spec/latency_spec.rb
|
182
186
|
- spec/query-normalization_spec.rb
|
183
|
-
- spec/
|
187
|
+
- spec/spec_helper.rb
|
184
188
|
- spec/report_spec.rb
|
185
|
-
- spec/schema-introspection_spec.rb
|
186
|
-
- spec/schema_spec.rb
|
187
189
|
- spec/spec.iml
|
188
|
-
- spec/
|
190
|
+
- spec/field_instrumenter_spec.rb
|
191
|
+
- spec/query_trace_spec.rb
|
192
|
+
- spec/schema-introspection_spec.rb
|
189
193
|
- spec/support/create_starwars_schema.rb
|
194
|
+
- spec/field_connection_instrumenter_spec.rb
|
195
|
+
- spec/schema_spec.rb
|