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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. metadata +17 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 065cdcba6db6b8457fad1490b92d308e28391eef
4
- data.tar.gz: d8ab5426156a69f208a48aba2a6c1ca32920d06a
3
+ metadata.gz: 46554e84d99cd98c298e934d08499384426f1ebd
4
+ data.tar.gz: 1c36f19b5070012fe5435b682c6cbd1be89dc7ad
5
5
  SHA512:
6
- metadata.gz: de45eae022f04a626a22b7bda8a38a1889f6e8879e85389b4ef802755adcb45a7a7d0502455720a3ce7a186fbd56d44bb126e9dc9b13475e04f7ebf88a8c5bc7
7
- data.tar.gz: 7705bfd5c7b424d86452145acec4a3145d7a86fef118e2765f36e29ebae7c7f6e63a5fe9351f38fc84265206e19e602982c3936186b702e6b39c5cff5705b42c
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
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: 2016-10-06 00:00:00.000000000 Z
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: '0.11'
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: '0.11'
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.8
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/query_trace_spec.rb
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/spec_helper.rb
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