manuscript 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -7,7 +7,7 @@ Manuscript is meant to handle very simple static content websites. For example:
7
7
  upload template files (like images and css), to write templates (to hold the code), and write page text in Markdown (to make page maintenance
8
8
  easy).
9
9
 
10
- == Roll your own database
10
+ === Roll your own database
11
11
 
12
12
  Getting a database in shape for Manuscript to use production is a little complicated at the moment, but it's manageable. To start off, install the gem:
13
13
 
@@ -31,7 +31,7 @@ Then, in the project's directory:
31
31
 
32
32
  Now you've got a ready-for-production database.
33
33
 
34
- == Setting up your Manuscript
34
+ === Setting up your Manuscript
35
35
 
36
36
  In the repository directory, edit the file called <tt>config.ru</tt> to match your desired set up:
37
37
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/config.ru CHANGED
@@ -4,6 +4,7 @@ require 'manuscript'
4
4
  ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => 'manuscript.sqlite3.db'
5
5
 
6
6
  use Rack::Session::Cookie
7
+ use Rack::Static, :urls => ["/template_files"]
7
8
  use Gatekeeper::Middleware do |sso|
8
9
  sso.sso_url = "http://hotink.theorem.ca/sso"
9
10
  end
@@ -5,7 +5,7 @@ module Manuscript
5
5
  validates_presence_of :file_file_name
6
6
 
7
7
  has_attached_file :file,
8
- :path => "./public/template_files/:id_partition/:basename.:extension",
8
+ :path => "./template_files/:id_partition/:basename.:extension",
9
9
  :url => "/template_files/:id_partition/:basename.:extension"
10
10
  end
11
11
  end
data/manuscript.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{manuscript}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hotink"]
12
- s.date = %q{2010-01-13}
12
+ s.date = %q{2010-01-14}
13
13
  s.description = %q{A gem for publishing a small Hot Ink authenticated site}
14
14
  s.email = %q{chris@hotink.net}
15
15
  s.extra_rdoc_files = [
@@ -42,11 +42,6 @@ Gem::Specification.new do |s|
42
42
  "lib/manuscript/template_manager.rb",
43
43
  "manuscript.gemspec",
44
44
  "public/css/base.css",
45
- "public/template_files/000/000/001/RackMultipart20100113-62534-1r8ld4k-0.",
46
- "public/template_files/000/000/002/RackMultipart20100113-62565-1r8ld4k-0.",
47
- "public/template_files/000/000/003/RackMultipart20100113-62784-1r8ld4k-0.",
48
- "public/template_files/000/000/004/test.png",
49
- "public/template_files/000/000/005/feed-pink.png",
50
45
  "spec/manuscript/base_spec.rb",
51
46
  "spec/manuscript/layout_template_spec.rb",
52
47
  "spec/manuscript/page_manager_spec.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manuscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hotink
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-13 00:00:00 -05:00
12
+ date: 2010-01-14 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -127,11 +127,6 @@ files:
127
127
  - lib/manuscript/template_manager.rb
128
128
  - manuscript.gemspec
129
129
  - public/css/base.css
130
- - public/template_files/000/000/001/RackMultipart20100113-62534-1r8ld4k-0.
131
- - public/template_files/000/000/002/RackMultipart20100113-62565-1r8ld4k-0.
132
- - public/template_files/000/000/003/RackMultipart20100113-62784-1r8ld4k-0.
133
- - public/template_files/000/000/004/test.png
134
- - public/template_files/000/000/005/feed-pink.png
135
130
  - spec/manuscript/base_spec.rb
136
131
  - spec/manuscript/layout_template_spec.rb
137
132
  - spec/manuscript/page_manager_spec.rb
@@ -1,4 +0,0 @@
1
- ECQ3LGMOKSE6JLF24QCNOWHJ3OJAHL7TW5V67TWNXROYG5M544MT-
2
- UVBPX6B6YEI66T44YNXK4NBBS5URF7NTVE4XJMQ5L3TNA2H67QCZ-
3
- 2XNJGLWWESCRJKETJ5EYFMQCGUSO3AGDYCND4TSTYBVQQ46SINAW-
4
- 5V532ZINT3THCHNYM36MFVED7BWHKRAR5DXG6L54PUET4XEHQ
@@ -1,4 +0,0 @@
1
- ECQ3LGMOKSE6JLF24QCNOWHJ3OJAHL7TW5V67TWNXROYG5M544MT-
2
- UVBPX6B6YEI66T44YNXK4NBBS5URF7NTVE4XJMQ5L3TNA2H67QCZ-
3
- 2XNJGLWWESCRJKETJ5EYFMQCGUSO3AGDYCND4TSTYBVQQ46SINAW-
4
- 5V532ZINT3THCHNYM36MFVED7BWHKRAR5DXG6L54PUET4XEHQ