elasticgraph-graphiql 1.0.0.rc3 → 1.0.0.rc4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -12
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 385d5969cb0ffe906b559de2c50c9182f45f814341b072da7052e4e3f28ab115
4
- data.tar.gz: e11e3c79fe25bf0482a4c942cee73f5cfb57eac317fa889f40518b50485ec337
3
+ metadata.gz: fca7338366a02111b49c190ecb5e469a3b27992d44096257f1aa8f231a93d459
4
+ data.tar.gz: a7756e0354ed76de2291777811384d126bbc5041c07e56faa1b4e632f6cb0e07
5
5
  SHA512:
6
- metadata.gz: 00e94e01fbfccf322438494b9a1e7faf4bfafca1e7646193e97f21ee583c6266c24ffec70f615add6baec437d9d57922efdf7a38f0d2d7a993c7a9db931fff8c
7
- data.tar.gz: 79ce29f7e96f13295562aa4389c60913cf1aac9fd9064f66103ebeaa291620bb56edd151edeb7f1380c0ffb54635621a1cb5c96d3f13930b052528d1afbe9a30
6
+ metadata.gz: a2646db0053571330da2f8a44b89d8964ac93d2a37bd602a91e9c74c32d666b95b1e487056c4050f106c310f50a7177319f6d1c9be67ac7f7cbed731ba3a2279
7
+ data.tar.gz: 18476ae34fa9709333fb77e093fd776296a834cddfbc697d5338448f144cc1bd807a44499bfa3c8e7355eb2cb08ebcb4c7f54955425331d3111bfdaeece9672f
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).
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.rc3
4
+ version: 1.0.0.rc4
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.rc3
20
+ version: 1.0.0.rc4
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.rc3
27
+ version: 1.0.0.rc4
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.rc3
34
+ version: 1.0.0.rc4
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.rc3
41
+ version: 1.0.0.rc4
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.rc3
48
+ version: 1.0.0.rc4
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.rc3
55
+ version: 1.0.0.rc4
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.rc3
74
- documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0.rc3/
73
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.0.rc4
74
+ documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0.rc4/
75
75
  homepage_uri: https://block.github.io/elasticgraph/
76
- source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0.rc3/elasticgraph-graphiql
76
+ source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0.rc4/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.7
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: []