ancestry 4.2.0 → 4.3.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 +4 -4
- data/CHANGELOG.md +14 -1
- data/README.md +332 -139
- data/lib/ancestry/array_pattern_validator.rb +27 -0
- data/lib/ancestry/class_methods.rb +21 -15
- data/lib/ancestry/has_ancestry.rb +22 -28
- data/lib/ancestry/instance_methods.rb +13 -7
- data/lib/ancestry/locales/en.yml +1 -0
- data/lib/ancestry/materialized_path.rb +53 -29
- data/lib/ancestry/materialized_path2.rb +36 -27
- data/lib/ancestry/materialized_path_pg.rb +6 -6
- data/lib/ancestry/materialized_path_string.rb +46 -0
- data/lib/ancestry/materialized_path_string2.rb +46 -0
- data/lib/ancestry/version.rb +1 -1
- data/lib/ancestry.rb +38 -1
- metadata +6 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ancestry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Kroes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- MIT-LICENSE
|
113
113
|
- README.md
|
114
114
|
- lib/ancestry.rb
|
115
|
+
- lib/ancestry/array_pattern_validator.rb
|
115
116
|
- lib/ancestry/class_methods.rb
|
116
117
|
- lib/ancestry/exceptions.rb
|
117
118
|
- lib/ancestry/has_ancestry.rb
|
@@ -120,6 +121,8 @@ files:
|
|
120
121
|
- lib/ancestry/materialized_path.rb
|
121
122
|
- lib/ancestry/materialized_path2.rb
|
122
123
|
- lib/ancestry/materialized_path_pg.rb
|
124
|
+
- lib/ancestry/materialized_path_string.rb
|
125
|
+
- lib/ancestry/materialized_path_string2.rb
|
123
126
|
- lib/ancestry/version.rb
|
124
127
|
homepage: https://github.com/stefankroes/ancestry
|
125
128
|
licenses:
|
@@ -145,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
148
|
- !ruby/object:Gem::Version
|
146
149
|
version: '0'
|
147
150
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
151
|
+
rubygems_version: 3.1.6
|
149
152
|
signing_key:
|
150
153
|
specification_version: 4
|
151
154
|
summary: Organize ActiveRecord model into a tree structure
|