turbine-graph 0.1.2 → 0.1.4
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 +5 -5
- data/Rakefile +1 -1
- data/lib/turbine/edge.rb +1 -1
- data/lib/turbine/pipeline/dsl.rb +2 -2
- data/lib/turbine/properties.rb +6 -2
- data/lib/turbine/version.rb +1 -1
- data/turbine.gemspec +4 -2
- metadata +26 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: e3268215d8189c969d2055d425d573d8e203e9f23445ddb4a96f712c29e61ba4
|
|
4
|
+
data.tar.gz: 39c25c97f81b9de6580ed99c1c839c77c354c1499a658bd34f85149ee5e66d6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 681f4837c55838ee20aeecb62e8cbcd50579840497c84539f4c40c0cc08d06e33b5fa385344bf1a487b4f8414b5ebb3c1bac370cb9552df5024b1f94b354c75b
|
|
7
|
+
data.tar.gz: 4c96c6d97eca4386a7dd0dc15add28649e92642635dbc24855897d651db0d1c7a00c9a9d749e009850fcd0438e9b0cd65bc746f0882325ad180b4c3a2d709b8c
|
data/Rakefile
CHANGED
|
@@ -29,7 +29,7 @@ task :release => :build do
|
|
|
29
29
|
sh "git push origin v#{Turbine::VERSION}"
|
|
30
30
|
|
|
31
31
|
puts "Push to Rubygems.org with"
|
|
32
|
-
puts " gem push pkg/turbine-#{Turbine::VERSION}.gem"
|
|
32
|
+
puts " gem push pkg/turbine-graph-#{Turbine::VERSION}.gem"
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
desc 'Builds the gem'
|
data/lib/turbine/edge.rb
CHANGED
|
@@ -48,7 +48,7 @@ module Turbine
|
|
|
48
48
|
# Public: Creates a new Edge.
|
|
49
49
|
#
|
|
50
50
|
# from_node - The Node from which the edge originates.
|
|
51
|
-
#
|
|
51
|
+
# to_node - The Node to which the edge points.
|
|
52
52
|
# label - An optional label for describing the nature of the
|
|
53
53
|
# relationship between the two nodes.
|
|
54
54
|
# properties - Optional key/value properties to be associated with the
|
data/lib/turbine/pipeline/dsl.rb
CHANGED
|
@@ -265,11 +265,11 @@ module Turbine
|
|
|
265
265
|
DSL.new(@source.append(downstream))
|
|
266
266
|
end
|
|
267
267
|
|
|
268
|
-
# Public: A human-readable version of the DSL.
|
|
268
|
+
# Public: A human-readable version of the DSL. Shows the final result.
|
|
269
269
|
#
|
|
270
270
|
# Return a String.
|
|
271
271
|
def inspect
|
|
272
|
-
|
|
272
|
+
to_a.inspect
|
|
273
273
|
end
|
|
274
274
|
end # DSL
|
|
275
275
|
end # Pipeline
|
data/lib/turbine/properties.rb
CHANGED
|
@@ -31,8 +31,12 @@ module Turbine
|
|
|
31
31
|
# value - The value to be set.
|
|
32
32
|
#
|
|
33
33
|
# Returns the value.
|
|
34
|
-
def set(key, value)
|
|
35
|
-
|
|
34
|
+
def set(key, value = nil)
|
|
35
|
+
if key.is_a?(Hash)
|
|
36
|
+
properties.merge!(key)
|
|
37
|
+
else
|
|
38
|
+
properties[key] = value
|
|
39
|
+
end
|
|
36
40
|
end
|
|
37
41
|
|
|
38
42
|
# Public: Returns a single property on the model.
|
data/lib/turbine/version.rb
CHANGED
data/turbine.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
# rake task. It it completely safe to edit them, but using the rake task
|
|
9
9
|
# is easier.
|
|
10
10
|
s.name = 'turbine-graph'
|
|
11
|
-
s.version = '0.1.
|
|
12
|
-
s.date = '
|
|
11
|
+
s.version = '0.1.4'
|
|
12
|
+
s.date = '2026-03-16'
|
|
13
13
|
s.rubyforge_project = 'turbine-graph'
|
|
14
14
|
|
|
15
15
|
# You may safely edit the section below.
|
|
@@ -25,11 +25,13 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
s.homepage = 'http://github.com/quintel/turbine'
|
|
26
26
|
s.summary = 'An in-memory graph database written in Ruby.'
|
|
27
27
|
s.description = 'An experiment in graph databases, with Ruby...'
|
|
28
|
+
s.license = 'BSD'
|
|
28
29
|
|
|
29
30
|
s.require_path = 'lib'
|
|
30
31
|
|
|
31
32
|
s.add_development_dependency 'rake', '>= 0.9.0'
|
|
32
33
|
s.add_development_dependency 'rspec', '>= 2.11.0'
|
|
34
|
+
s.add_development_dependency 'rspec-collection_matchers'
|
|
33
35
|
|
|
34
36
|
s.rdoc_options = ['--charset=UTF-8']
|
|
35
37
|
s.extra_rdoc_files = %w[LICENSE README.md]
|
metadata
CHANGED
|
@@ -1,44 +1,57 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: turbine-graph
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthony Williams
|
|
8
8
|
- Dennis Schoenmakers
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rake
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
16
|
requirements:
|
|
18
|
-
- -
|
|
17
|
+
- - ">="
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
19
|
version: 0.9.0
|
|
21
20
|
type: :development
|
|
22
21
|
prerelease: false
|
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
23
|
requirements:
|
|
25
|
-
- -
|
|
24
|
+
- - ">="
|
|
26
25
|
- !ruby/object:Gem::Version
|
|
27
26
|
version: 0.9.0
|
|
28
27
|
- !ruby/object:Gem::Dependency
|
|
29
28
|
name: rspec
|
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
|
31
30
|
requirements:
|
|
32
|
-
- -
|
|
31
|
+
- - ">="
|
|
33
32
|
- !ruby/object:Gem::Version
|
|
34
33
|
version: 2.11.0
|
|
35
34
|
type: :development
|
|
36
35
|
prerelease: false
|
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
37
|
requirements:
|
|
39
|
-
- -
|
|
38
|
+
- - ">="
|
|
40
39
|
- !ruby/object:Gem::Version
|
|
41
40
|
version: 2.11.0
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rspec-collection_matchers
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
42
55
|
description: An experiment in graph databases, with Ruby...
|
|
43
56
|
email:
|
|
44
57
|
- hi@antw.me
|
|
@@ -84,28 +97,25 @@ files:
|
|
|
84
97
|
- lib/turbine/version.rb
|
|
85
98
|
- turbine.gemspec
|
|
86
99
|
homepage: http://github.com/quintel/turbine
|
|
87
|
-
licenses:
|
|
100
|
+
licenses:
|
|
101
|
+
- BSD
|
|
88
102
|
metadata: {}
|
|
89
|
-
post_install_message:
|
|
90
103
|
rdoc_options:
|
|
91
|
-
- --charset=UTF-8
|
|
104
|
+
- "--charset=UTF-8"
|
|
92
105
|
require_paths:
|
|
93
106
|
- lib
|
|
94
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
108
|
requirements:
|
|
96
|
-
- -
|
|
109
|
+
- - ">="
|
|
97
110
|
- !ruby/object:Gem::Version
|
|
98
111
|
version: '0'
|
|
99
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
113
|
requirements:
|
|
101
|
-
- -
|
|
114
|
+
- - ">="
|
|
102
115
|
- !ruby/object:Gem::Version
|
|
103
116
|
version: 1.3.6
|
|
104
117
|
requirements: []
|
|
105
|
-
|
|
106
|
-
rubygems_version: 2.0.3
|
|
107
|
-
signing_key:
|
|
118
|
+
rubygems_version: 3.6.9
|
|
108
119
|
specification_version: 4
|
|
109
120
|
summary: An in-memory graph database written in Ruby.
|
|
110
121
|
test_files: []
|
|
111
|
-
has_rdoc:
|