piggybak_taxonomy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,7 +7,9 @@ Taxonomy support for Piggybak.
7
7
  TODO
8
8
  ========
9
9
 
10
- * Add configuration for per page default, forcing unique assignment
10
+ * Fix identified broken nestable behavior on change in ancestry.
11
+
12
+ * Add configuration for per page default, forcing unique assignment.
11
13
 
12
14
 
13
15
  Copyright
@@ -14,13 +14,6 @@ module PiggybakTaxonomy
14
14
 
15
15
  has_ancestry
16
16
 
17
- validate :slug_not_page
18
- def slug_not_page
19
- if self.slug == "page"
20
- self.errors.add(:slug, "invalid. 'page' is a reserved navigation indicator.")
21
- end
22
- end
23
-
24
17
  def nav_path
25
18
  "#{self.path.collect { |n| n.slug }.join('/')}"
26
19
  end
@@ -1,3 +1,3 @@
1
1
  module PiggybakTaxonomy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piggybak_taxonomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: -4607573029973200621
102
+ hash: -1140983696923675326
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements:
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -4607573029973200621
111
+ hash: -1140983696923675326
112
112
  requirements: []
113
113
  rubyforge_project:
114
114
  rubygems_version: 1.8.23