rack-graphiql 0.1.0 → 0.1.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: 94daf14bf5c41d69f6cde7a5965961bd86f89aae
4
- data.tar.gz: 0ae4d31cbf3fe0a075490b482cefa38249d620f9
3
+ metadata.gz: 66ea8d7c57307445527241146cb65812ee4a73f5
4
+ data.tar.gz: 4e4e48422bd35455c92f9704012f1f6111e9ad7d
5
5
  SHA512:
6
- metadata.gz: 96289af12de19c0d976723da7e46333c0c90a9a1072f33f871be3d18799b4d4a3d5d8c6daae6949c3f7476e2c6290bb5f78f943f103db231c8d509413ec8ab01
7
- data.tar.gz: b61329e644e33a3453455f8a660047a62f77bcc00e9bb4a8029938bc5eb325e3ac60181300800cc3a8f373943f05cdf43b6ac51039cc545e3b634a5015f201ef
6
+ metadata.gz: faf7c6dd8712b951fe992d03a5cc4d0c3008bae7ce904ce7bb6f34983ff2c7a8205398e392d22719039a0e9b465e3a1df6a2ad52ac80626657ee7d39eec7fc9d
7
+ data.tar.gz: ef4d3023c9e17cc1d16bf0eb795600a2889f39dbec76e78584fcda0b434b02568f621b5b085e213f4e6519f500288eae09d07a10c338f8962b819902f1cbe9c6
@@ -20,7 +20,7 @@ module Rack
20
20
  req = Rack::Request.new(env)
21
21
  graphiql_query = req.params['query']
22
22
  graphiql_variables = begin
23
- JSON.pretty_generate(JSON.parse(req.params['variables']))
23
+ JSON.pretty_generate(JSON.parse(req.params['variables'] || ''))
24
24
  rescue JSON::ParserError
25
25
  ''
26
26
  end
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class GraphiQL
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-graphiql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Takeyama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-25 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler