wontomedia 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Capfile +14 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +110 -0
- data/README.markdown +3 -1
- data/Rakefile +47 -14
- data/VERSION.yml +2 -2
- data/app/controllers/admin_controller.rb +1 -1
- data/app/controllers/application_controller.rb +1 -1
- data/app/controllers/connections_controller.rb +1 -1
- data/app/controllers/items_controller.rb +1 -1
- data/app/helpers/connections_helper.rb +1 -1
- data/app/helpers/format_helper.rb +1 -1
- data/app/helpers/items_helper.rb +1 -1
- data/app/models/category_item.rb +1 -1
- data/app/models/connection.rb +1 -1
- data/app/models/individual_item.rb +1 -1
- data/app/models/item.rb +1 -1
- data/app/models/property_item.rb +1 -1
- data/app/models/qualified_item.rb +1 -1
- data/app/views/admin/index.html.erb +1 -1
- data/app/views/admin/search.html.erb +1 -1
- data/app/views/connections/_index_outbound_links.html.erb +1 -1
- data/app/views/connections/_spo_select_controls.html.erb +1 -1
- data/app/views/connections/edit.html.erb +1 -1
- data/app/views/connections/index.html.erb +1 -1
- data/app/views/connections/new.html.erb +1 -1
- data/app/views/connections/show.html.erb +1 -1
- data/app/views/items/_active_content.html.erb +1 -1
- data/app/views/items/_class_select.html.erb +1 -1
- data/app/views/items/_content_examples.html.erb +1 -1
- data/app/views/items/_core_tasks.html.erb +1 -1
- data/app/views/items/_form_fields.html.erb +1 -1
- data/app/views/items/_inline_add_popopen.html.erb +1 -1
- data/app/views/items/_inline_item_add_form.html.erb +1 -1
- data/app/views/items/_inline_scalar_add_form.html.erb +1 -1
- data/app/views/items/_list_outbound_links.html.erb +1 -1
- data/app/views/items/_most_populous_classes.html.erb +1 -1
- data/app/views/items/_screen_select.html.erb +1 -1
- data/app/views/items/_show_outbound_links.html.erb +1 -1
- data/app/views/items/_topic_list.html.erb +1 -1
- data/app/views/items/_type_select.html.erb +1 -1
- data/app/views/items/edit.html.erb +1 -1
- data/app/views/items/index.html.erb +1 -1
- data/app/views/items/new.html.erb +1 -1
- data/app/views/items/newpop.html.erb +1 -1
- data/app/views/items/show.html.erb +1 -1
- data/app/views/layouts/_amazon_ads.html.erb +1 -1
- data/app/views/layouts/_dynamic_alert_framework.html.erb +1 -1
- data/app/views/layouts/_footer.html.erb +2 -2
- data/app/views/layouts/_glossary_help_box.html.erb +1 -1
- data/app/views/layouts/_google_ads.html.erb +1 -1
- data/app/views/layouts/_language_select.html.erb +1 -1
- data/app/views/layouts/_login_controls.html.erb +1 -1
- data/app/views/layouts/_master_help.html.erb +1 -1
- data/app/views/layouts/_navigation_menu.html.erb +1 -1
- data/app/views/layouts/_search_box.html.erb +1 -1
- data/app/views/layouts/_status_msgs.html.erb +1 -1
- data/app/views/layouts/application.html.erb +1 -1
- data/app/views/layouts/base.html.erb +1 -1
- data/app/views/layouts/home.html.erb +1 -1
- data/app/views/layouts/popup.html.erb +1 -1
- data/app/views/layouts/search.html.erb +1 -1
- data/assets/wontomedia-sample.rb +1 -1
- data/config/asset_packages.yml +1 -1
- data/config/boot.rb +17 -0
- data/config/caliper.yml +1 -1
- data/config/cucumber.yml +1 -1
- data/config/database-mysql-development.yml +1 -1
- data/config/database-mysql.yml +1 -1
- data/config/deploy.rb +42 -0
- data/config/deploy_on_a2hosting.rb +53 -0
- data/config/deploy_wontomedia.rb +85 -0
- data/config/environment.rb +2 -10
- data/config/environments/cucumber.rb +0 -7
- data/config/environments/development.rb +1 -1
- data/config/environments/production.rb +1 -1
- data/config/environments/test.rb +1 -1
- data/config/initializers/extensions.rb +1 -1
- data/config/initializers/mongrel.rb +90 -0
- data/config/preinitializer.rb +38 -0
- data/config/routes.rb +1 -1
- data/db/fixtures/connections.yml +1 -1
- data/db/fixtures/items.yml +1 -1
- data/default-custom/app/views/items/_home_introductory_text.html.erb +1 -1
- data/default-custom/app/views/items/home.html.erb +1 -1
- data/default-custom/app/views/layouts/_local_navigation.html.erb +1 -1
- data/default-custom/config/initializers/wontomedia.rb +53 -0
- data/default-custom/public/images/logo.png +0 -0
- data/default-custom/public/robots.txt +2 -0
- data/doc/README.markdown +3 -2
- data/doc/README_FOR_APP +1 -1
- data/doc/customization.markdown +15 -15
- data/doc/scripts/rake-customize.markdown +10 -10
- data/lib/helpers/connection_helper.rb +1 -1
- data/lib/helpers/item_helper.rb +1 -1
- data/lib/helpers/tripple_navigation.rb +1 -1
- data/{vendor/plugins/asset_packager → lib}/tasks/asset_packager_tasks.rake +2 -3
- data/lib/tasks/cucumber.rake +1 -1
- data/lib/tasks/customize.rake +10 -8
- data/lib/tasks/db.rake +1 -1
- data/lib/tasks/javascript_testing_tasks.rake +4 -2
- data/public/404.html +2 -2
- data/public/422.html +2 -2
- data/public/500.html +2 -2
- data/public/javascripts/application.js +1 -1
- data/public/javascripts/forConnectionsForms.js +1 -1
- data/public/javascripts/forItemsForms.js +1 -1
- data/public/javascripts/forItemsShow.js +1 -1
- data/public/javascripts/itemCreatePopup.js +1 -1
- data/public/javascripts/itemTitleToName.js +1 -1
- data/public/javascripts/reconcileJQueryAndPrototype.js +1 -1
- metadata +220 -18
- data/default-custom/public/images/logo.svg +0 -74
- data/doc/gemlist.txt +0 -42
- data/public/robots.txt +0 -7
@@ -1,6 +1,6 @@
|
|
1
1
|
<%
|
2
2
|
# WontoMedia - a wontology web application
|
3
|
-
# Copyright (C)
|
3
|
+
# Copyright (C) 2011 - Glen E. Ivey
|
4
4
|
# www.wontology.com
|
5
5
|
#
|
6
6
|
# This program is free software: you can redistribute it and/or modify
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
<div id="block-footer" style="width: 100%; clear: both">
|
22
22
|
<p class="fine-print">
|
23
|
-
Copyright ©
|
23
|
+
Copyright © 2011, Glen E. Ivey —
|
24
24
|
Powered by <%= link_to 'WontoMedia',
|
25
25
|
'http://wontomedia.rubyforge.org/' %>
|
26
26
|
— Software and page templates licensed under
|
data/assets/wontomedia-sample.rb
CHANGED
data/config/asset_packages.yml
CHANGED
data/config/boot.rb
CHANGED
@@ -106,5 +106,22 @@ module Rails
|
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
+
|
110
|
+
#### for Bundler:
|
111
|
+
class Rails::Boot
|
112
|
+
def run
|
113
|
+
load_initializer
|
114
|
+
|
115
|
+
Rails::Initializer.class_eval do
|
116
|
+
def load_gems
|
117
|
+
@bundler_loaded ||= Bundler.require :default, Rails.env
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
Rails::Initializer.run(:set_load_path)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
|
109
126
|
# All that for this:
|
110
127
|
Rails.boot!
|
data/config/caliper.yml
CHANGED
data/config/cucumber.yml
CHANGED
data/config/database-mysql.yml
CHANGED
data/config/deploy.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# WontoMedia - a wontology web application
|
2
|
+
# Copyright (C) 2011 - Glen E. Ivey
|
3
|
+
# www.wontology.com
|
4
|
+
#
|
5
|
+
# This program is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Affero General Public License version
|
7
|
+
# 3 as published by the Free Software Foundation.
|
8
|
+
#
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU Affero General Public License for more details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU Affero General Public License
|
15
|
+
# along with this program in the file COPYING and/or LICENSE. If not,
|
16
|
+
# see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
|
19
|
+
#### NOTE: this deployment configuration is intended to deploy an
|
20
|
+
#### "uncustomized" instance of WontoMedia to our "demo"
|
21
|
+
#### environment on A2 Hosting. For a more realistic example of
|
22
|
+
#### how to deploy WontoMedia to host a production web site, see
|
23
|
+
#### the Git repositories at:
|
24
|
+
#### https://github.com/gleneivey/wontology.org
|
25
|
+
#### https://github.com/gleneivey/staging.wontology.org
|
26
|
+
|
27
|
+
set :application, "demo.wontology.org"
|
28
|
+
set :repository, "git://github.com/gleneivey/wontomedia.git"
|
29
|
+
|
30
|
+
load File.join File.dirname(__FILE__), 'deploy_wontomedia.rb'
|
31
|
+
load File.join File.dirname(__FILE__), 'deploy_on_a2hosting.rb'
|
32
|
+
require 'bundler/capistrano'
|
33
|
+
|
34
|
+
role :app, 'wontology.org'
|
35
|
+
role :web, 'wontology.org', :deploy => false
|
36
|
+
role :db, 'wontology.org', :primary => true
|
37
|
+
|
38
|
+
set :app_to_customize, release_path
|
39
|
+
set :app_to_run, current_path
|
40
|
+
set :app_customization, File.join( release_path, 'default-custom' )
|
41
|
+
set :a2_port, 12035
|
42
|
+
|