typed_dag 1.0.0 → 1.0.1

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.
@@ -2037,6 +2037,11 @@ RSpec.describe TypedDag::Node, 'included in Message' do
2037
2037
  expect(a.all_invalidates_of_depth(4))
2038
2038
  .to match_array([g])
2039
2039
  end
2040
+
2041
+ it 'rebuilds all reflexive relations' do
2042
+ expect(Relation.where(hierarchy: 0, invalidate: 0).count)
2043
+ .to eql 9
2044
+ end
2040
2045
  end
2041
2046
 
2042
2047
  description = <<-'WITH'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typed_dag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenProject GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-17 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: |-
70
- Allows rails models to work as the edges and nodes of a \
70
+ Allows rails models to work as the edges and nodes of a
71
71
  directed acyclic graph (dag). The edges may be typed.
72
72
  email:
73
73
  - info@openproject.com
@@ -99,6 +99,7 @@ files:
99
99
  - lib/typed_dag/sql/get_circular.rb
100
100
  - lib/typed_dag/sql/helper.rb
101
101
  - lib/typed_dag/sql/insert_closure_of_depth.rb
102
+ - lib/typed_dag/sql/insert_reflexive.rb
102
103
  - lib/typed_dag/sql/relation_access.rb
103
104
  - lib/typed_dag/sql/remove_invalid_relation.rb
104
105
  - lib/typed_dag/sql/select_closure.rb
@@ -173,7 +174,7 @@ files:
173
174
  - spec/typed_dag/sql/add_closure_spec.rb
174
175
  - spec/typed_dag/sql/truncate_closure_spec.rb
175
176
  - spec/typed_dag_spec.rb
176
- homepage:
177
+ homepage: https://github.com/opf/typed_dag
177
178
  licenses:
178
179
  - MIT
179
180
  metadata: {}