dag 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/dag/vertex.rb +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a192a3e24b352d44db85636a0004e8b35ed43a10
4
- data.tar.gz: aa60d0b344e7bf4b152a8641113e9f25a52365b2
3
+ metadata.gz: b92c894492c5cb883b0b17833892875d22916377
4
+ data.tar.gz: 08013add0c2ac5f9551dd778007fe06672c66674
5
5
  SHA512:
6
- metadata.gz: 98d56ce9aa8ba27becfba1e2579195e4359198ed5a7e20c2915fd54d39eda0d1c97dd0b3569d97db87b9d25fdfce4b43247ffe71ec95ee664172c8e914ce263f
7
- data.tar.gz: d0a560286d3b3d6dc156d3089f18ab680fd4c579cb1836bfceccf0bde8469915a382d410cd157f7d7ba4467888b64374a8b10e13b90ae60e468db591b3be7cfe
6
+ metadata.gz: 98e1cfcc352492206da61ba6eb11f1d2a56a0ada8581dc70ba18d7d438e3fde87bbee2dd74eb92ddb588d1104a31d519f87148b239dad5f09a68f9884cfe6b2f
7
+ data.tar.gz: 17204e3ef7dbf869b9c0fba203853e3c176982b81ceaeb81d6128f9f66b964331956324c89b8a4cb73fcdf3d602ae1a5d5354d7c8fa7f5a11d812fb1a496d071
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dag (0.0.8)
4
+ dag (0.0.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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 :has_descendent? :has_path_to?
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.8
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-08-01 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake