ancestry 2.0.0.rc1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +10 -4
- data/ancestry.gemspec +1 -1
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -249,11 +249,17 @@ The materialised path pattern requires Ancestry to use a 'like' condition in ord
|
|
249
249
|
|
250
250
|
The latest version of ancestry is recommended. The three numbers of each version numbers are respectively the major, minor and patch versions. We started with major version 1 because it looks so much better and ancestry was already quite mature and complete when it was published. The major version is only bumped when backwards compatibility is broken. The minor version is bumped when new features are added. The patch version is bumped when bugs are fixed.
|
251
251
|
|
252
|
-
- Version 2.0.0
|
252
|
+
- Version 2.0.0 (2013-05-17)
|
253
253
|
- Removed rails 2 compatibility
|
254
|
-
-
|
255
|
-
-
|
256
|
-
-
|
254
|
+
- Added table name to condition constructing methods (thx aflatter)
|
255
|
+
- Fix depth_cache not being updated when moving up to ancestors (thx scottatron)
|
256
|
+
- add alias :root? to existing is_root? (thx divineforest)
|
257
|
+
- Add block to sort_by_ancestry (thx Iliya)
|
258
|
+
- Add attribute query method for parent_id (thx sj26)
|
259
|
+
- Fixed and tested for rails 4 (thx adammck, Nihad, Systho, Philippe, e.a.)
|
260
|
+
- Fixed overwriting ActiveRecord::Base.base_class (thx Rozhnov)
|
261
|
+
- New adopt strategy (thx unknown)
|
262
|
+
- Many more improvements
|
257
263
|
- Version 1.3.0 (2012-05-04)
|
258
264
|
- Ancestry now ignores default scopes when moving or destroying nodes, ensuring tree consistency
|
259
265
|
- Changed ActiveRecord dependency to 2.3.14
|
data/ancestry.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.description = 'Organise ActiveRecord model into a tree structure'
|
4
4
|
s.summary = 'Ancestry allows the records of a ActiveRecord model to be organised in a tree structure, using a single, intuitively formatted database column. It exposes all the standard tree structure relations (ancestors, parent, root, children, siblings, descendants) and all of them can be fetched in a single sql query. Additional features are named_scopes, integrity checking, integrity restoration, arrangement of (sub)tree into hashes and different strategies for dealing with orphaned records.'
|
5
5
|
|
6
|
-
s.version = '2.0.0
|
6
|
+
s.version = '2.0.0'
|
7
7
|
|
8
8
|
s.author = 'Stefan Kroes'
|
9
9
|
s.email = 's.a.kroes@gmail.com'
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ancestry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stefan Kroes
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -58,9 +58,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
none: false
|
60
60
|
requirements:
|
61
|
-
- - ! '
|
61
|
+
- - ! '>='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: '0'
|
64
64
|
requirements: []
|
65
65
|
rubyforge_project:
|
66
66
|
rubygems_version: 1.8.25
|