serious 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/Gemfile +1 -9
- data/README.rdoc +6 -1
- data/Rakefile +3 -49
- data/bin/serious +1 -1
- data/lib/serious.rb +2 -3
- data/lib/serious/version.rb +5 -0
- data/lib/site/public/css/application.css +1 -0
- data/lib/site/public/css/serious.css +5 -0
- data/lib/site/views/atom.builder +2 -3
- data/lib/site/views/layout.erb +1 -0
- data/serious.gemspec +29 -102
- data/test/helper.rb +7 -5
- data/test/test_bin.rb +9 -7
- data/test/test_serious.rb +6 -1
- metadata +37 -23
- data/Gemfile.lock +0 -37
- data/VERSION +0 -1
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -1,11 +1,3 @@
|
|
1
1
|
source :rubygems
|
2
|
-
gem 'sinatra', ">= 1.0.0"
|
3
|
-
gem 'stupid_formatter', '>= 0.2.0'
|
4
|
-
gem 'builder', ">= 2.1.2"
|
5
2
|
|
6
|
-
|
7
|
-
gem "shoulda", "= 2.10.3"
|
8
|
-
gem "hpricot", ">= 0.8.0"
|
9
|
-
gem "rack-test", ">= 0.5.0"
|
10
|
-
gem 'jeweler', ">= 1.4.0"
|
11
|
-
end
|
3
|
+
gemspec
|
data/README.rdoc
CHANGED
@@ -74,13 +74,18 @@ The config.ru is pretty straight-forward if you want to stick to the defaults:
|
|
74
74
|
The Gemfile to resolve dependencies (i.e. when hosting on heroku)
|
75
75
|
|
76
76
|
source :rubygems
|
77
|
-
gem "serious"
|
77
|
+
gem "serious"
|
78
78
|
|
79
79
|
The Rakefile, which is obviously totally optional but highly recommended looks like this:
|
80
80
|
|
81
81
|
require 'serious'
|
82
82
|
require 'serious/tasks'
|
83
83
|
|
84
|
+
== Supported Rubies
|
85
|
+
|
86
|
+
The gem tests are run against 1.8.7, REE, 1.9.1 and 1.9.2, so Serious should run fine at least
|
87
|
+
on those interpreters - it is highly recommended to go with 1.9.2 though.
|
88
|
+
|
84
89
|
== Creating heroku app manually
|
85
90
|
|
86
91
|
Assuming you've got the heroku gem installed and set up and you've set up git for your blog with
|
data/Rakefile
CHANGED
@@ -1,34 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
require '
|
3
|
-
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'jeweler'
|
7
|
-
Jeweler::Tasks.new do |gem|
|
8
|
-
gem.name = "serious"
|
9
|
-
gem.summary = %Q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup}
|
10
|
-
gem.description = %Q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup.}
|
11
|
-
gem.email = "christoph at olszowka.de"
|
12
|
-
gem.homepage = "http://github.com/colszowka/serious"
|
13
|
-
gem.authors = ["Christoph Olszowka"]
|
14
|
-
|
15
|
-
gem.bindir = 'bin'
|
16
|
-
gem.executables = ['serious']
|
17
|
-
gem.default_executable = 'serious'
|
18
|
-
|
19
|
-
gem.add_dependency 'sinatra', ">= 1.0.0"
|
20
|
-
gem.add_dependency 'stupid_formatter', '>= 0.2.0'
|
21
|
-
gem.add_dependency 'builder', ">= 2.1.2"
|
22
|
-
|
23
|
-
gem.add_development_dependency "shoulda", ">= 2.10.0"
|
24
|
-
gem.add_development_dependency "hpricot", ">= 0.8.0"
|
25
|
-
gem.add_development_dependency "rack-test", ">= 0.5.0"
|
26
|
-
gem.add_development_dependency "jeweler", ">= 1.4.0"
|
27
|
-
end
|
28
|
-
Jeweler::GemcutterTasks.new
|
29
|
-
rescue LoadError
|
30
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
31
|
-
end
|
2
|
+
require 'bundler'
|
3
|
+
Bundler::GemHelper.install_tasks
|
32
4
|
|
33
5
|
require 'rake/testtask'
|
34
6
|
Rake::TestTask.new(:test) do |test|
|
@@ -37,29 +9,11 @@ Rake::TestTask.new(:test) do |test|
|
|
37
9
|
test.verbose = true
|
38
10
|
end
|
39
11
|
|
40
|
-
begin
|
41
|
-
require 'rcov/rcovtask'
|
42
|
-
Rcov::RcovTask.new do |test|
|
43
|
-
test.libs << 'test'
|
44
|
-
test.pattern = 'test/**/test_*.rb'
|
45
|
-
test.verbose = true
|
46
|
-
end
|
47
|
-
rescue LoadError
|
48
|
-
task :rcov do
|
49
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
task :test => :check_dependencies
|
54
|
-
|
55
12
|
task :default => :test
|
56
13
|
|
57
14
|
require 'rake/rdoctask'
|
58
15
|
Rake::RDocTask.new do |rdoc|
|
59
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
60
|
-
|
61
16
|
rdoc.rdoc_dir = 'rdoc'
|
62
|
-
rdoc.title = "serious #{version}"
|
63
17
|
rdoc.rdoc_files.include('README*')
|
64
18
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
65
|
-
end
|
19
|
+
end
|
data/bin/serious
CHANGED
@@ -95,7 +95,7 @@ end
|
|
95
95
|
puts "Creating bundler Gemfile"
|
96
96
|
File.open("Gemfile", "w+") do |gems|
|
97
97
|
gems.puts "source :rubygems"
|
98
|
-
gems.puts 'gem "serious"
|
98
|
+
gems.puts 'gem "serious"'
|
99
99
|
end
|
100
100
|
|
101
101
|
puts "Creating Rakefile"
|
data/lib/serious.rb
CHANGED
@@ -11,8 +11,6 @@ require 'sinatra/base'
|
|
11
11
|
require 'stupid_formatter'
|
12
12
|
require 'yaml'
|
13
13
|
require 'builder'
|
14
|
-
|
15
|
-
$:.unshift File.dirname(__FILE__)
|
16
14
|
require 'ruby_ext'
|
17
15
|
|
18
16
|
class Serious < Sinatra::Base
|
@@ -88,6 +86,7 @@ class Serious < Sinatra::Base
|
|
88
86
|
end
|
89
87
|
end
|
90
88
|
|
89
|
+
require 'serious/version'
|
91
90
|
require 'serious/article'
|
92
91
|
require 'serious/page'
|
93
92
|
# Set up default stupid_formatter chain
|
@@ -103,7 +102,7 @@ Serious.set :items_on_index, 3 # Number of items to display with summary on main
|
|
103
102
|
Serious.set :archived_on_index, 10 # Number of items to display small (title only) on main page
|
104
103
|
Serious.set :cache_timeout, 300
|
105
104
|
Serious.set :run, false
|
106
|
-
Serious.set :environment, :
|
105
|
+
Serious.set :environment, :test
|
107
106
|
Serious.set :date_format, "%B %o %Y"
|
108
107
|
Serious.set :disqus, false
|
109
108
|
Serious.set :google_analytics, false
|
@@ -0,0 +1,5 @@
|
|
1
|
+
# Define it as a plain constant instead of Bundler best-practice of
|
2
|
+
# Serious::VERSION since Serious is a class that inherits from Sinatra::Base
|
3
|
+
# and we'd be getting Superclass mismatch errors here since Sinatra is
|
4
|
+
# unavailable when evaluating this file standalone...
|
5
|
+
SERIOUS_VERSION = '0.3.1'
|
@@ -0,0 +1 @@
|
|
1
|
+
/* Use this for your blog-specific css rules */
|
@@ -1,3 +1,8 @@
|
|
1
|
+
/* WARNING: DO NOT MODIFY THIS FILE!
|
2
|
+
It will be overwritten on updates your stylesheets from the serious gem.
|
3
|
+
Please use application.css for your local changes unless you want to completely change
|
4
|
+
the styles established here! */
|
5
|
+
|
1
6
|
body {
|
2
7
|
margin: 0 auto;
|
3
8
|
font-family: 'Junction', 'Baskerville', Georgia, Times, serif;
|
data/lib/site/views/atom.builder
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
xml.instruct!
|
1
|
+
xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
|
2
2
|
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
3
3
|
xml.title Serious.title
|
4
4
|
xml.id Serious.url
|
@@ -17,5 +17,4 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
|
17
17
|
xml.content article.body.formatted, "type" => "html"
|
18
18
|
end
|
19
19
|
end
|
20
|
-
end
|
21
|
-
|
20
|
+
end
|
data/lib/site/views/layout.erb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
<html>
|
2
2
|
<head>
|
3
3
|
<link rel="stylesheet" type="text/css" href="/css/serious.css">
|
4
|
+
<link rel="stylesheet" type="text/css" href="/css/application.css">
|
4
5
|
<link rel="stylesheet" type="text/css" href="/css/coderay.css">
|
5
6
|
<link rel="alternate" type="application/atom+xml" title="<%= Serious.title %>" href="<%= Serious.feed_url %>" />
|
6
7
|
<title><%= @article ? @article.title + " - " : "" %><%= Serious.title %></title>
|
data/serious.gemspec
CHANGED
@@ -1,107 +1,34 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "serious/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
6
|
+
s.name = "serious"
|
7
|
+
s.version = SERIOUS_VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Christoph Olszowka"]
|
10
|
+
s.email = ["christoph at olszowka de"]
|
11
|
+
s.homepage = "https://github.com/colszowka/serious"
|
12
|
+
s.summary = %Q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup}
|
13
|
+
s.description = %Q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup}
|
9
14
|
|
10
|
-
s.
|
11
|
-
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
|
16
|
-
s.
|
17
|
-
s.
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
s.
|
22
|
-
|
23
|
-
|
24
|
-
"CHANGELOG.rdoc",
|
25
|
-
"Gemfile",
|
26
|
-
"Gemfile.lock",
|
27
|
-
"LICENSE",
|
28
|
-
"README.rdoc",
|
29
|
-
"Rakefile",
|
30
|
-
"VERSION",
|
31
|
-
"bin/serious",
|
32
|
-
"lib/ruby_ext.rb",
|
33
|
-
"lib/serious.rb",
|
34
|
-
"lib/serious/article.rb",
|
35
|
-
"lib/serious/page.rb",
|
36
|
-
"lib/serious/tasks.rb",
|
37
|
-
"lib/site/public/css/coderay.css",
|
38
|
-
"lib/site/public/css/serious.css",
|
39
|
-
"lib/site/views/404.erb",
|
40
|
-
"lib/site/views/_archives.erb",
|
41
|
-
"lib/site/views/_article.erb",
|
42
|
-
"lib/site/views/_disqus.erb",
|
43
|
-
"lib/site/views/_google_analytics.erb",
|
44
|
-
"lib/site/views/archives.erb",
|
45
|
-
"lib/site/views/atom.builder",
|
46
|
-
"lib/site/views/index.erb",
|
47
|
-
"lib/site/views/layout.erb",
|
48
|
-
"serious.gemspec",
|
49
|
-
"test/articles/2000-01-01-disco-2000.txt",
|
50
|
-
"test/articles/2009-04-01-foo-bar.txt",
|
51
|
-
"test/articles/2009-12-11-ruby-is-the-shit.txt",
|
52
|
-
"test/articles/2009-12-24-merry-christmas.txt",
|
53
|
-
"test/helper.rb",
|
54
|
-
"test/pages/about.txt",
|
55
|
-
"test/pages/foo-bar.txt",
|
56
|
-
"test/test_article.rb",
|
57
|
-
"test/test_bin.rb",
|
58
|
-
"test/test_page.rb",
|
59
|
-
"test/test_ruby_ext.rb",
|
60
|
-
"test/test_serious.rb"
|
61
|
-
]
|
62
|
-
s.homepage = %q{http://github.com/colszowka/serious}
|
63
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
64
|
-
s.require_paths = ["lib"]
|
65
|
-
s.rubygems_version = %q{1.3.7}
|
66
|
-
s.summary = %q{Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup}
|
67
|
-
s.test_files = [
|
68
|
-
"test/helper.rb",
|
69
|
-
"test/test_article.rb",
|
70
|
-
"test/test_bin.rb",
|
71
|
-
"test/test_page.rb",
|
72
|
-
"test/test_ruby_ext.rb",
|
73
|
-
"test/test_serious.rb"
|
74
|
-
]
|
75
|
-
|
76
|
-
if s.respond_to? :specification_version then
|
77
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
78
|
-
s.specification_version = 3
|
79
|
-
|
80
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
81
|
-
s.add_runtime_dependency(%q<sinatra>, [">= 1.0.0"])
|
82
|
-
s.add_runtime_dependency(%q<stupid_formatter>, [">= 0.2.0"])
|
83
|
-
s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
|
84
|
-
s.add_development_dependency(%q<shoulda>, [">= 2.10.0"])
|
85
|
-
s.add_development_dependency(%q<hpricot>, [">= 0.8.0"])
|
86
|
-
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
87
|
-
s.add_development_dependency(%q<jeweler>, [">= 1.4.0"])
|
88
|
-
else
|
89
|
-
s.add_dependency(%q<sinatra>, [">= 1.0.0"])
|
90
|
-
s.add_dependency(%q<stupid_formatter>, [">= 0.2.0"])
|
91
|
-
s.add_dependency(%q<builder>, [">= 2.1.2"])
|
92
|
-
s.add_dependency(%q<shoulda>, [">= 2.10.0"])
|
93
|
-
s.add_dependency(%q<hpricot>, [">= 0.8.0"])
|
94
|
-
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
95
|
-
s.add_dependency(%q<jeweler>, [">= 1.4.0"])
|
96
|
-
end
|
97
|
-
else
|
98
|
-
s.add_dependency(%q<sinatra>, [">= 1.0.0"])
|
99
|
-
s.add_dependency(%q<stupid_formatter>, [">= 0.2.0"])
|
100
|
-
s.add_dependency(%q<builder>, [">= 2.1.2"])
|
101
|
-
s.add_dependency(%q<shoulda>, [">= 2.10.0"])
|
102
|
-
s.add_dependency(%q<hpricot>, [">= 0.8.0"])
|
103
|
-
s.add_dependency(%q<rack-test>, [">= 0.5.0"])
|
104
|
-
s.add_dependency(%q<jeweler>, [">= 1.4.0"])
|
105
|
-
end
|
106
|
-
end
|
15
|
+
s.rubyforge_project = "serious"
|
16
|
+
|
17
|
+
s.bindir = 'bin'
|
18
|
+
s.executables = ['serious']
|
19
|
+
s.default_executable = 'serious'
|
20
|
+
|
21
|
+
s.add_dependency 'sinatra', ">= 1.0.0"
|
22
|
+
s.add_dependency 'stupid_formatter', '>= 0.2.0'
|
23
|
+
s.add_dependency 'builder', ">= 2.1.2"
|
24
|
+
|
25
|
+
s.add_development_dependency "shoulda", "2.10.3"
|
26
|
+
s.add_development_dependency "hpricot", ">= 0.8.0"
|
27
|
+
s.add_development_dependency "rack-test", ">= 0.5.0"
|
28
|
+
s.add_development_dependency 'simplecov'
|
107
29
|
|
30
|
+
s.files = `git ls-files`.split("\n")
|
31
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
32
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
end
|
data/test/helper.rb
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
+
ENV['RACK_ENV'] = 'test'
|
2
3
|
require 'rubygems'
|
3
|
-
require 'bundler'
|
4
|
-
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'simplecov'
|
6
|
+
SimpleCov.start
|
7
|
+
|
8
|
+
require 'serious'
|
9
|
+
|
5
10
|
require 'test/unit'
|
6
11
|
require 'shoulda'
|
7
12
|
require 'rack/test'
|
8
13
|
require 'hpricot'
|
9
14
|
|
10
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
11
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
12
|
-
require 'serious'
|
13
15
|
|
14
16
|
class Test::Unit::TestCase
|
15
17
|
include Rack::Test::Methods
|
data/test/test_bin.rb
CHANGED
@@ -4,6 +4,7 @@ require 'fileutils'
|
|
4
4
|
|
5
5
|
#
|
6
6
|
# Tests for the serious executable
|
7
|
+
# TODO: Tests for git repo creation
|
7
8
|
#
|
8
9
|
class TestBin < Test::Unit::TestCase
|
9
10
|
context "In tmp folder" do
|
@@ -36,11 +37,10 @@ class TestBin < Test::Unit::TestCase
|
|
36
37
|
should_print "Only lowercase-letters and '-' allowed in dirname!"
|
37
38
|
end
|
38
39
|
|
39
|
-
when_running_serious_with 'foo' do
|
40
|
+
when_running_serious_with 'foo', '--no-git' do
|
40
41
|
should_have_dir 'foo/articles'
|
41
42
|
should_have_dir 'foo/pages'
|
42
|
-
|
43
|
-
should_have_file 'foo/Gemfile', 'gem "serious", "'
|
43
|
+
should_have_file 'foo/Gemfile', 'gem "serious"'
|
44
44
|
should_not_have_path 'foo/public'
|
45
45
|
should_not_have_path 'foo/views'
|
46
46
|
should_have_git_commit 'foo', 'Initial commit'
|
@@ -63,12 +63,12 @@ class TestBin < Test::Unit::TestCase
|
|
63
63
|
should_contain "require 'serious/tasks'", file
|
64
64
|
end
|
65
65
|
|
66
|
-
when_running_serious_with 'foo', '', false do
|
66
|
+
when_running_serious_with 'foo', '--no-git', false do
|
67
67
|
should_print 'foo exists'
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
when_running_serious_with 'public-included', '--public' do
|
71
|
+
when_running_serious_with 'public-included', '--no-git --public' do
|
72
72
|
should_have_dir 'public-included/articles'
|
73
73
|
should_not_have_path 'public-included/views'
|
74
74
|
should_have_file 'public-included/Gemfile'
|
@@ -78,9 +78,10 @@ class TestBin < Test::Unit::TestCase
|
|
78
78
|
should_not_contain ":root"
|
79
79
|
end
|
80
80
|
should_have_file "public-included/public/css/serious.css"
|
81
|
+
should_have_file "public-included/public/css/application.css"
|
81
82
|
end
|
82
83
|
|
83
|
-
when_running_serious_with 'views-included', '--views' do
|
84
|
+
when_running_serious_with 'views-included', '--no-git --views' do
|
84
85
|
should_have_dir 'views-included/articles'
|
85
86
|
should_not_have_path 'views-included/public'
|
86
87
|
should_have_file 'views-included/Gemfile'
|
@@ -92,7 +93,7 @@ class TestBin < Test::Unit::TestCase
|
|
92
93
|
should_have_file "views-included/views/layout.erb"
|
93
94
|
end
|
94
95
|
|
95
|
-
when_running_serious_with 'views-and-public', '--views --public' do
|
96
|
+
when_running_serious_with 'views-and-public', '--no-git --views --public' do
|
96
97
|
should_have_dir 'views-and-public/articles'
|
97
98
|
should_have_file 'views-and-public/Gemfile'
|
98
99
|
should_have_file 'views-and-public/config.ru' do |file|
|
@@ -101,6 +102,7 @@ class TestBin < Test::Unit::TestCase
|
|
101
102
|
should_not_contain ":views"
|
102
103
|
end
|
103
104
|
should_have_file "views-and-public/public/css/serious.css"
|
105
|
+
should_have_file "views-and-public/public/css/application.css"
|
104
106
|
should_have_file "views-and-public/views/layout.erb"
|
105
107
|
end
|
106
108
|
|
data/test/test_serious.rb
CHANGED
@@ -201,7 +201,12 @@ class TestSerious < Test::Unit::TestCase
|
|
201
201
|
should_respond_with 200
|
202
202
|
should_set_cache_control_to 300
|
203
203
|
|
204
|
-
|
204
|
+
# Shit gets escaped on 1.8, while 1.9 copes with SNOWMAN!
|
205
|
+
if "1.9".respond_to?(:encoding)
|
206
|
+
should_contain_text "Merry Christmas! ☃", "feed entry:first title"
|
207
|
+
else
|
208
|
+
should_contain_text "Merry Christmas! ☃", "feed entry:first title"
|
209
|
+
end
|
205
210
|
should_contain_text "Christoph Olszowka", "feed entry:first author name:first"
|
206
211
|
end
|
207
212
|
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Christoph Olszowka
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-02-09 00:00:00 +01:00
|
18
19
|
default_executable: serious
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 23
|
28
30
|
segments:
|
29
31
|
- 1
|
30
32
|
- 0
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ">="
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 23
|
43
46
|
segments:
|
44
47
|
- 0
|
45
48
|
- 2
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
requirements:
|
56
59
|
- - ">="
|
57
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 15
|
58
62
|
segments:
|
59
63
|
- 2
|
60
64
|
- 1
|
@@ -68,13 +72,14 @@ dependencies:
|
|
68
72
|
requirement: &id004 !ruby/object:Gem::Requirement
|
69
73
|
none: false
|
70
74
|
requirements:
|
71
|
-
- - "
|
75
|
+
- - "="
|
72
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 33
|
73
78
|
segments:
|
74
79
|
- 2
|
75
80
|
- 10
|
76
|
-
-
|
77
|
-
version: 2.10.
|
81
|
+
- 3
|
82
|
+
version: 2.10.3
|
78
83
|
type: :development
|
79
84
|
version_requirements: *id004
|
80
85
|
- !ruby/object:Gem::Dependency
|
@@ -85,6 +90,7 @@ dependencies:
|
|
85
90
|
requirements:
|
86
91
|
- - ">="
|
87
92
|
- !ruby/object:Gem::Version
|
93
|
+
hash: 63
|
88
94
|
segments:
|
89
95
|
- 0
|
90
96
|
- 8
|
@@ -100,6 +106,7 @@ dependencies:
|
|
100
106
|
requirements:
|
101
107
|
- - ">="
|
102
108
|
- !ruby/object:Gem::Version
|
109
|
+
hash: 11
|
103
110
|
segments:
|
104
111
|
- 0
|
105
112
|
- 5
|
@@ -108,45 +115,44 @@ dependencies:
|
|
108
115
|
type: :development
|
109
116
|
version_requirements: *id006
|
110
117
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
118
|
+
name: simplecov
|
112
119
|
prerelease: false
|
113
120
|
requirement: &id007 !ruby/object:Gem::Requirement
|
114
121
|
none: false
|
115
122
|
requirements:
|
116
123
|
- - ">="
|
117
124
|
- !ruby/object:Gem::Version
|
125
|
+
hash: 3
|
118
126
|
segments:
|
119
|
-
- 1
|
120
|
-
- 4
|
121
127
|
- 0
|
122
|
-
version:
|
128
|
+
version: "0"
|
123
129
|
type: :development
|
124
130
|
version_requirements: *id007
|
125
|
-
description: Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup
|
126
|
-
email:
|
131
|
+
description: Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup
|
132
|
+
email:
|
133
|
+
- christoph at olszowka de
|
127
134
|
executables:
|
128
135
|
- serious
|
129
136
|
extensions: []
|
130
137
|
|
131
|
-
extra_rdoc_files:
|
132
|
-
|
133
|
-
- README.rdoc
|
138
|
+
extra_rdoc_files: []
|
139
|
+
|
134
140
|
files:
|
135
141
|
- .document
|
136
142
|
- .gitignore
|
137
143
|
- CHANGELOG.rdoc
|
138
144
|
- Gemfile
|
139
|
-
- Gemfile.lock
|
140
145
|
- LICENSE
|
141
146
|
- README.rdoc
|
142
147
|
- Rakefile
|
143
|
-
- VERSION
|
144
148
|
- bin/serious
|
145
149
|
- lib/ruby_ext.rb
|
146
150
|
- lib/serious.rb
|
147
151
|
- lib/serious/article.rb
|
148
152
|
- lib/serious/page.rb
|
149
153
|
- lib/serious/tasks.rb
|
154
|
+
- lib/serious/version.rb
|
155
|
+
- lib/site/public/css/application.css
|
150
156
|
- lib/site/public/css/coderay.css
|
151
157
|
- lib/site/public/css/serious.css
|
152
158
|
- lib/site/views/404.erb
|
@@ -172,12 +178,12 @@ files:
|
|
172
178
|
- test/test_ruby_ext.rb
|
173
179
|
- test/test_serious.rb
|
174
180
|
has_rdoc: true
|
175
|
-
homepage:
|
181
|
+
homepage: https://github.com/colszowka/serious
|
176
182
|
licenses: []
|
177
183
|
|
178
184
|
post_install_message:
|
179
|
-
rdoc_options:
|
180
|
-
|
185
|
+
rdoc_options: []
|
186
|
+
|
181
187
|
require_paths:
|
182
188
|
- lib
|
183
189
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -185,6 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
191
|
requirements:
|
186
192
|
- - ">="
|
187
193
|
- !ruby/object:Gem::Version
|
194
|
+
hash: 3
|
188
195
|
segments:
|
189
196
|
- 0
|
190
197
|
version: "0"
|
@@ -193,18 +200,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
200
|
requirements:
|
194
201
|
- - ">="
|
195
202
|
- !ruby/object:Gem::Version
|
203
|
+
hash: 3
|
196
204
|
segments:
|
197
205
|
- 0
|
198
206
|
version: "0"
|
199
207
|
requirements: []
|
200
208
|
|
201
|
-
rubyforge_project:
|
202
|
-
rubygems_version: 1.
|
209
|
+
rubyforge_project: serious
|
210
|
+
rubygems_version: 1.4.1
|
203
211
|
signing_key:
|
204
212
|
specification_version: 3
|
205
213
|
summary: Serious is a simple, file-driven blog engine inspired by toto and driven by sinatra with an emphasis on easy setup
|
206
214
|
test_files:
|
215
|
+
- test/articles/2000-01-01-disco-2000.txt
|
216
|
+
- test/articles/2009-04-01-foo-bar.txt
|
217
|
+
- test/articles/2009-12-11-ruby-is-the-shit.txt
|
218
|
+
- test/articles/2009-12-24-merry-christmas.txt
|
207
219
|
- test/helper.rb
|
220
|
+
- test/pages/about.txt
|
221
|
+
- test/pages/foo-bar.txt
|
208
222
|
- test/test_article.rb
|
209
223
|
- test/test_bin.rb
|
210
224
|
- test/test_page.rb
|
data/Gemfile.lock
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
builder (2.1.2)
|
5
|
-
coderay (0.9.3)
|
6
|
-
gemcutter (0.6.1)
|
7
|
-
git (1.2.5)
|
8
|
-
hpricot (0.8.2)
|
9
|
-
jeweler (1.4.0)
|
10
|
-
gemcutter (>= 0.1.0)
|
11
|
-
git (>= 1.2.5)
|
12
|
-
rubyforge (>= 2.0.0)
|
13
|
-
json_pure (1.4.6)
|
14
|
-
rack (1.2.1)
|
15
|
-
rack-test (0.5.4)
|
16
|
-
rack (>= 1.0)
|
17
|
-
rdiscount (1.6.5)
|
18
|
-
rubyforge (2.0.4)
|
19
|
-
json_pure (>= 1.1.7)
|
20
|
-
shoulda (2.10.3)
|
21
|
-
sinatra (1.0)
|
22
|
-
rack (>= 1.0)
|
23
|
-
stupid_formatter (0.2.0)
|
24
|
-
coderay (>= 0.9.0)
|
25
|
-
rdiscount (>= 1.5.0)
|
26
|
-
|
27
|
-
PLATFORMS
|
28
|
-
ruby
|
29
|
-
|
30
|
-
DEPENDENCIES
|
31
|
-
builder (>= 2.1.2)
|
32
|
-
hpricot (>= 0.8.0)
|
33
|
-
jeweler (>= 1.4.0)
|
34
|
-
rack-test (>= 0.5.0)
|
35
|
-
shoulda (= 2.10.3)
|
36
|
-
sinatra (>= 1.0.0)
|
37
|
-
stupid_formatter (>= 0.2.0)
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.3.0
|