graphql-client 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 8c515c75369f3bc1c136a3e18a5877d6aa1ee65c
4
- data.tar.gz: 60574772e337e5c9f5c55a8a8d9706a7f023cf5c
3
+ metadata.gz: cfa44a10bde5cd3e810def4e88b2b923317579b4
4
+ data.tar.gz: 891e83b4477895b58d12f54b00f99c0d87fbb8bc
5
5
  SHA512:
6
- metadata.gz: 856ce23ee4f892333a17d7bd05fff9e467dba37063d1b963153d48f2f83bae052596c8488c9955b8dc1fe97de9a5850a1a825d1cb0fb74d5b763df2f2167f935
7
- data.tar.gz: 5f6ff195e87b28ec6e9985d352af25f30839a0663845509c0a74120ec677969702c5d21e1be27694a50a4aa248d4c30d009613942a9b385893f36d62cda47150
6
+ metadata.gz: a160d9f68d736a4b3663b0f81b0d5c989efbb4725ae3927b0e2545b814e5d1b2167579c8c666a324113f627b84b397177a58665433ce8e4a89cea8b2ee897e2e
7
+ data.tar.gz: d1c2e1ee4189490748fbe2ac18935230d86c07948f5df1e791bb333317b1f94cdb9efea5f560bf7a5591f7b5f74e0102bb9eaf8c1310023e32d3359143182218
@@ -29,10 +29,10 @@ module GraphQL
29
29
  define_method(method) do |*args, &block|
30
30
  return super(*args, &block) if Thread.current[:query_result_caller_location_ignore]
31
31
 
32
- locations = caller_locations(1)
32
+ locations = caller_locations(1, 1)
33
33
  if locations.first.path != path
34
34
  error = NonCollocatedCallerError.new("#{method} was called outside of '#{path}' https://git.io/v1syX")
35
- error.set_backtrace(locations.map(&:to_s))
35
+ error.set_backtrace(caller(1))
36
36
  raise error
37
37
  end
38
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-17 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.5.1
169
+ rubygems_version: 2.5.2
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: GraphQL Client