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 +4 -4
- data/lib/graphql/client/collocated_enforcement.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa44a10bde5cd3e810def4e88b2b923317579b4
|
4
|
+
data.tar.gz: 891e83b4477895b58d12f54b00f99c0d87fbb8bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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.
|
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:
|
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.
|
169
|
+
rubygems_version: 2.5.2
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: GraphQL Client
|