graphql_server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -3
- 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: 44ef796363149b3bd06bc4a27fd26c065aa94d38f005b0443e2c19a860b77732
|
4
|
+
data.tar.gz: 0a8a072645ee4c5751812bef1323dcd00b96c7bf4b13d565fd7547870f197e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5b697c9c6802f45d308df36e4c68bfdd82b27c9b456789ced44f6ef692ad76b44f896447211f3f02afe33c94c5c6d8fd299770c1345df29af7179681f1e667
|
7
|
+
data.tar.gz: d1aec207d478411f7f88b9295e5a78fa87d1bd901b9014809f08b6a57333b3127e789fc75182f2bc36958fb1a694e9c9a371a33850dbf717b115a19234822ac2
|
data/README.md
CHANGED
@@ -65,10 +65,20 @@ GraphQLServer.new(schema: schema)
|
|
65
65
|
|
66
66
|
See the examples folder for more details
|
67
67
|
|
68
|
-
|
68
|
+
# GraphQL Playground
|
69
|
+
|
70
|
+
You can use the excellent GraphQL Playground IDE from Prisma
|
71
|
+
|
72
|
+
```
|
73
|
+
gem install graphql_playground
|
74
|
+
```
|
75
|
+
|
76
|
+
Map it to the url of your choice and point it to your GraphQL server endpoit
|
69
77
|
|
70
78
|
```ruby
|
71
|
-
map '/
|
72
|
-
use
|
79
|
+
map '/playground' do
|
80
|
+
use GraphQLPlayground, endpoint: '/'
|
73
81
|
end
|
82
|
+
|
83
|
+
run GraphQLServer.new(type_def: type_def, resolver: resolver)
|
74
84
|
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- betaflag
|
@@ -72,7 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.2.0
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - ">="
|