elasticgraph-graphiql 1.0.0.rc3 → 1.0.0
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 +14 -12
- data/lib/elastic_graph/graphiql/assets.tar.gz +0 -0
- data/lib/elastic_graph/graphiql/assets_info.md +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5612102bab4089a70f397d68d6ebec8e98ccab3d6b59f58c2b79fb78f032f181
|
4
|
+
data.tar.gz: 9d90b98ba3349d16bacdc1c356f8d6cc4ca8ef56dcbf80ffa151d1a831e36cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42bdfed9d921341393f12492282339ae69953c9cda10356fa5cac2db1d672845c0e497d6934b45d6a45c0d7a2a20b902339b148b763aae09dadbaeb6bd3f15c5
|
7
|
+
data.tar.gz: 56b93ea19fcc6c011b16d0d5c93db40e35189ba50de51a2bb0f0aa142174fe82d4956d2ccc1821d760884afcefb8ab5e25d84d9b9c880e5fba99d0a3fb5e1351
|
data/README.md
CHANGED
@@ -2,18 +2,6 @@
|
|
2
2
|
|
3
3
|
Provides a GraphiQL IDE for ElasticGraph projects.
|
4
4
|
|
5
|
-
Here's an example `config.ru`:
|
6
|
-
|
7
|
-
``` ruby
|
8
|
-
require 'elastic_graph/graphql'
|
9
|
-
require 'elastic_graph/graphiql'
|
10
|
-
|
11
|
-
graphql = ElasticGraph::GraphQL.from_yaml_file("path/to/config.yaml")
|
12
|
-
run ElasticGraph::GraphiQL.new(graphql)
|
13
|
-
```
|
14
|
-
|
15
|
-
Run this with `rackup` (after installing the `rackup` gem) or any other rack-compatible server.
|
16
|
-
|
17
5
|
## Dependency Diagram
|
18
6
|
|
19
7
|
```mermaid
|
@@ -31,6 +19,20 @@ graph LR;
|
|
31
19
|
class elasticgraph-local otherEgGemStyle;
|
32
20
|
```
|
33
21
|
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Use this gem with any rack-compatible server. Here's an example `config.ru`:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'elastic_graph/graphql'
|
28
|
+
require 'elastic_graph/graphiql'
|
29
|
+
|
30
|
+
graphql = ElasticGraph::GraphQL.from_yaml_file("config/settings/local.yaml")
|
31
|
+
run ElasticGraph::GraphiQL.new(graphql)
|
32
|
+
```
|
33
|
+
|
34
|
+
Run this with `rackup` (after installing the `rackup` gem) or any other rack-compatible server.
|
35
|
+
|
34
36
|
## License
|
35
37
|
|
36
38
|
elasticgraph-graphiql is released under the [MIT License](https://opensource.org/licenses/MIT).
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
The `assets.tar.gz` tarball was built using the `elasticgraph-graphiql/scripts/update_graphiql` script, which
|
2
2
|
also updates this file.
|
3
3
|
|
4
|
-
It was last run using git ref `graphiql@5.0
|
4
|
+
It was last run using git ref `graphiql@5.2.0` and it sourced GraphiQL from:
|
5
5
|
|
6
|
-
https://github.com/graphql/graphiql/tree/graphiql@5.0
|
6
|
+
https://github.com/graphql/graphiql/tree/graphiql@5.2.0/examples/graphiql-vite
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticgraph-graphiql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Myron Marston
|
@@ -17,42 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.0.0
|
20
|
+
version: 1.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.0.0
|
27
|
+
version: 1.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: elasticgraph-elasticsearch
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.0.0
|
34
|
+
version: 1.0.0
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0.0
|
41
|
+
version: 1.0.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: elasticgraph-opensearch
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.0.0
|
48
|
+
version: 1.0.0
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.0.0
|
55
|
+
version: 1.0.0
|
56
56
|
email:
|
57
57
|
- myron@squareup.com
|
58
58
|
executables: []
|
@@ -70,10 +70,10 @@ licenses:
|
|
70
70
|
- MIT
|
71
71
|
metadata:
|
72
72
|
bug_tracker_uri: https://github.com/block/elasticgraph/issues
|
73
|
-
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.0
|
74
|
-
documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0
|
73
|
+
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.0
|
74
|
+
documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0/
|
75
75
|
homepage_uri: https://block.github.io/elasticgraph/
|
76
|
-
source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0
|
76
|
+
source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0/elasticgraph-graphiql
|
77
77
|
gem_category: local
|
78
78
|
rdoc_options: []
|
79
79
|
require_paths:
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.6.
|
95
|
+
rubygems_version: 3.6.9
|
96
96
|
specification_version: 4
|
97
97
|
summary: Provides a GraphiQL IDE for ElasticGraph projects.
|
98
98
|
test_files: []
|