dag 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dag/vertex.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92c894492c5cb883b0b17833892875d22916377
|
4
|
+
data.tar.gz: 08013add0c2ac5f9551dd778007fe06672c66674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98e1cfcc352492206da61ba6eb11f1d2a56a0ada8581dc70ba18d7d438e3fde87bbee2dd74eb92ddb588d1104a31d519f87148b239dad5f09a68f9884cfe6b2f
|
7
|
+
data.tar.gz: 17204e3ef7dbf869b9c0fba203853e3c176982b81ceaeb81d6128f9f66b964331956324c89b8a4cb73fcdf3d602ae1a5d5354d7c8fa7f5a11d812fb1a496d071
|
data/Gemfile.lock
CHANGED
data/lib/dag/vertex.rb
CHANGED
@@ -45,7 +45,8 @@ class DAG
|
|
45
45
|
successors.include?(other) || successors.any? {|v| v.has_path_to?(other) }
|
46
46
|
end
|
47
47
|
|
48
|
-
alias :
|
48
|
+
alias :has_descendant? :has_path_to?
|
49
|
+
alias :has_descendent? :has_path_to? # for backwards compat
|
49
50
|
|
50
51
|
#
|
51
52
|
# Is there a path from +other+ to here following edges in the DAG?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rutherford
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|