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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84843dfb2dd6c8069ceca77154dfe4f4c81322ef312c8aff9be52256fce1f24b
4
- data.tar.gz: df3429323db4fd4810ea247e9336d5ede5fb8642683f777f89ce73b901144b26
3
+ metadata.gz: 37d3a8bef6d9bc2d8aa9588b82f545691850873986145c06d275430aa914bf0d
4
+ data.tar.gz: 9abf27f97be2c8a7c58d2c9d10a2cc9adfc6e020aba1ba8152c02732f6e282c7
5
5
  SHA512:
6
- metadata.gz: ff6b7212f18149590204f784755df54eeb2aa8fa93f2f8e242b86f203983cd2b556c5b3ae93ebef3e441cc094d750b6d3d935518eda15e54e8b775b366c979cc
7
- data.tar.gz: a00e8e0f625dbfe527cfc3fcc9ec89ab83f3256e72b1ec4efc986a752dcb78c53f412880cf1b1426125be019b95126bcf6bc62025c9824006f0f02eba3017544
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.0)
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.0)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlRails
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql