graphql-parallel 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
  SHA1:
3
- metadata.gz: 5b2a2e784af46ceed7032e7ffaab4075b8bf897b
4
- data.tar.gz: 0f49c66790deb0ab0ccad4b48f409597e7ef0618
3
+ metadata.gz: 9fd6c7d63866d8836f321891ec39346a7dd3e6c8
4
+ data.tar.gz: 631f9990f0f5e06612040a28207634b30a2ba3bf
5
5
  SHA512:
6
- metadata.gz: 5bc1a302393ff90178406b0df8f699f3a96ccd38a60040d54f3083b79c46b1607ac9cae936fb0d7b7d5db8e9b2ba3c3fcf22e08a7d3ba301dd18ad23f25bde5a
7
- data.tar.gz: 40d9e6fe8592b383ae02f8702d6e54a8bd7592ebb6db0a3491529dd0aee3b4ad3e0ece2a9b925700a8d4b56a431946bf7f65976d052cdd808be8fe516557dce1
6
+ metadata.gz: db23b51a493acc332e9f2e2c96551fe8ea96b0b6578eeed5c3344460a42973dd1b38001386e871cd0979fd257cb20eb22915a812e468576b4c64be5212a2d531
7
+ data.tar.gz: 2da328cb35d1bbfd243a9aa9e77c6135dd760b596a05787261ac78c9887b130657bb797db00c5ee5104a1fb480167605c11d3bb4635d9348723a9599b6b9b233
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/rmosolgo/graphql-parallel.svg?branch=master)](https://travis-ci.org/rmosolgo/graphql-parallel)
4
4
 
5
- Provides one layer of asynchronous field resolution to the [`graphql` gem](https://github.com/rmosolgo/graphql-ruby), backed Celluloid.
5
+ Provides one layer of asynchronous field resolution to the [`graphql` gem](https://github.com/rmosolgo/graphql-ruby), backed by Celluloid.
6
6
 
7
7
  ## Installation
8
8
 
@@ -1,6 +1,6 @@
1
1
  module GraphQL
2
2
  module Parallel
3
- class ExecutionStrategy < GraphQL::Query::BaseExecution
3
+ class ExecutionStrategy < GraphQL::Query::SerialExecution
4
4
  def initialize
5
5
  # Why isn't `require "celluloid/current"` enough here?
6
6
  Celluloid.boot unless Celluloid.running?
@@ -55,9 +55,6 @@ module GraphQL
55
55
  end
56
56
  end
57
57
 
58
- class SelectionResolution < GraphQL::Query::SerialExecution::SelectionResolution
59
- end
60
-
61
58
  class FieldResolution < GraphQL::Query::SerialExecution::FieldResolution
62
59
  def get_finished_value(raw_value)
63
60
  if raw_value.is_a?(Celluloid::Future)
@@ -67,12 +64,6 @@ module GraphQL
67
64
  end
68
65
  end
69
66
  end
70
-
71
- class InlineFragmentResolution < GraphQL::Query::SerialExecution::InlineFragmentResolution
72
- end
73
-
74
- class FragmentSpreadResolution < GraphQL::Query::SerialExecution::FragmentSpreadResolution
75
- end
76
67
  end
77
68
  end
78
69
  end
@@ -1,5 +1,5 @@
1
1
  module Graphql
2
2
  module Parallel
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-parallel
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
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql