litil 0.1.0

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.
@@ -0,0 +1,14 @@
1
+ = Litil
2
+
3
+ Litil is a content management system built in Ruby. The overarching goal of
4
+ Litil is to be fast and flexible.
5
+
6
+ == Inspiration
7
+
8
+ * Drupal
9
+ * Radiant
10
+
11
+ == Development Dogma
12
+
13
+ * 100% C0 Code Coverage Is Not Optional
14
+ * Extensions Should Be Created And Consumed As Gems
@@ -0,0 +1,3 @@
1
+ require 'rake'
2
+
3
+ Dir['tasks/*.rake'].each{|f| import(f) }
@@ -0,0 +1,3 @@
1
+ module Litil
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,35 @@
1
+ begin
2
+ require 'rcov/rcovtask'
3
+ require 'spec/rake/spectask'
4
+ require 'cucumber/rake/task'
5
+
6
+ namespace :test do
7
+ namespace :coverage do
8
+ desc "Delete aggregate coverage data."
9
+ task(:clean) { rm_f "coverage.data" }
10
+ end
11
+
12
+ desc 'Aggregate code coverage for unit, behavior and feature tests'
13
+ task :coverage => ["test:coverage:clean",
14
+ "test:coverage:specs",
15
+ "test:coverage:features"]
16
+
17
+ namespace :coverage do
18
+ desc 'Generate code coverage for RSpec tests'
19
+ Spec::Rake::SpecTask.new(:specs) do |t|
20
+ t.spec_files = FileList['spec/**/*_spec.rb']
21
+ t.rcov = true
22
+ t.rcov_opts << %[--aggregate coverage.data]
23
+ t.rcov_opts << %[-o "coverage/specs"]
24
+ end
25
+
26
+ desc 'Generate code coverage for Cucumber tests'
27
+ Cucumber::Rake::Task.new(:features) do |t|
28
+ t.rcov = true
29
+ t.rcov_opts << %[--aggregate coverage.data]
30
+ t.rcov_opts << %[-o "coverage/features"]
31
+ end
32
+ end
33
+ end
34
+ rescue LoadError
35
+ end
@@ -0,0 +1,11 @@
1
+ begin
2
+ require 'cucumber/rake/task'
3
+
4
+ namespace :test do
5
+ Cucumber::Rake::Task.new(:features) do |t|
6
+ t.cucumber_opts = "features --format pretty"
7
+ end
8
+ end
9
+ rescue LoadError
10
+ puts "Cucumber not available. Install it with: sudo gem install cucumber"
11
+ end
@@ -0,0 +1,16 @@
1
+ begin
2
+ require 'jeweler'
3
+ require File.dirname(__FILE__) + "/../lib/litil"
4
+
5
+ Jeweler::Tasks.new do |gemspec|
6
+ gemspec.name = "litil"
7
+ gemspec.summary = "A fast and flexible CMS for Ruby"
8
+ gemspec.description = "Litil is a Ruby CMS intended to be fast and flexible."
9
+ gemspec.version = Litil::VERSION
10
+ gemspec.email = "james@plainprograms.com"
11
+ gemspec.homepage = "http://github.com/plainprogrammer/litil"
12
+ gemspec.authors = ["James Thompson"]
13
+ end
14
+ rescue LoadError
15
+ puts "Jeweler not available. Install it with: sudo gem install jeweler"
16
+ end
@@ -0,0 +1,14 @@
1
+ begin
2
+ require 'spec/rake/spectask'
3
+
4
+ namespace :test do
5
+ Spec::Rake::SpecTask.new(:specs) do |t|
6
+ t.libs << 'spec'
7
+ t.pattern = 'spec/**/*_spec.rb'
8
+ t.verbose = true
9
+ t.warning = true
10
+ end
11
+ end
12
+ rescue LoadError
13
+ puts "RSpec not available. Install it with: sudo gem install rspec"
14
+ end
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: litil
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Thompson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-12-10 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Litil is a Ruby CMS intended to be fast and flexible.
17
+ email: james@plainprograms.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.rdoc
24
+ files:
25
+ - README.rdoc
26
+ - Rakefile
27
+ - lib/litil.rb
28
+ - tasks/coverage.rake
29
+ - tasks/features.rake
30
+ - tasks/jeweler.rake
31
+ - tasks/spec.rake
32
+ has_rdoc: true
33
+ homepage: http://github.com/plainprogrammer/litil
34
+ licenses: []
35
+
36
+ post_install_message:
37
+ rdoc_options:
38
+ - --charset=UTF-8
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
46
+ version:
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ version:
53
+ requirements: []
54
+
55
+ rubyforge_project:
56
+ rubygems_version: 1.3.5
57
+ signing_key:
58
+ specification_version: 3
59
+ summary: A fast and flexible CMS for Ruby
60
+ test_files: []
61
+