elasticgraph 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 +8 -5
- data/lib/elastic_graph/project_template/Gemfile.tt +3 -1
- data/lib/elastic_graph/project_template/Rakefile.tt +2 -2
- metadata +9 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 998813f01f445166b373f267bc77e67b8cd1e51ed820aa3f93bfc56b1e2964e8
|
4
|
+
data.tar.gz: e453bfaf615f9dd82cbef836382298c4077eecb35b0fc9f42c2979a9d963aaa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 717f7d65dd011dcabcb9044b9a08864d74d5f59c7e84a9c92898311e392713b78ac2d285a4c7b1fe452ed8fe30145ea8ab46e2157cb027ded31c4e720e56fd2d
|
7
|
+
data.tar.gz: 8d1a57e76975cc90fd72d198174ce900eb5c2140b6b1d8473973376723ef95867b23279a5423a135415a4c7a972c37d6e9e31e773a9fc0c3f85f02aa847d47d7
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# ElasticGraph
|
2
2
|
|
3
|
-
|
4
|
-
parts of ElasticGraph are used from the same deployed app.
|
3
|
+
Bootstraps ElasticGraph projects.
|
5
4
|
|
6
5
|
## Dependency Diagram
|
7
6
|
|
@@ -21,10 +20,14 @@ graph LR;
|
|
21
20
|
click thor href "https://rubygems.org/gems/thor" "Open on RubyGems.org" _blank;
|
22
21
|
```
|
23
22
|
|
24
|
-
##
|
23
|
+
## Usage
|
25
24
|
|
26
|
-
Run
|
25
|
+
Run one of these commands to bootstrap a new ElasticGraph project:
|
27
26
|
|
28
27
|
```bash
|
29
|
-
elasticgraph new
|
28
|
+
gem exec elasticgraph new path/to/project --datastore elasticsearch
|
29
|
+
# or
|
30
|
+
gem exec elasticgraph new path/to/project --datastore opensearch
|
30
31
|
```
|
32
|
+
|
33
|
+
See our [getting started guide](https://block.github.io/elasticgraph/getting-started/) for a full tutorial.
|
@@ -4,9 +4,11 @@ source "https://rubygems.org"
|
|
4
4
|
elasticgraph_details = <%= ElasticGraph.setup_env.gemfile_elasticgraph_details_code_snippet %>
|
5
5
|
|
6
6
|
gem "elasticgraph-local", *elasticgraph_details
|
7
|
-
gem "elasticgraph-<%= ElasticGraph.setup_env.datastore %>", *elasticgraph_details
|
8
7
|
gem "elasticgraph-query_registry", *elasticgraph_details
|
9
8
|
|
9
|
+
# Can be elasticgraph-elasticsearch or elasticgraph-opensearch based on the datastore you want to use.
|
10
|
+
gem "elasticgraph-<%= ElasticGraph.setup_env.datastore %>", *elasticgraph_details
|
11
|
+
|
10
12
|
gem "httpx", "~> 1.3"
|
11
13
|
|
12
14
|
group :development do
|
@@ -57,10 +57,10 @@ ElasticGraph::QueryRegistry::RakeTasks.from_yaml_file(
|
|
57
57
|
|
58
58
|
standard_checks = ["standard", "query_registry:validate_queries", "spec"]
|
59
59
|
|
60
|
-
desc "Rebuild everything
|
60
|
+
desc "Rebuild everything--intended to be run locally as you iterate on the schema."
|
61
61
|
task build: ["schema_artifacts:dump", *standard_checks]
|
62
62
|
|
63
|
-
desc "Check everything
|
63
|
+
desc "Check everything--intended to be run on CI to check your project."
|
64
64
|
task check: ["schema_artifacts:check", *standard_checks]
|
65
65
|
|
66
66
|
# Make `rake` run `rake build` for convenience.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticgraph
|
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,34 +17,28 @@ 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: thor
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
35
|
-
- - ">="
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 1.3.2
|
34
|
+
version: '1.4'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
39
|
- - "~>"
|
43
40
|
- !ruby/object:Gem::Version
|
44
|
-
version: '1.
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 1.3.2
|
41
|
+
version: '1.4'
|
48
42
|
email:
|
49
43
|
- myron@squareup.com
|
50
44
|
executables:
|
@@ -75,10 +69,10 @@ licenses:
|
|
75
69
|
- MIT
|
76
70
|
metadata:
|
77
71
|
bug_tracker_uri: https://github.com/block/elasticgraph/issues
|
78
|
-
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.0
|
79
|
-
documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0
|
72
|
+
changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.0
|
73
|
+
documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.0/
|
80
74
|
homepage_uri: https://block.github.io/elasticgraph/
|
81
|
-
source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0
|
75
|
+
source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.0/elasticgraph
|
82
76
|
gem_category: local
|
83
77
|
rdoc_options: []
|
84
78
|
require_paths:
|
@@ -97,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
91
|
- !ruby/object:Gem::Version
|
98
92
|
version: '0'
|
99
93
|
requirements: []
|
100
|
-
rubygems_version: 3.6.
|
94
|
+
rubygems_version: 3.6.9
|
101
95
|
specification_version: 4
|
102
96
|
summary: Bootstraps ElasticGraph projects.
|
103
97
|
test_files: []
|