inkling 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/app/models/inkling/log.rb
CHANGED
data/app/models/inkling/theme.rb
CHANGED
@@ -53,6 +53,12 @@ class Inkling::Theme < ActiveRecord::Base
|
|
53
53
|
def self.site_theme_file
|
54
54
|
"#{Inkling::THEME_LAYOUTS_DIR}#{self.site.file_name}"
|
55
55
|
end
|
56
|
+
|
57
|
+
#takes a directory and recursively interns all structures there as a theme structure
|
58
|
+
# (just like any sub directory in app/views)
|
59
|
+
def self.install_from_dir(dirname)
|
60
|
+
|
61
|
+
end
|
56
62
|
|
57
63
|
def write_file
|
58
64
|
File.open("#{Inkling::THEME_LAYOUTS_DIR}#{self.file_name}", "w") {|f| f.write(self.body)}
|
@@ -53,11 +53,10 @@ class CreateInklingTables < ActiveRecord::Migration
|
|
53
53
|
t.timestamps
|
54
54
|
end
|
55
55
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
# end
|
56
|
+
create_table :inkling_logs do |t|
|
57
|
+
t.timestamps
|
58
|
+
t.text :text, :null => false
|
59
|
+
end
|
61
60
|
|
62
61
|
end
|
63
62
|
|
data/lib/inkling/routing.rb
CHANGED
data/lib/inkling/version.rb
CHANGED
data/spec/models/theme_spec.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors: []
|
12
12
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-18 00:00:00 +11:00
|
18
18
|
default_executable: inkling
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|