Skip to content

Commit

Permalink
Refactor towards a 'headless' milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
René Sprotte committed Apr 15, 2011
1 parent 1193874 commit 1742fb8
Show file tree
Hide file tree
Showing 108 changed files with 10,163 additions and 496 deletions.
14 changes: 11 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ source 'http://rubygems.org'

gemspec

#gem 'rack', :git => 'git://github.com/rack/rack.git'
#gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'bson_ext'

group :development, :test do
gem 'rspec'
gem 'rspec-rails'
gem 'webrat'
gem "capybara", ">= 0.4.0"
gem "sqlite3"

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19'
end
172 changes: 75 additions & 97 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,150 +1,128 @@
PATH
remote: .
specs:
mm_cms (0.0.1)
bson_ext (~> 1.1)
cancan (~> 1.4)
devise (~> 1.1)
mm_cms (0.0.2)
haml (~> 3.0)
json (~> 1.4)
liquid (~> 2.2)
lorem (~> 0.1)
mongoid (~> 2.0.0.beta.20)
mongoid-tree (~> 0.5)
rails (~> 3.0.3)
mongoid (~> 2.0)
mongoid-tree (~> 0.6)
rails (~> 3.0)
stringex (~> 1.2)

PATH
remote: /Users/renspr/Code/Projects/metaminded/simple_form
specs:
simple_form (1.3.0)

GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.3)
actionpack (= 3.0.3)
mail (~> 2.2.9)
actionpack (3.0.3)
activemodel (= 3.0.3)
activesupport (= 3.0.3)
actionmailer (3.0.6)
actionpack (= 3.0.6)
mail (~> 2.2.15)
actionpack (3.0.6)
activemodel (= 3.0.6)
activesupport (= 3.0.6)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.4)
i18n (~> 0.5.0)
rack (~> 1.2.1)
rack-mount (~> 0.6.13)
rack-test (~> 0.5.6)
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
activemodel (3.0.3)
activesupport (= 3.0.3)
activemodel (3.0.6)
activesupport (= 3.0.6)
builder (~> 2.1.2)
i18n (~> 0.4)
activerecord (3.0.3)
activemodel (= 3.0.3)
activesupport (= 3.0.3)
i18n (~> 0.5.0)
activerecord (3.0.6)
activemodel (= 3.0.6)
activesupport (= 3.0.6)
arel (~> 2.0.2)
tzinfo (~> 0.3.23)
activeresource (3.0.3)
activemodel (= 3.0.3)
activesupport (= 3.0.3)
activesupport (3.0.3)
arel (2.0.6)
bcrypt-ruby (2.1.3)
bson (1.1.5)
bson_ext (1.1.5)
activeresource (3.0.6)
activemodel (= 3.0.6)
activesupport (= 3.0.6)
activesupport (3.0.6)
arel (2.0.9)
bson (1.3.0)
bson_ext (1.3.0)
builder (2.1.2)
cancan (1.4.1)
devise (1.1.5)
bcrypt-ruby (~> 2.1.2)
warden (~> 1.0.2)
diff-lcs (1.1.2)
capybara (0.4.1.2)
celerity (>= 0.7.9)
culerity (>= 0.2.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (>= 0.0.27)
xpath (~> 0.1.3)
celerity (0.8.9)
childprocess (0.1.8)
ffi (~> 1.0.6)
culerity (0.2.15)
erubis (2.6.6)
abstract (>= 1.0.0)
ffi (1.0.7)
rake (>= 0.8.7)
haml (3.0.25)
i18n (0.5.0)
json (1.4.6)
json_pure (1.5.1)
liquid (2.2.2)
lorem (0.1.2)
mail (2.2.13)
mail (2.2.15)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
mongo (1.1.5)
bson (>= 1.1.5)
mongoid (2.0.0.beta.20)
mongo (1.3.0)
bson (>= 1.3.0)
mongoid (2.0.1)
activemodel (~> 3.0)
mongo (~> 1.1)
mongo (~> 1.3)
tzinfo (~> 0.3.22)
will_paginate (~> 3.0.pre)
mongoid-tree (0.5.0)
mongoid (>= 2.0.0.beta.20)
mongoid-tree (0.6.0)
mongoid (~> 2.0.0)
nokogiri (1.4.4)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack (1.2.2)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rails (3.0.3)
actionmailer (= 3.0.3)
actionpack (= 3.0.3)
activerecord (= 3.0.3)
activeresource (= 3.0.3)
activesupport (= 3.0.3)
rails (3.0.6)
actionmailer (= 3.0.6)
actionpack (= 3.0.6)
activerecord (= 3.0.6)
activeresource (= 3.0.6)
activesupport (= 3.0.6)
bundler (~> 1.0)
railties (= 3.0.3)
railties (3.0.3)
actionpack (= 3.0.3)
activesupport (= 3.0.3)
railties (= 3.0.6)
railties (3.0.6)
actionpack (= 3.0.6)
activesupport (= 3.0.6)
rake (>= 0.8.7)
thor (~> 0.14.4)
rake (0.8.7)
rspec (2.3.0)
rspec-core (~> 2.3.0)
rspec-expectations (~> 2.3.0)
rspec-mocks (~> 2.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.3.0)
rspec-rails (2.3.1)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.3.0)
stringex (1.2.0)
rubyzip (0.9.4)
selenium-webdriver (0.1.4)
childprocess (>= 0.1.7)
ffi (>= 1.0.7)
json_pure
rubyzip
sqlite3 (1.3.3)
stringex (1.2.1)
thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
tzinfo (0.3.23)
warden (1.0.3)
rack (>= 1.0.0)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
tzinfo (0.3.26)
will_paginate (3.0.pre2)
xpath (0.1.3)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
bson_ext (~> 1.1)
cancan (~> 1.4)
devise (~> 1.1)
haml (~> 3.0)
json (~> 1.4)
liquid (~> 2.2)
lorem (~> 0.1)
bson_ext
capybara (>= 0.4.0)
mm_cms!
mongoid (~> 2.0.0.beta.20)
mongoid-tree (~> 0.5)
rails (~> 3.0.3)
rspec
rspec-rails
simple_form!
stringex (~> 1.2)
webrat
sqlite3
20 changes: 20 additions & 0 deletions MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright 2011 Provideal GmbH

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
= MmCms

This project rocks and uses MIT-LICENSE.
34 changes: 26 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
# encoding: UTF-8
require 'rubygems'
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'bundler'
Bundler::GemHelper.install_tasks
require 'rake'
require 'rake/rdoctask'

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
require 'rake/testtask'

task :default => :spec
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end

task :default => :test

Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'MmCms'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
7 changes: 0 additions & 7 deletions app/controllers/mm_cms/admin/application_controller.rb

This file was deleted.

17 changes: 0 additions & 17 deletions app/controllers/mm_cms/admin/dashboard_controller.rb

This file was deleted.

Loading

0 comments on commit 1742fb8

Please sign in to comment.