graphql-playground 0.1.2 → 0.1.3

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: f8bd4c70fc0784ba867a9b992507bbb6dff5f2f7dde153dcb32df10b2732448b
4
- data.tar.gz: bf35a19566fc7e68f786c80de26def26e593de87826a6d107afc07bd50b23616
3
+ metadata.gz: 24d5e14ce8620d4bcfaf86762cf6f92c1f76d9b9062894ea5d80f75e46afba5a
4
+ data.tar.gz: 99d314de01b1e9b05aef2cd91948344e9a407540de5d3440c3e76cad09043f43
5
5
  SHA512:
6
- metadata.gz: 7544eef3b145fdbdf24b35ddc7d6a22866fceb4fdc34a735992c8573526ebbcf49d91fd34dfd63d7485bb1500f0d8ea9d834f14601adedc048d6325372e5f688
7
- data.tar.gz: f8a2a7a672949fe0ab376b8806f2e1c9e10db4971962ebffddf5e781e31d4532489140740002dd7ef722834c86c609b719bc693ed643ca4948f947f5ce3ee4a0
6
+ metadata.gz: 4dd239503ccd8b9ba1a98ba3eae51196ef81552d714c982cb4101558503f2512e891c1c16a672053e86ebc60cad00c74cdc9d9f346002b1683e9637288ccd23d
7
+ data.tar.gz: 50755b58d256c7b461fb34956616e163fde8c6b6b6f987faabd75ba533c9f8d37a54da30da3d4b6398c10304d6fab69b43f0d15a5d41d9b37e21929b217db11a
@@ -1,9 +1,6 @@
1
1
  module GraphQL
2
2
  module Playground
3
3
  module ApplicationHelper
4
- def graphql_endpoint_path
5
- params[:graphql_path] || raise(%|You must include `graphql_path: "/my/endpoint"` when mounting GraphQL::Playground::Engine|)
6
- end
7
4
  end
8
5
  end
9
6
  end
@@ -8,8 +8,7 @@
8
8
  root.classList.add('playgroundIn');
9
9
 
10
10
  GraphQLPlayground.init(root, {
11
- // you can add more options here
12
- endpoint: "<%= graphql_endpoint_path %>"
11
+ endpoint: "<%= params[:graphql_path] %>"
13
12
  })
14
13
  });
15
14
  </script>
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Playground
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-playground
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Jie
@@ -16,28 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.0
19
+ version: 5.0.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 4.1.0
29
+ version: 5.0.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rails
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: 4.1.0
39
+ version: 5.0.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '5.0'
34
43
  type: :development
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - ">="
39
48
  - !ruby/object:Gem::Version
40
- version: 4.1.0
49
+ version: 5.0.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '5.0'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: sqlite3
43
55
  requirement: !ruby/object:Gem::Requirement