engine_room 0.5.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.
- data/.gitignore +10 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +159 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +44 -0
- data/Rakefile +30 -0
- data/TODO +3 -0
- data/app/controllers/engine_room/content_controller.rb +117 -0
- data/app/controllers/engine_room/fields_controller.rb +119 -0
- data/app/controllers/engine_room/models_controller.rb +89 -0
- data/app/controllers/engine_room/pages_controller.rb +17 -0
- data/app/controllers/engine_room/sections_controller.rb +74 -0
- data/app/controllers/engine_room/users_controller.rb +84 -0
- data/app/controllers/er_devise/passwords_controller.rb +6 -0
- data/app/controllers/er_devise/registrations_controller.rb +8 -0
- data/app/controllers/er_devise/sessions_controller.rb +6 -0
- data/app/helpers/engine_room/content_helper.rb +103 -0
- data/app/helpers/engine_room/models_helper.rb +21 -0
- data/app/models/field.rb +89 -0
- data/app/models/section.rb +68 -0
- data/app/models/user.rb +31 -0
- data/app/views/engine_room/content/_form.html.erb +13 -0
- data/app/views/engine_room/content/_overview.html.erb +28 -0
- data/app/views/engine_room/content/_sidebar.html.erb +14 -0
- data/app/views/engine_room/content/edit.html.erb +38 -0
- data/app/views/engine_room/content/index.html.erb +1 -0
- data/app/views/engine_room/content/new.html.erb +1 -0
- data/app/views/engine_room/content/overview.html.erb +3 -0
- data/app/views/engine_room/fields/_form.html.erb +57 -0
- data/app/views/engine_room/fields/edit.html.erb +1 -0
- data/app/views/engine_room/fields/new.html.erb +1 -0
- data/app/views/engine_room/models/_form.html.erb +0 -0
- data/app/views/engine_room/models/edit.html.erb +14 -0
- data/app/views/engine_room/models/index.html.erb +16 -0
- data/app/views/engine_room/models/new.html.erb +14 -0
- data/app/views/engine_room/models/overview.html.erb +14 -0
- data/app/views/engine_room/pages/dashboard.html.erb +1 -0
- data/app/views/engine_room/pages/settings.html.erb +1 -0
- data/app/views/engine_room/sections/_form.html.erb +34 -0
- data/app/views/engine_room/sections/_sidebar.html.erb +11 -0
- data/app/views/engine_room/sections/edit.html.erb +81 -0
- data/app/views/engine_room/sections/index.html.erb +3 -0
- data/app/views/engine_room/sections/new.html.erb +1 -0
- data/app/views/engine_room/users/_form.html.erb +47 -0
- data/app/views/engine_room/users/edit.html.erb +11 -0
- data/app/views/engine_room/users/index.html.erb +24 -0
- data/app/views/engine_room/users/new.html.erb +1 -0
- data/app/views/er_devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/er_devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/er_devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/er_devise/passwords/edit.html.erb +16 -0
- data/app/views/er_devise/passwords/new.html.erb +13 -0
- data/app/views/er_devise/registrations/edit.html.erb +42 -0
- data/app/views/er_devise/registrations/new.html.erb +21 -0
- data/app/views/er_devise/sessions/new.html.erb +23 -0
- data/app/views/er_devise/shared/_links.erb +19 -0
- data/app/views/layouts/engine_room.html.erb +103 -0
- data/app/views/layouts/login.html.erb +71 -0
- data/app/views/shared/_content_layout_selector.html.erb +45 -0
- data/app/views/shared/_error_messages.html.erb +17 -0
- data/config/initializers/devise.rb +146 -0
- data/config/initializers/locale.rb +5 -0
- data/config/locales/devise.de.yml +42 -0
- data/config/locales/devise.en.yml +39 -0
- data/config/locales/engine_room.de.yml +33 -0
- data/config/locales/engine_room.en.yml +42 -0
- data/config/routes.rb +62 -0
- data/engine_room.gemspec +35 -0
- data/lib/engine_room.rb +17 -0
- data/lib/engine_room/action_controller/controller_methods.rb +21 -0
- data/lib/engine_room/action_view/view_methods.rb +8 -0
- data/lib/engine_room/active_record/record_methods.rb +18 -0
- data/lib/engine_room/crummy/custom_renderer.rb +63 -0
- data/lib/engine_room/engine.rb +40 -0
- data/lib/engine_room/railties/tasks.rake +6 -0
- data/lib/engine_room/version.rb +3 -0
- data/lib/generators/engine_room/create_image_generator.rb +26 -0
- data/lib/generators/engine_room/setup_generator.rb +30 -0
- data/lib/generators/engine_room/templates/001_devise_create_users.rb +28 -0
- data/lib/generators/engine_room/templates/002_create_sections.rb +16 -0
- data/lib/generators/engine_room/templates/003_create_fields.rb +18 -0
- data/lib/generators/engine_room/templates/004_create_images.rb +19 -0
- data/lib/generators/engine_room/templates/image.rb +4 -0
- data/lib/tasks/dummy.rake +45 -0
- data/lib/tasks/templates/migrate/050_create_dogs.rb +18 -0
- data/lib/tasks/templates/models/dog.rb +3 -0
- data/public/images/er/accept.png +0 -0
- data/public/images/er/add.png +0 -0
- data/public/images/er/add_small.png +0 -0
- data/public/images/er/ajax-loader.gif +0 -0
- data/public/images/er/attach.png +0 -0
- data/public/images/er/back_disabled.jpg +0 -0
- data/public/images/er/back_enabled.jpg +0 -0
- data/public/images/er/bg/header_gradient_center.jpg +0 -0
- data/public/images/er/bg/header_gradient_left.jpg +0 -0
- data/public/images/er/bg/header_gradient_right.jpg +0 -0
- data/public/images/er/cancel.png +0 -0
- data/public/images/er/cog.png +0 -0
- data/public/images/er/database_add.png +0 -0
- data/public/images/er/delete.png +0 -0
- data/public/images/er/delete_small.png +0 -0
- data/public/images/er/down_arrow.gif +0 -0
- data/public/images/er/down_arrow.png +0 -0
- data/public/images/er/email.png +0 -0
- data/public/images/er/exclamation.png +0 -0
- data/public/images/er/forward_disabled.jpg +0 -0
- data/public/images/er/forward_enabled.jpg +0 -0
- data/public/images/er/help.png +0 -0
- data/public/images/er/image_add.png +0 -0
- data/public/images/er/information.png +0 -0
- data/public/images/er/link.png +0 -0
- data/public/images/er/loader.gif +0 -0
- data/public/images/er/telephone.png +0 -0
- data/public/images/er/up_arrow.gif +0 -0
- data/public/images/er/up_arrow.png +0 -0
- data/public/images/er/user.png +0 -0
- data/public/images/er/wrench.png +0 -0
- data/public/images/er/zoom.png +0 -0
- data/public/javascripts/er/dd_belatedpng.js +328 -0
- data/public/javascripts/er/fancybox/blank.gif +0 -0
- data/public/javascripts/er/fancybox/fancy_close.png +0 -0
- data/public/javascripts/er/fancybox/fancy_loading.png +0 -0
- data/public/javascripts/er/fancybox/fancy_nav_left.png +0 -0
- data/public/javascripts/er/fancybox/fancy_nav_right.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_e.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_n.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_ne.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_nw.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_s.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_se.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_sw.png +0 -0
- data/public/javascripts/er/fancybox/fancy_shadow_w.png +0 -0
- data/public/javascripts/er/fancybox/fancy_title_left.png +0 -0
- data/public/javascripts/er/fancybox/fancy_title_main.png +0 -0
- data/public/javascripts/er/fancybox/fancy_title_over.png +0 -0
- data/public/javascripts/er/fancybox/fancy_title_right.png +0 -0
- data/public/javascripts/er/fancybox/fancybox-x.png +0 -0
- data/public/javascripts/er/fancybox/fancybox-y.png +0 -0
- data/public/javascripts/er/fancybox/fancybox.png +0 -0
- data/public/javascripts/er/fancybox/jquery.fancybox-1.3.4.css +359 -0
- data/public/javascripts/er/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
- data/public/javascripts/er/jquery-1.4.4.min.js +167 -0
- data/public/javascripts/er/jquery-ui-1.8.6.custom.min.js +477 -0
- data/public/javascripts/er/modernizr-1.5.min.js +28 -0
- data/public/javascripts/er/plugins.js +48 -0
- data/public/javascripts/er/rails.js +156 -0
- data/public/javascripts/er/script.js +50 -0
- data/public/stylesheets/.gitkeep +0 -0
- data/public/stylesheets/admin.css +417 -0
- data/public/stylesheets/boilerplate.css +264 -0
- data/public/stylesheets/handheld.css +7 -0
- data/public/stylesheets/login.css +125 -0
- data/public/stylesheets/skin.css +2 -0
- data/public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/stylesheets/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/public/stylesheets/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/smoothness/jquery-ui-1.8.6.custom.css +479 -0
- data/spec/controllers/content_controller_spec.rb +132 -0
- data/spec/controllers/fields_controller_spec.rb +103 -0
- data/spec/controllers/models_controller_spec.rb +65 -0
- data/spec/controllers/pages_controller_spec.rb +40 -0
- data/spec/controllers/sections_controller_spec.rb +124 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/controls.js +965 -0
- data/spec/dummy/public/javascripts/dragdrop.js +974 -0
- data/spec/dummy/public/javascripts/effects.js +1123 -0
- data/spec/dummy/public/javascripts/prototype.js +6001 -0
- data/spec/dummy/public/javascripts/rails.js +175 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/engine_room_spec.rb +7 -0
- data/spec/factories.rb +32 -0
- data/spec/integration/navigation_spec.rb +9 -0
- data/spec/models/dog_spec.rb +14 -0
- data/spec/models/field_spec.rb +74 -0
- data/spec/models/section_spec.rb +70 -0
- data/spec/models/user_spec.rb +77 -0
- data/spec/routing/models_routing_spec.rb +66 -0
- data/spec/spec_helper.rb +39 -0
- data/spec/support/devise.rb +3 -0
- metadata +492 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
describe "ModelsController routes" do
|
|
2
|
+
|
|
3
|
+
describe "GET 'overview" do
|
|
4
|
+
|
|
5
|
+
it "should map /admin/models to { :controller => 'engine_room/models', :action => 'overview' }" do
|
|
6
|
+
{ :get => "/admin/models" }.should route_to( :controller => "engine_room/models", :action => "overview" )
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
it "should map engine_room_models_path to /admin/models" do
|
|
10
|
+
engine_room_models_path.should == '/admin/models'
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it "does not expose a list of profiles" do
|
|
14
|
+
{ :get => "/profiles" }.should_not be_routable
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
describe "GET 'index'" do
|
|
19
|
+
|
|
20
|
+
it "should map /admin/model/cats to { :controller => 'engine_room/models', :action => 'index', :modelname => 'cats' }" do
|
|
21
|
+
{ :get => "/admin/model/cats" }.should route_to( :controller => "engine_room/models", :action => "index", :modelname => 'cats' )
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
describe "GET 'show'" do
|
|
26
|
+
|
|
27
|
+
it "should map /admin/model/cat/23 to { :controller => 'engine_room/models', :action => 'show', :modelname => 'cat', :id => 23 }" do
|
|
28
|
+
{ :get => "/admin/model/cat/23" }.should route_to( :controller => "engine_room/models", :action => "show", :modelname => 'cat', :id => "23" )
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
describe "GET 'edit'" do
|
|
33
|
+
|
|
34
|
+
it "should map /admin/model/cat/23/edit to { :controller => 'engine_room/models', :action => 'edit', :modelname => 'cat', :id => 23 }" do
|
|
35
|
+
{ :get => "/admin/model/cat/23/edit" }.should route_to( :controller => "engine_room/models", :action => "edit", :modelname => 'cat', :id => "23" )
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe "GET 'new'" do
|
|
40
|
+
|
|
41
|
+
it "should map /admin/model/cat/new to { :controller => 'engine_room/models', :action => 'new', :modelname => 'cat' }" do
|
|
42
|
+
{ :get => "/admin/model/cat/new" }.should route_to( :controller => "engine_room/models", :action => "new", :modelname => 'cat' )
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe "POST 'create'" do
|
|
47
|
+
|
|
48
|
+
it "should map /admin/model/cat to { :controller => 'engine_room/models', :action => 'create', :modelname => 'cat' }" do
|
|
49
|
+
{ :post => "/admin/model/cat" }.should route_to( :controller => "engine_room/models", :action => "create", :modelname => 'cat' )
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe "PUT 'update'" do
|
|
54
|
+
|
|
55
|
+
it "should map /admin/model/cat/23 to { :controller => 'engine_room/models', :action => 'update', :modelname => 'cat', :id => 23 }" do
|
|
56
|
+
{ :put => "/admin/model/cat/23" }.should route_to( :controller => "engine_room/models", :action => "update", :modelname => 'cat', :id => "23" )
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe "DELETE 'destroy'" do
|
|
61
|
+
|
|
62
|
+
it "should map /admin/model/cat/23 to { :controller => 'engine_room/models', :action => 'destroy', :modelname => 'cat', :id => 23 }" do
|
|
63
|
+
{ :delete => "/admin/model/cat/23" }.should route_to( :controller => "engine_room/models", :action => "destroy", :modelname => 'cat', :id => "23" )
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
require "spork"
|
|
2
|
+
|
|
3
|
+
Spork.prefork do
|
|
4
|
+
# Configure Rails Envinronment
|
|
5
|
+
ENV["RAILS_ENV"] = "test"
|
|
6
|
+
|
|
7
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
|
8
|
+
require "rails/test_help"
|
|
9
|
+
require "rspec/rails"
|
|
10
|
+
|
|
11
|
+
ActionMailer::Base.delivery_method = :test
|
|
12
|
+
ActionMailer::Base.perform_deliveries = true
|
|
13
|
+
ActionMailer::Base.default_url_options[:host] = "test.com"
|
|
14
|
+
|
|
15
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
16
|
+
|
|
17
|
+
# Configure capybara for integration testing
|
|
18
|
+
require "capybara/rails"
|
|
19
|
+
Capybara.default_driver = :rack_test
|
|
20
|
+
Capybara.default_selector = :css
|
|
21
|
+
|
|
22
|
+
# Load support files
|
|
23
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
24
|
+
|
|
25
|
+
RSpec.configure do |config|
|
|
26
|
+
# Remove this line if you don't want Rspec's should and should_not
|
|
27
|
+
# methods or matchers
|
|
28
|
+
require 'rspec/expectations'
|
|
29
|
+
config.include RSpec::Matchers
|
|
30
|
+
|
|
31
|
+
# == Mock Framework
|
|
32
|
+
config.mock_with :rspec
|
|
33
|
+
|
|
34
|
+
config.use_transactional_fixtures = true
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Run any available migration
|
|
39
|
+
ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
metadata
ADDED
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: engine_room
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 5
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.5.0
|
|
10
|
+
platform: ruby
|
|
11
|
+
authors:
|
|
12
|
+
- Boris Searles
|
|
13
|
+
autorequire:
|
|
14
|
+
bindir: bin
|
|
15
|
+
cert_chain: []
|
|
16
|
+
|
|
17
|
+
date: 2010-12-16 00:00:00 +01:00
|
|
18
|
+
default_executable:
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: devise
|
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
23
|
+
none: false
|
|
24
|
+
requirements:
|
|
25
|
+
- - ~>
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 1
|
|
29
|
+
- 1
|
|
30
|
+
- 3
|
|
31
|
+
version: 1.1.3
|
|
32
|
+
type: :runtime
|
|
33
|
+
prerelease: false
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: rails
|
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
|
+
none: false
|
|
39
|
+
requirements:
|
|
40
|
+
- - ~>
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
segments:
|
|
43
|
+
- 3
|
|
44
|
+
- 0
|
|
45
|
+
- 3
|
|
46
|
+
version: 3.0.3
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: *id002
|
|
50
|
+
- !ruby/object:Gem::Dependency
|
|
51
|
+
name: crummy
|
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
53
|
+
none: false
|
|
54
|
+
requirements:
|
|
55
|
+
- - ~>
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
segments:
|
|
58
|
+
- 1
|
|
59
|
+
- 0
|
|
60
|
+
- 1
|
|
61
|
+
version: 1.0.1
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: *id003
|
|
65
|
+
- !ruby/object:Gem::Dependency
|
|
66
|
+
name: will_paginate
|
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
68
|
+
none: false
|
|
69
|
+
requirements:
|
|
70
|
+
- - "="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
segments:
|
|
73
|
+
- 3
|
|
74
|
+
- 0
|
|
75
|
+
- pre2
|
|
76
|
+
version: 3.0.pre2
|
|
77
|
+
type: :runtime
|
|
78
|
+
prerelease: false
|
|
79
|
+
version_requirements: *id004
|
|
80
|
+
- !ruby/object:Gem::Dependency
|
|
81
|
+
name: paperclip
|
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
83
|
+
none: false
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
segments:
|
|
88
|
+
- 0
|
|
89
|
+
version: "0"
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: *id005
|
|
93
|
+
- !ruby/object:Gem::Dependency
|
|
94
|
+
name: capybara
|
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
96
|
+
none: false
|
|
97
|
+
requirements:
|
|
98
|
+
- - ">="
|
|
99
|
+
- !ruby/object:Gem::Version
|
|
100
|
+
segments:
|
|
101
|
+
- 0
|
|
102
|
+
- 3
|
|
103
|
+
- 9
|
|
104
|
+
version: 0.3.9
|
|
105
|
+
type: :development
|
|
106
|
+
prerelease: false
|
|
107
|
+
version_requirements: *id006
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: webrat
|
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
|
111
|
+
none: false
|
|
112
|
+
requirements:
|
|
113
|
+
- - ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
segments:
|
|
116
|
+
- 0
|
|
117
|
+
version: "0"
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: *id007
|
|
121
|
+
- !ruby/object:Gem::Dependency
|
|
122
|
+
name: rspec-rails
|
|
123
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
|
124
|
+
none: false
|
|
125
|
+
requirements:
|
|
126
|
+
- - ~>
|
|
127
|
+
- !ruby/object:Gem::Version
|
|
128
|
+
segments:
|
|
129
|
+
- 2
|
|
130
|
+
- 3
|
|
131
|
+
- 0
|
|
132
|
+
version: 2.3.0
|
|
133
|
+
type: :development
|
|
134
|
+
prerelease: false
|
|
135
|
+
version_requirements: *id008
|
|
136
|
+
- !ruby/object:Gem::Dependency
|
|
137
|
+
name: factory_girl_rails
|
|
138
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
|
139
|
+
none: false
|
|
140
|
+
requirements:
|
|
141
|
+
- - "="
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
segments:
|
|
144
|
+
- 1
|
|
145
|
+
- 0
|
|
146
|
+
version: "1.0"
|
|
147
|
+
type: :development
|
|
148
|
+
prerelease: false
|
|
149
|
+
version_requirements: *id009
|
|
150
|
+
- !ruby/object:Gem::Dependency
|
|
151
|
+
name: spork
|
|
152
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
|
153
|
+
none: false
|
|
154
|
+
requirements:
|
|
155
|
+
- - ">="
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
segments:
|
|
158
|
+
- 0
|
|
159
|
+
version: "0"
|
|
160
|
+
type: :development
|
|
161
|
+
prerelease: false
|
|
162
|
+
version_requirements: *id010
|
|
163
|
+
- !ruby/object:Gem::Dependency
|
|
164
|
+
name: fuubar
|
|
165
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
|
166
|
+
none: false
|
|
167
|
+
requirements:
|
|
168
|
+
- - ">="
|
|
169
|
+
- !ruby/object:Gem::Version
|
|
170
|
+
segments:
|
|
171
|
+
- 0
|
|
172
|
+
version: "0"
|
|
173
|
+
type: :development
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: *id011
|
|
176
|
+
- !ruby/object:Gem::Dependency
|
|
177
|
+
name: sqlite3-ruby
|
|
178
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
|
179
|
+
none: false
|
|
180
|
+
requirements:
|
|
181
|
+
- - ">="
|
|
182
|
+
- !ruby/object:Gem::Version
|
|
183
|
+
segments:
|
|
184
|
+
- 0
|
|
185
|
+
version: "0"
|
|
186
|
+
type: :development
|
|
187
|
+
prerelease: false
|
|
188
|
+
version_requirements: *id012
|
|
189
|
+
description: EngineRoom aims to be a simple to use, unobtrusive admin interface for rails applications. It is designed to be an add-on for existing web apps and not a full blown CMS. Just add EngineRoom to an app and it will create a customizable interface for editing the content data.
|
|
190
|
+
email:
|
|
191
|
+
- boris@lucidgardens.com
|
|
192
|
+
executables: []
|
|
193
|
+
|
|
194
|
+
extensions: []
|
|
195
|
+
|
|
196
|
+
extra_rdoc_files: []
|
|
197
|
+
|
|
198
|
+
files:
|
|
199
|
+
- .gitignore
|
|
200
|
+
- Gemfile
|
|
201
|
+
- Gemfile.lock
|
|
202
|
+
- MIT-LICENSE
|
|
203
|
+
- README.rdoc
|
|
204
|
+
- Rakefile
|
|
205
|
+
- TODO
|
|
206
|
+
- app/controllers/engine_room/content_controller.rb
|
|
207
|
+
- app/controllers/engine_room/fields_controller.rb
|
|
208
|
+
- app/controllers/engine_room/models_controller.rb
|
|
209
|
+
- app/controllers/engine_room/pages_controller.rb
|
|
210
|
+
- app/controllers/engine_room/sections_controller.rb
|
|
211
|
+
- app/controllers/engine_room/users_controller.rb
|
|
212
|
+
- app/controllers/er_devise/passwords_controller.rb
|
|
213
|
+
- app/controllers/er_devise/registrations_controller.rb
|
|
214
|
+
- app/controllers/er_devise/sessions_controller.rb
|
|
215
|
+
- app/helpers/engine_room/content_helper.rb
|
|
216
|
+
- app/helpers/engine_room/models_helper.rb
|
|
217
|
+
- app/models/field.rb
|
|
218
|
+
- app/models/section.rb
|
|
219
|
+
- app/models/user.rb
|
|
220
|
+
- app/views/engine_room/content/_form.html.erb
|
|
221
|
+
- app/views/engine_room/content/_overview.html.erb
|
|
222
|
+
- app/views/engine_room/content/_sidebar.html.erb
|
|
223
|
+
- app/views/engine_room/content/edit.html.erb
|
|
224
|
+
- app/views/engine_room/content/index.html.erb
|
|
225
|
+
- app/views/engine_room/content/new.html.erb
|
|
226
|
+
- app/views/engine_room/content/overview.html.erb
|
|
227
|
+
- app/views/engine_room/fields/_form.html.erb
|
|
228
|
+
- app/views/engine_room/fields/edit.html.erb
|
|
229
|
+
- app/views/engine_room/fields/new.html.erb
|
|
230
|
+
- app/views/engine_room/models/_form.html.erb
|
|
231
|
+
- app/views/engine_room/models/edit.html.erb
|
|
232
|
+
- app/views/engine_room/models/index.html.erb
|
|
233
|
+
- app/views/engine_room/models/new.html.erb
|
|
234
|
+
- app/views/engine_room/models/overview.html.erb
|
|
235
|
+
- app/views/engine_room/pages/dashboard.html.erb
|
|
236
|
+
- app/views/engine_room/pages/settings.html.erb
|
|
237
|
+
- app/views/engine_room/sections/_form.html.erb
|
|
238
|
+
- app/views/engine_room/sections/_sidebar.html.erb
|
|
239
|
+
- app/views/engine_room/sections/edit.html.erb
|
|
240
|
+
- app/views/engine_room/sections/index.html.erb
|
|
241
|
+
- app/views/engine_room/sections/new.html.erb
|
|
242
|
+
- app/views/engine_room/users/_form.html.erb
|
|
243
|
+
- app/views/engine_room/users/edit.html.erb
|
|
244
|
+
- app/views/engine_room/users/index.html.erb
|
|
245
|
+
- app/views/engine_room/users/new.html.erb
|
|
246
|
+
- app/views/er_devise/mailer/confirmation_instructions.html.erb
|
|
247
|
+
- app/views/er_devise/mailer/reset_password_instructions.html.erb
|
|
248
|
+
- app/views/er_devise/mailer/unlock_instructions.html.erb
|
|
249
|
+
- app/views/er_devise/passwords/edit.html.erb
|
|
250
|
+
- app/views/er_devise/passwords/new.html.erb
|
|
251
|
+
- app/views/er_devise/registrations/edit.html.erb
|
|
252
|
+
- app/views/er_devise/registrations/new.html.erb
|
|
253
|
+
- app/views/er_devise/sessions/new.html.erb
|
|
254
|
+
- app/views/er_devise/shared/_links.erb
|
|
255
|
+
- app/views/layouts/engine_room.html.erb
|
|
256
|
+
- app/views/layouts/login.html.erb
|
|
257
|
+
- app/views/shared/_content_layout_selector.html.erb
|
|
258
|
+
- app/views/shared/_error_messages.html.erb
|
|
259
|
+
- config/initializers/devise.rb
|
|
260
|
+
- config/initializers/locale.rb
|
|
261
|
+
- config/locales/devise.de.yml
|
|
262
|
+
- config/locales/devise.en.yml
|
|
263
|
+
- config/locales/engine_room.de.yml
|
|
264
|
+
- config/locales/engine_room.en.yml
|
|
265
|
+
- config/routes.rb
|
|
266
|
+
- engine_room.gemspec
|
|
267
|
+
- lib/engine_room.rb
|
|
268
|
+
- lib/engine_room/action_controller/controller_methods.rb
|
|
269
|
+
- lib/engine_room/action_view/view_methods.rb
|
|
270
|
+
- lib/engine_room/active_record/record_methods.rb
|
|
271
|
+
- lib/engine_room/crummy/custom_renderer.rb
|
|
272
|
+
- lib/engine_room/engine.rb
|
|
273
|
+
- lib/engine_room/railties/tasks.rake
|
|
274
|
+
- lib/engine_room/version.rb
|
|
275
|
+
- lib/generators/engine_room/create_image_generator.rb
|
|
276
|
+
- lib/generators/engine_room/setup_generator.rb
|
|
277
|
+
- lib/generators/engine_room/templates/001_devise_create_users.rb
|
|
278
|
+
- lib/generators/engine_room/templates/002_create_sections.rb
|
|
279
|
+
- lib/generators/engine_room/templates/003_create_fields.rb
|
|
280
|
+
- lib/generators/engine_room/templates/004_create_images.rb
|
|
281
|
+
- lib/generators/engine_room/templates/image.rb
|
|
282
|
+
- lib/tasks/dummy.rake
|
|
283
|
+
- lib/tasks/templates/migrate/050_create_dogs.rb
|
|
284
|
+
- lib/tasks/templates/models/dog.rb
|
|
285
|
+
- public/images/er/accept.png
|
|
286
|
+
- public/images/er/add.png
|
|
287
|
+
- public/images/er/add_small.png
|
|
288
|
+
- public/images/er/ajax-loader.gif
|
|
289
|
+
- public/images/er/attach.png
|
|
290
|
+
- public/images/er/back_disabled.jpg
|
|
291
|
+
- public/images/er/back_enabled.jpg
|
|
292
|
+
- public/images/er/bg/header_gradient_center.jpg
|
|
293
|
+
- public/images/er/bg/header_gradient_left.jpg
|
|
294
|
+
- public/images/er/bg/header_gradient_right.jpg
|
|
295
|
+
- public/images/er/cancel.png
|
|
296
|
+
- public/images/er/cog.png
|
|
297
|
+
- public/images/er/database_add.png
|
|
298
|
+
- public/images/er/delete.png
|
|
299
|
+
- public/images/er/delete_small.png
|
|
300
|
+
- public/images/er/down_arrow.gif
|
|
301
|
+
- public/images/er/down_arrow.png
|
|
302
|
+
- public/images/er/email.png
|
|
303
|
+
- public/images/er/exclamation.png
|
|
304
|
+
- public/images/er/forward_disabled.jpg
|
|
305
|
+
- public/images/er/forward_enabled.jpg
|
|
306
|
+
- public/images/er/help.png
|
|
307
|
+
- public/images/er/image_add.png
|
|
308
|
+
- public/images/er/information.png
|
|
309
|
+
- public/images/er/link.png
|
|
310
|
+
- public/images/er/loader.gif
|
|
311
|
+
- public/images/er/telephone.png
|
|
312
|
+
- public/images/er/up_arrow.gif
|
|
313
|
+
- public/images/er/up_arrow.png
|
|
314
|
+
- public/images/er/user.png
|
|
315
|
+
- public/images/er/wrench.png
|
|
316
|
+
- public/images/er/zoom.png
|
|
317
|
+
- public/javascripts/er/dd_belatedpng.js
|
|
318
|
+
- public/javascripts/er/fancybox/blank.gif
|
|
319
|
+
- public/javascripts/er/fancybox/fancy_close.png
|
|
320
|
+
- public/javascripts/er/fancybox/fancy_loading.png
|
|
321
|
+
- public/javascripts/er/fancybox/fancy_nav_left.png
|
|
322
|
+
- public/javascripts/er/fancybox/fancy_nav_right.png
|
|
323
|
+
- public/javascripts/er/fancybox/fancy_shadow_e.png
|
|
324
|
+
- public/javascripts/er/fancybox/fancy_shadow_n.png
|
|
325
|
+
- public/javascripts/er/fancybox/fancy_shadow_ne.png
|
|
326
|
+
- public/javascripts/er/fancybox/fancy_shadow_nw.png
|
|
327
|
+
- public/javascripts/er/fancybox/fancy_shadow_s.png
|
|
328
|
+
- public/javascripts/er/fancybox/fancy_shadow_se.png
|
|
329
|
+
- public/javascripts/er/fancybox/fancy_shadow_sw.png
|
|
330
|
+
- public/javascripts/er/fancybox/fancy_shadow_w.png
|
|
331
|
+
- public/javascripts/er/fancybox/fancy_title_left.png
|
|
332
|
+
- public/javascripts/er/fancybox/fancy_title_main.png
|
|
333
|
+
- public/javascripts/er/fancybox/fancy_title_over.png
|
|
334
|
+
- public/javascripts/er/fancybox/fancy_title_right.png
|
|
335
|
+
- public/javascripts/er/fancybox/fancybox-x.png
|
|
336
|
+
- public/javascripts/er/fancybox/fancybox-y.png
|
|
337
|
+
- public/javascripts/er/fancybox/fancybox.png
|
|
338
|
+
- public/javascripts/er/fancybox/jquery.fancybox-1.3.4.css
|
|
339
|
+
- public/javascripts/er/fancybox/jquery.fancybox-1.3.4.pack.js
|
|
340
|
+
- public/javascripts/er/jquery-1.4.4.min.js
|
|
341
|
+
- public/javascripts/er/jquery-ui-1.8.6.custom.min.js
|
|
342
|
+
- public/javascripts/er/modernizr-1.5.min.js
|
|
343
|
+
- public/javascripts/er/plugins.js
|
|
344
|
+
- public/javascripts/er/rails.js
|
|
345
|
+
- public/javascripts/er/script.js
|
|
346
|
+
- public/stylesheets/.gitkeep
|
|
347
|
+
- public/stylesheets/admin.css
|
|
348
|
+
- public/stylesheets/boilerplate.css
|
|
349
|
+
- public/stylesheets/handheld.css
|
|
350
|
+
- public/stylesheets/login.css
|
|
351
|
+
- public/stylesheets/skin.css
|
|
352
|
+
- public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
|
353
|
+
- public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
|
354
|
+
- public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
|
355
|
+
- public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
|
356
|
+
- public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
|
357
|
+
- public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
|
358
|
+
- public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
|
359
|
+
- public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
|
360
|
+
- public/stylesheets/smoothness/images/ui-icons_222222_256x240.png
|
|
361
|
+
- public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png
|
|
362
|
+
- public/stylesheets/smoothness/images/ui-icons_454545_256x240.png
|
|
363
|
+
- public/stylesheets/smoothness/images/ui-icons_888888_256x240.png
|
|
364
|
+
- public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
|
|
365
|
+
- public/stylesheets/smoothness/jquery-ui-1.8.6.custom.css
|
|
366
|
+
- spec/controllers/content_controller_spec.rb
|
|
367
|
+
- spec/controllers/fields_controller_spec.rb
|
|
368
|
+
- spec/controllers/models_controller_spec.rb
|
|
369
|
+
- spec/controllers/pages_controller_spec.rb
|
|
370
|
+
- spec/controllers/sections_controller_spec.rb
|
|
371
|
+
- spec/dummy/Rakefile
|
|
372
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
373
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
374
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
375
|
+
- spec/dummy/config.ru
|
|
376
|
+
- spec/dummy/config/application.rb
|
|
377
|
+
- spec/dummy/config/boot.rb
|
|
378
|
+
- spec/dummy/config/database.yml
|
|
379
|
+
- spec/dummy/config/environment.rb
|
|
380
|
+
- spec/dummy/config/environments/development.rb
|
|
381
|
+
- spec/dummy/config/environments/production.rb
|
|
382
|
+
- spec/dummy/config/environments/test.rb
|
|
383
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
384
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
385
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
386
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
387
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
388
|
+
- spec/dummy/config/locales/en.yml
|
|
389
|
+
- spec/dummy/config/routes.rb
|
|
390
|
+
- spec/dummy/public/404.html
|
|
391
|
+
- spec/dummy/public/422.html
|
|
392
|
+
- spec/dummy/public/500.html
|
|
393
|
+
- spec/dummy/public/favicon.ico
|
|
394
|
+
- spec/dummy/public/javascripts/application.js
|
|
395
|
+
- spec/dummy/public/javascripts/controls.js
|
|
396
|
+
- spec/dummy/public/javascripts/dragdrop.js
|
|
397
|
+
- spec/dummy/public/javascripts/effects.js
|
|
398
|
+
- spec/dummy/public/javascripts/prototype.js
|
|
399
|
+
- spec/dummy/public/javascripts/rails.js
|
|
400
|
+
- spec/dummy/public/stylesheets/.gitkeep
|
|
401
|
+
- spec/dummy/script/rails
|
|
402
|
+
- spec/engine_room_spec.rb
|
|
403
|
+
- spec/factories.rb
|
|
404
|
+
- spec/integration/navigation_spec.rb
|
|
405
|
+
- spec/models/dog_spec.rb
|
|
406
|
+
- spec/models/field_spec.rb
|
|
407
|
+
- spec/models/section_spec.rb
|
|
408
|
+
- spec/models/user_spec.rb
|
|
409
|
+
- spec/routing/models_routing_spec.rb
|
|
410
|
+
- spec/spec_helper.rb
|
|
411
|
+
- spec/support/devise.rb
|
|
412
|
+
has_rdoc: true
|
|
413
|
+
homepage: http://github.com/bozz/engine_room
|
|
414
|
+
licenses: []
|
|
415
|
+
|
|
416
|
+
post_install_message:
|
|
417
|
+
rdoc_options: []
|
|
418
|
+
|
|
419
|
+
require_paths:
|
|
420
|
+
- lib
|
|
421
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
422
|
+
none: false
|
|
423
|
+
requirements:
|
|
424
|
+
- - ">="
|
|
425
|
+
- !ruby/object:Gem::Version
|
|
426
|
+
hash: -3057644397460689981
|
|
427
|
+
segments:
|
|
428
|
+
- 0
|
|
429
|
+
version: "0"
|
|
430
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
431
|
+
none: false
|
|
432
|
+
requirements:
|
|
433
|
+
- - ">="
|
|
434
|
+
- !ruby/object:Gem::Version
|
|
435
|
+
hash: -3057644397460689981
|
|
436
|
+
segments:
|
|
437
|
+
- 0
|
|
438
|
+
version: "0"
|
|
439
|
+
requirements: []
|
|
440
|
+
|
|
441
|
+
rubyforge_project: engine_room
|
|
442
|
+
rubygems_version: 1.3.7
|
|
443
|
+
signing_key:
|
|
444
|
+
specification_version: 3
|
|
445
|
+
summary: Unobtrusive rails admin interface
|
|
446
|
+
test_files:
|
|
447
|
+
- spec/controllers/content_controller_spec.rb
|
|
448
|
+
- spec/controllers/fields_controller_spec.rb
|
|
449
|
+
- spec/controllers/models_controller_spec.rb
|
|
450
|
+
- spec/controllers/pages_controller_spec.rb
|
|
451
|
+
- spec/controllers/sections_controller_spec.rb
|
|
452
|
+
- spec/dummy/Rakefile
|
|
453
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
454
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
455
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
456
|
+
- spec/dummy/config.ru
|
|
457
|
+
- spec/dummy/config/application.rb
|
|
458
|
+
- spec/dummy/config/boot.rb
|
|
459
|
+
- spec/dummy/config/database.yml
|
|
460
|
+
- spec/dummy/config/environment.rb
|
|
461
|
+
- spec/dummy/config/environments/development.rb
|
|
462
|
+
- spec/dummy/config/environments/production.rb
|
|
463
|
+
- spec/dummy/config/environments/test.rb
|
|
464
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
465
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
466
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
467
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
468
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
469
|
+
- spec/dummy/config/locales/en.yml
|
|
470
|
+
- spec/dummy/config/routes.rb
|
|
471
|
+
- spec/dummy/public/404.html
|
|
472
|
+
- spec/dummy/public/422.html
|
|
473
|
+
- spec/dummy/public/500.html
|
|
474
|
+
- spec/dummy/public/favicon.ico
|
|
475
|
+
- spec/dummy/public/javascripts/application.js
|
|
476
|
+
- spec/dummy/public/javascripts/controls.js
|
|
477
|
+
- spec/dummy/public/javascripts/dragdrop.js
|
|
478
|
+
- spec/dummy/public/javascripts/effects.js
|
|
479
|
+
- spec/dummy/public/javascripts/prototype.js
|
|
480
|
+
- spec/dummy/public/javascripts/rails.js
|
|
481
|
+
- spec/dummy/public/stylesheets/.gitkeep
|
|
482
|
+
- spec/dummy/script/rails
|
|
483
|
+
- spec/engine_room_spec.rb
|
|
484
|
+
- spec/factories.rb
|
|
485
|
+
- spec/integration/navigation_spec.rb
|
|
486
|
+
- spec/models/dog_spec.rb
|
|
487
|
+
- spec/models/field_spec.rb
|
|
488
|
+
- spec/models/section_spec.rb
|
|
489
|
+
- spec/models/user_spec.rb
|
|
490
|
+
- spec/routing/models_routing_spec.rb
|
|
491
|
+
- spec/spec_helper.rb
|
|
492
|
+
- spec/support/devise.rb
|