noodall-core 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.5
1
+ 0.4.6
data/lib/noodall/node.rb CHANGED
@@ -177,7 +177,7 @@ module Noodall
177
177
  # inherit the parents permalink and append the current node's .name or .title attribute
178
178
  # this code takes name over title for the current node's slug
179
179
  # this way enables children to inherit the parent's custom (user defined) permalink also
180
- permalink_args = self.parent.nil? ? [] : self.parent.permalink
180
+ permalink_args = self.parent.nil? ? [] : self.parent.permalink.dup
181
181
  self_slug = (self.name.blank? ? self.title : self.name).to_s.parameterize
182
182
  permalink_args << self_slug unless self_slug.blank?
183
183
  self.permalink = Permalink.new(*permalink_args)
data/noodall-core.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{noodall-core}
8
- s.version = "0.4.5"
8
+ s.version = "0.4.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve England"]
12
- s.date = %q{2011-01-21}
12
+ s.date = %q{2011-01-26}
13
13
  s.description = %q{Core data objects for Noodall}
14
14
  s.email = %q{steve@wearebeef.co.uk}
15
15
  s.extra_rdoc_files = [
@@ -45,19 +45,18 @@ Gem::Specification.new do |s|
45
45
  s.homepage = %q{http://github.com/beef/noodall-core}
46
46
  s.rdoc_options = ["--charset=UTF-8"]
47
47
  s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.3.7}
48
+ s.rubygems_version = %q{1.4.1}
49
49
  s.summary = %q{Core data objects for Noodall}
50
50
  s.test_files = [
51
51
  "spec/node_spec.rb",
52
+ "spec/site_map_spec.rb",
52
53
  "spec/component_spec.rb",
53
54
  "spec/spec_helper.rb",
54
55
  "spec/factories/node.rb",
55
- "spec/factories/component.rb",
56
- "spec/site_map_spec.rb"
56
+ "spec/factories/component.rb"
57
57
  ]
58
58
 
59
59
  if s.respond_to? :specification_version then
60
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
61
60
  s.specification_version = 3
62
61
 
63
62
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease: false
4
+ hash: 3
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 5
10
- version: 0.4.5
9
+ - 6
10
+ version: 0.4.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -15,13 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-21 00:00:00 +00:00
18
+ date: 2011-01-26 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- prerelease: false
24
- name: mongo_mapper
25
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
23
  none: false
27
24
  requirements:
@@ -34,10 +31,10 @@ dependencies:
34
31
  - 6
35
32
  version: 0.8.6
36
33
  requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
- type: :runtime
39
34
  prerelease: false
40
- name: ramdiv-mongo_mapper_acts_as_tree
35
+ name: mongo_mapper
36
+ type: :runtime
37
+ - !ruby/object:Gem::Dependency
41
38
  version_requirements: &id002 !ruby/object:Gem::Requirement
42
39
  none: false
43
40
  requirements:
@@ -50,10 +47,10 @@ dependencies:
50
47
  - 1
51
48
  version: 0.1.1
52
49
  requirement: *id002
53
- - !ruby/object:Gem::Dependency
54
- type: :runtime
55
50
  prerelease: false
56
- name: mm-multi-parameter-attributes
51
+ name: ramdiv-mongo_mapper_acts_as_tree
52
+ type: :runtime
53
+ - !ruby/object:Gem::Dependency
57
54
  version_requirements: &id003 !ruby/object:Gem::Requirement
58
55
  none: false
59
56
  requirements:
@@ -66,10 +63,10 @@ dependencies:
66
63
  - 1
67
64
  version: 0.1.1
68
65
  requirement: *id003
69
- - !ruby/object:Gem::Dependency
70
- type: :runtime
71
66
  prerelease: false
72
- name: canable
67
+ name: mm-multi-parameter-attributes
68
+ type: :runtime
69
+ - !ruby/object:Gem::Dependency
73
70
  version_requirements: &id004 !ruby/object:Gem::Requirement
74
71
  none: false
75
72
  requirements:
@@ -82,10 +79,10 @@ dependencies:
82
79
  - 1
83
80
  version: 0.1.1
84
81
  requirement: *id004
85
- - !ruby/object:Gem::Dependency
86
- type: :runtime
87
82
  prerelease: false
88
- name: ruby-stemmer
83
+ name: canable
84
+ type: :runtime
85
+ - !ruby/object:Gem::Dependency
89
86
  version_requirements: &id005 !ruby/object:Gem::Requirement
90
87
  none: false
91
88
  requirements:
@@ -96,6 +93,9 @@ dependencies:
96
93
  - 0
97
94
  version: "0"
98
95
  requirement: *id005
96
+ prerelease: false
97
+ name: ruby-stemmer
98
+ type: :runtime
99
99
  description: Core data objects for Noodall
100
100
  email: steve@wearebeef.co.uk
101
101
  executables: []
@@ -160,14 +160,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements: []
161
161
 
162
162
  rubyforge_project:
163
- rubygems_version: 1.3.7
163
+ rubygems_version: 1.4.1
164
164
  signing_key:
165
165
  specification_version: 3
166
166
  summary: Core data objects for Noodall
167
167
  test_files:
168
168
  - spec/node_spec.rb
169
+ - spec/site_map_spec.rb
169
170
  - spec/component_spec.rb
170
171
  - spec/spec_helper.rb
171
172
  - spec/factories/node.rb
172
173
  - spec/factories/component.rb
173
- - spec/site_map_spec.rb