graph_query 0.2.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 +7 -0
- data/CHANGELOG.md +33 -0
- data/LICENSE.txt +21 -0
- data/README.md +96 -0
- data/docs/01-getting-started.md +82 -0
- data/docs/02-declaring-edges.md +134 -0
- data/docs/03-walking.md +121 -0
- data/docs/04-results.md +106 -0
- data/docs/05-patterns.md +80 -0
- data/docs/06-cypher.md +94 -0
- data/docs/07-writes.md +81 -0
- data/docs/08-graphql.md +118 -0
- data/docs/09-internals.md +108 -0
- data/docs/10-reference.md +114 -0
- data/lib/graph_query/age.rb +31 -0
- data/lib/graph_query/associations.rb +73 -0
- data/lib/graph_query/compiler.rb +224 -0
- data/lib/graph_query/cypher.rb +378 -0
- data/lib/graph_query/edge.rb +117 -0
- data/lib/graph_query/graphql.rb +329 -0
- data/lib/graph_query/match.rb +119 -0
- data/lib/graph_query/model.rb +97 -0
- data/lib/graph_query/mutation.rb +82 -0
- data/lib/graph_query/pattern.rb +104 -0
- data/lib/graph_query/query.rb +168 -0
- data/lib/graph_query/registry.rb +52 -0
- data/lib/graph_query/syntax.rb +85 -0
- data/lib/graph_query/transaction.rb +140 -0
- data/lib/graph_query/version.rb +5 -0
- data/lib/graph_query.rb +123 -0
- data/rbi/graph_query.rbi +356 -0
- data/sig/graph_query.rbs +231 -0
- metadata +106 -0
metadata
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: graph_query
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Love Wins Media, Inc.
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activerecord
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '7.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '7.1'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: pg
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1.5'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.5'
|
|
40
|
+
description: 'Declare edges on Active Record models from their associations, join
|
|
41
|
+
tables or SQL, then walk them with recursive CTEs: fixed and variable-length hops,
|
|
42
|
+
both directions, node and edge filters, Cypher queries (MATCH, WHERE, RETURN), and
|
|
43
|
+
results that come back as Active Record relations.'
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- CHANGELOG.md
|
|
49
|
+
- LICENSE.txt
|
|
50
|
+
- README.md
|
|
51
|
+
- docs/01-getting-started.md
|
|
52
|
+
- docs/02-declaring-edges.md
|
|
53
|
+
- docs/03-walking.md
|
|
54
|
+
- docs/04-results.md
|
|
55
|
+
- docs/05-patterns.md
|
|
56
|
+
- docs/06-cypher.md
|
|
57
|
+
- docs/07-writes.md
|
|
58
|
+
- docs/08-graphql.md
|
|
59
|
+
- docs/09-internals.md
|
|
60
|
+
- docs/10-reference.md
|
|
61
|
+
- lib/graph_query.rb
|
|
62
|
+
- lib/graph_query/age.rb
|
|
63
|
+
- lib/graph_query/associations.rb
|
|
64
|
+
- lib/graph_query/compiler.rb
|
|
65
|
+
- lib/graph_query/cypher.rb
|
|
66
|
+
- lib/graph_query/edge.rb
|
|
67
|
+
- lib/graph_query/graphql.rb
|
|
68
|
+
- lib/graph_query/match.rb
|
|
69
|
+
- lib/graph_query/model.rb
|
|
70
|
+
- lib/graph_query/mutation.rb
|
|
71
|
+
- lib/graph_query/pattern.rb
|
|
72
|
+
- lib/graph_query/query.rb
|
|
73
|
+
- lib/graph_query/registry.rb
|
|
74
|
+
- lib/graph_query/syntax.rb
|
|
75
|
+
- lib/graph_query/transaction.rb
|
|
76
|
+
- lib/graph_query/version.rb
|
|
77
|
+
- rbi/graph_query.rbi
|
|
78
|
+
- sig/graph_query.rbs
|
|
79
|
+
homepage: https://lwm-luminx.github.io/graph_query/
|
|
80
|
+
licenses:
|
|
81
|
+
- MIT
|
|
82
|
+
metadata:
|
|
83
|
+
rubygems_mfa_required: 'true'
|
|
84
|
+
source_code_uri: https://github.com/lwm-luminx/graph_query
|
|
85
|
+
changelog_uri: https://github.com/lwm-luminx/graph_query/blob/main/CHANGELOG.md
|
|
86
|
+
documentation_uri: https://lwm-luminx.github.io/graph_query/
|
|
87
|
+
bug_tracker_uri: https://github.com/lwm-luminx/graph_query/issues
|
|
88
|
+
rdoc_options: []
|
|
89
|
+
require_paths:
|
|
90
|
+
- lib
|
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '4.0'
|
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
|
+
requirements:
|
|
98
|
+
- - ">="
|
|
99
|
+
- !ruby/object:Gem::Version
|
|
100
|
+
version: '0'
|
|
101
|
+
requirements: []
|
|
102
|
+
rubygems_version: 4.0.20
|
|
103
|
+
specification_version: 4
|
|
104
|
+
summary: Graph traversals and Cypher queries for Active Record on PostgreSQL, on recursive
|
|
105
|
+
CTEs
|
|
106
|
+
test_files: []
|