graphql_rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/graphql_rails/rspec_controller_helpers.rb +13 -0
- data/lib/graphql_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37d3a8bef6d9bc2d8aa9588b82f545691850873986145c06d275430aa914bf0d
|
4
|
+
data.tar.gz: 9abf27f97be2c8a7c58d2c9d10a2cc9adfc6e020aba1ba8152c02732f6e282c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58b379e8c492e287a44d3b1f0802566dc222c67744b5ecf4560240c77680b209224e320025c6a56eb5fe218e3a20b6734747b04aed7ef1bd403229ee7cde1602
|
7
|
+
data.tar.gz: 52a947aab1faf8b8cf1249527ede28dfd58e0c4f5dcb080e6c1c621bbd09372b47202b3cea8a18883a83fbdea5462204b49cb7a12bbf7db398d9bc0e3f78e04e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
graphql_rails (0.3.
|
4
|
+
graphql_rails (0.3.1)
|
5
5
|
activesupport (>= 4)
|
6
6
|
graphql (~> 1)
|
7
7
|
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
concurrent-ruby (1.0.5)
|
30
30
|
diff-lcs (1.3)
|
31
31
|
docile (1.3.0)
|
32
|
-
graphql (1.8.
|
32
|
+
graphql (1.8.2)
|
33
33
|
i18n (1.0.1)
|
34
34
|
concurrent-ruby (~> 1.0)
|
35
35
|
json (2.1.0)
|
@@ -65,6 +65,19 @@ module GraphqlRails
|
|
65
65
|
def add_error(error)
|
66
66
|
@errors << error
|
67
67
|
end
|
68
|
+
|
69
|
+
def schema
|
70
|
+
FakeSchema.new
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# instance which has similar behavior as
|
75
|
+
class FakeSchema
|
76
|
+
def initialize; end
|
77
|
+
|
78
|
+
def cursor_encoder
|
79
|
+
GraphQL::Schema::Base64Encoder
|
80
|
+
end
|
68
81
|
end
|
69
82
|
|
70
83
|
# controller request object more suitable for testing
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Povilas Jurčys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|