kitsune 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/kitsune.rb +4 -4
- metadata +1 -1
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rake'
|
|
2
2
|
|
3
3
|
gem_spec = Gem::Specification.new do |gem_spec|
|
4
4
|
gem_spec.name = "kitsune"
|
5
|
-
gem_spec.version = "0.0.
|
5
|
+
gem_spec.version = "0.0.9"
|
6
6
|
gem_spec.summary = "Integrated Rails Content Management System."
|
7
7
|
gem_spec.email = "matt@toastyapps.com"
|
8
8
|
gem_spec.homepage = "http://github.com/toastyapps/kitsune"
|
data/lib/kitsune.rb
CHANGED
@@ -8,7 +8,7 @@ module Kitsune
|
|
8
8
|
autoload :Page, 'kitsune/page'
|
9
9
|
class << self
|
10
10
|
def version
|
11
|
-
'0.0.
|
11
|
+
'0.0.9'
|
12
12
|
end
|
13
13
|
|
14
14
|
def model_paths # abstract this to something else
|
@@ -19,9 +19,9 @@ module Kitsune
|
|
19
19
|
@model_paths = paths
|
20
20
|
end
|
21
21
|
|
22
|
-
def model_paths<<(path)
|
23
|
-
|
24
|
-
end
|
22
|
+
# def model_paths<<(path)
|
23
|
+
# @model_paths << path
|
24
|
+
# end
|
25
25
|
|
26
26
|
def models_with_admin
|
27
27
|
models.select{|m| m.respond_to?(:kitsune_admin) && !m.kitsune_admin[:no_admin]} # quacks like a duck
|