disguise 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -1
- data/Rakefile +6 -5
- data/VERSION +1 -1
- data/disguise.gemspec +122 -8
- data/generators/theme/templates/views/_footer.html.erb +1 -5
- data/generators/theme/templates/views/_head.html.erb +3 -4
- data/generators/theme/templates/views/_header.html.erb +0 -25
- data/generators/theme/templates/views/default.html.erb +0 -1
- data/generators/theme/theme_generator.rb +1 -1
- data/rails/init.rb +1 -2
- data/test/rails_root/.gitignore +8 -0
- data/test/rails_root/.rake_tasks +103 -0
- data/test/rails_root/Capfile +3 -0
- data/test/rails_root/Rakefile +10 -0
- data/test/rails_root/app/controllers/admin/themes_controller.rb +4 -0
- data/test/rails_root/app/controllers/application_controller.rb +4 -0
- data/test/rails_root/app/controllers/default_controller.rb +6 -0
- data/test/rails_root/app/models/.keep +0 -0
- data/test/rails_root/app/models/user.rb +9 -0
- data/test/rails_root/app/views/default/index.html.erb +1 -0
- data/test/rails_root/app/views/layouts/default.html.erb +26 -0
- data/test/rails_root/config/amazon_s3.yml +14 -0
- data/test/rails_root/config/boot.rb +109 -0
- data/test/rails_root/config/database.yml +14 -0
- data/test/rails_root/config/environment.rb +21 -0
- data/test/rails_root/config/environments/development.rb +19 -0
- data/test/rails_root/config/environments/production.rb +1 -0
- data/test/rails_root/config/environments/test.rb +33 -0
- data/test/rails_root/config/global_config.yml +18 -0
- data/test/rails_root/config/initializers/inflections.rb +10 -0
- data/test/rails_root/config/initializers/mime_types.rb +5 -0
- data/test/rails_root/config/initializers/requires.rb +13 -0
- data/test/rails_root/config/initializers/s3_credentials.rb +9 -0
- data/test/rails_root/config/initializers/session_store.rb +8 -0
- data/test/rails_root/config/routes.rb +7 -0
- data/test/rails_root/db/.keep +0 -0
- data/test/rails_root/db/migrate/20090530170040_create_themes.rb +11 -0
- data/test/rails_root/db/migrate/20090602041838_create_users.rb +12 -0
- data/test/rails_root/features/step_definitions/webrat_steps.rb +99 -0
- data/test/rails_root/features/support/env.rb +14 -0
- data/test/rails_root/public/.htaccess +40 -0
- data/test/rails_root/public/404.html +30 -0
- data/test/rails_root/public/422.html +30 -0
- data/test/rails_root/public/500.html +30 -0
- data/test/rails_root/public/dispatch.rb +10 -0
- data/test/rails_root/public/favicon.ico +0 -0
- data/test/rails_root/public/images/blue/preview.gif +0 -0
- data/test/rails_root/public/images/rails.png +0 -0
- data/test/rails_root/public/images/red/preview.gif +0 -0
- data/test/rails_root/public/javascripts/application.js +2 -0
- data/test/rails_root/public/javascripts/builder.js +136 -0
- data/test/rails_root/public/javascripts/controls.js +963 -0
- data/test/rails_root/public/javascripts/dragdrop.js +972 -0
- data/test/rails_root/public/javascripts/effects.js +1120 -0
- data/test/rails_root/public/javascripts/prototype.js +4225 -0
- data/test/rails_root/public/javascripts/scriptaculous.js +58 -0
- data/test/rails_root/public/javascripts/slider.js +277 -0
- data/test/rails_root/public/javascripts/sound.js +60 -0
- data/test/rails_root/public/robots.txt +1 -0
- data/test/rails_root/public/stylesheets/.keep +0 -0
- data/test/rails_root/public/stylesheets/themes/blue/styles.css +1 -0
- data/test/rails_root/public/stylesheets/themes/red/styles.css +1 -0
- data/test/rails_root/script/about +3 -0
- data/test/rails_root/script/breakpointer +3 -0
- data/test/rails_root/script/console +3 -0
- data/test/rails_root/script/create_project.rb +52 -0
- data/test/rails_root/script/cucumber +7 -0
- data/test/rails_root/script/dbconsole +3 -0
- data/test/rails_root/script/destroy +3 -0
- data/test/rails_root/script/generate +3 -0
- data/test/rails_root/script/performance/benchmarker +3 -0
- data/test/rails_root/script/performance/profiler +3 -0
- data/test/rails_root/script/performance/request +3 -0
- data/test/rails_root/script/plugin +3 -0
- data/test/rails_root/script/process/inspector +3 -0
- data/test/rails_root/script/process/reaper +3 -0
- data/test/rails_root/script/process/spawner +3 -0
- data/test/rails_root/script/runner +3 -0
- data/test/rails_root/script/server +3 -0
- data/test/rails_root/test/factories.rb +7 -0
- data/test/rails_root/test/functional/.keep +0 -0
- data/test/rails_root/test/functional/admin/themes_controller_test.rb +42 -0
- data/test/rails_root/test/functional/default_controller_test.rb +60 -0
- data/test/rails_root/test/integration/.keep +0 -0
- data/test/rails_root/test/mocks/development/.keep +0 -0
- data/test/rails_root/test/mocks/test/.keep +0 -0
- data/test/rails_root/test/test_helper.rb +35 -0
- data/test/rails_root/test/unit/.keep +0 -0
- data/test/rails_root/test/unit/theme_test.rb +25 -0
- data/test/rails_root/themes/blue/description.txt +1 -0
- data/test/rails_root/themes/blue/locales/blue.yml +2 -0
- data/test/rails_root/themes/blue/locales/en.yml +2 -0
- data/test/rails_root/themes/blue/views/default/index.html.erb +1 -0
- data/test/rails_root/themes/blue/views/layouts/default.html.erb +17 -0
- data/test/rails_root/themes/blue/views/layouts/global/_footer.html.erb +2 -0
- data/test/rails_root/themes/blue/views/layouts/global/_head.html.erb +7 -0
- data/test/rails_root/themes/blue/views/layouts/global/_header.html.erb +4 -0
- data/test/rails_root/themes/red/description.txt +1 -0
- data/test/rails_root/themes/red/locales/en.yml +2 -0
- data/test/rails_root/themes/red/views/layouts/default.html.erb +17 -0
- data/test/rails_root/themes/red/views/layouts/global/_footer.html.erb +3 -0
- data/test/rails_root/themes/red/views/layouts/global/_head.html.erb +7 -0
- data/test/rails_root/themes/red/views/layouts/global/_header.html.erb +4 -0
- metadata +122 -6
- data/test/disguise_test.rb +0 -7
- data/test/test_helper.rb +0 -18
data/README.rdoc
CHANGED
@@ -37,7 +37,11 @@ Generate a new theme for your Rails application using the built in theme generat
|
|
37
37
|
|
38
38
|
./script/generate theme theme_name
|
39
39
|
|
40
|
-
|
40
|
+
|
41
|
+
== Tests
|
42
|
+
Tests require the gem installed before running. In addition, if you change any of the code
|
43
|
+
you will need to run rake install before testing.
|
44
|
+
|
41
45
|
== Copyright
|
42
46
|
|
43
47
|
Copyright (c) 2009 Justin Ball. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -53,11 +53,12 @@ rescue LoadError
|
|
53
53
|
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
54
54
|
end
|
55
55
|
|
56
|
-
|
57
|
-
Rake::TestTask.new(:test) do |
|
58
|
-
|
59
|
-
|
60
|
-
|
56
|
+
desc 'Test the disguise gem.'
|
57
|
+
Rake::TestTask.new(:test) do |t|
|
58
|
+
t.libs << 'lib'
|
59
|
+
t.libs << 'test/rails_root/test'
|
60
|
+
t.pattern = 'test/rails_root/test/**/*_test.rb'
|
61
|
+
t.verbose = true
|
61
62
|
end
|
62
63
|
|
63
64
|
begin
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/disguise.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{disguise}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Justin Ball"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-06-04}
|
10
10
|
s.description = %q{Add themes to your Rails application to easily change the view layer and impress everyone you know}
|
11
11
|
s.email = %q{justinball@gmail.com}
|
12
12
|
s.extra_rdoc_files = [
|
@@ -133,10 +133,99 @@ Gem::Specification.new do |s|
|
|
133
133
|
"rails/init.rb",
|
134
134
|
"tasks/rails.rake",
|
135
135
|
"tasks/rails.rake",
|
136
|
-
"test/
|
137
|
-
"test/
|
138
|
-
"test/
|
139
|
-
"test/
|
136
|
+
"test/rails_root/.gitignore",
|
137
|
+
"test/rails_root/.rake_tasks",
|
138
|
+
"test/rails_root/Capfile",
|
139
|
+
"test/rails_root/Rakefile",
|
140
|
+
"test/rails_root/app/controllers/admin/themes_controller.rb",
|
141
|
+
"test/rails_root/app/controllers/application_controller.rb",
|
142
|
+
"test/rails_root/app/controllers/default_controller.rb",
|
143
|
+
"test/rails_root/app/models/.keep",
|
144
|
+
"test/rails_root/app/models/user.rb",
|
145
|
+
"test/rails_root/app/views/default/index.html.erb",
|
146
|
+
"test/rails_root/app/views/layouts/default.html.erb",
|
147
|
+
"test/rails_root/config/amazon_s3.yml",
|
148
|
+
"test/rails_root/config/boot.rb",
|
149
|
+
"test/rails_root/config/database.yml",
|
150
|
+
"test/rails_root/config/environment.rb",
|
151
|
+
"test/rails_root/config/environments/development.rb",
|
152
|
+
"test/rails_root/config/environments/production.rb",
|
153
|
+
"test/rails_root/config/environments/test.rb",
|
154
|
+
"test/rails_root/config/global_config.yml",
|
155
|
+
"test/rails_root/config/initializers/inflections.rb",
|
156
|
+
"test/rails_root/config/initializers/mime_types.rb",
|
157
|
+
"test/rails_root/config/initializers/requires.rb",
|
158
|
+
"test/rails_root/config/initializers/s3_credentials.rb",
|
159
|
+
"test/rails_root/config/initializers/session_store.rb",
|
160
|
+
"test/rails_root/config/routes.rb",
|
161
|
+
"test/rails_root/db/.keep",
|
162
|
+
"test/rails_root/db/migrate/20090530170040_create_themes.rb",
|
163
|
+
"test/rails_root/db/migrate/20090602041838_create_users.rb",
|
164
|
+
"test/rails_root/features/step_definitions/webrat_steps.rb",
|
165
|
+
"test/rails_root/features/support/env.rb",
|
166
|
+
"test/rails_root/public/.htaccess",
|
167
|
+
"test/rails_root/public/404.html",
|
168
|
+
"test/rails_root/public/422.html",
|
169
|
+
"test/rails_root/public/500.html",
|
170
|
+
"test/rails_root/public/dispatch.rb",
|
171
|
+
"test/rails_root/public/favicon.ico",
|
172
|
+
"test/rails_root/public/images/blue/preview.gif",
|
173
|
+
"test/rails_root/public/images/rails.png",
|
174
|
+
"test/rails_root/public/images/red/preview.gif",
|
175
|
+
"test/rails_root/public/javascripts/application.js",
|
176
|
+
"test/rails_root/public/javascripts/builder.js",
|
177
|
+
"test/rails_root/public/javascripts/controls.js",
|
178
|
+
"test/rails_root/public/javascripts/dragdrop.js",
|
179
|
+
"test/rails_root/public/javascripts/effects.js",
|
180
|
+
"test/rails_root/public/javascripts/prototype.js",
|
181
|
+
"test/rails_root/public/javascripts/scriptaculous.js",
|
182
|
+
"test/rails_root/public/javascripts/slider.js",
|
183
|
+
"test/rails_root/public/javascripts/sound.js",
|
184
|
+
"test/rails_root/public/robots.txt",
|
185
|
+
"test/rails_root/public/stylesheets/.keep",
|
186
|
+
"test/rails_root/public/stylesheets/themes/blue/styles.css",
|
187
|
+
"test/rails_root/public/stylesheets/themes/red/styles.css",
|
188
|
+
"test/rails_root/script/about",
|
189
|
+
"test/rails_root/script/breakpointer",
|
190
|
+
"test/rails_root/script/console",
|
191
|
+
"test/rails_root/script/create_project.rb",
|
192
|
+
"test/rails_root/script/cucumber",
|
193
|
+
"test/rails_root/script/dbconsole",
|
194
|
+
"test/rails_root/script/destroy",
|
195
|
+
"test/rails_root/script/generate",
|
196
|
+
"test/rails_root/script/performance/benchmarker",
|
197
|
+
"test/rails_root/script/performance/profiler",
|
198
|
+
"test/rails_root/script/performance/request",
|
199
|
+
"test/rails_root/script/plugin",
|
200
|
+
"test/rails_root/script/process/inspector",
|
201
|
+
"test/rails_root/script/process/reaper",
|
202
|
+
"test/rails_root/script/process/spawner",
|
203
|
+
"test/rails_root/script/runner",
|
204
|
+
"test/rails_root/script/server",
|
205
|
+
"test/rails_root/test/factories.rb",
|
206
|
+
"test/rails_root/test/functional/.keep",
|
207
|
+
"test/rails_root/test/functional/admin/themes_controller_test.rb",
|
208
|
+
"test/rails_root/test/functional/default_controller_test.rb",
|
209
|
+
"test/rails_root/test/integration/.keep",
|
210
|
+
"test/rails_root/test/mocks/development/.keep",
|
211
|
+
"test/rails_root/test/mocks/test/.keep",
|
212
|
+
"test/rails_root/test/test_helper.rb",
|
213
|
+
"test/rails_root/test/unit/.keep",
|
214
|
+
"test/rails_root/test/unit/theme_test.rb",
|
215
|
+
"test/rails_root/themes/blue/description.txt",
|
216
|
+
"test/rails_root/themes/blue/locales/blue.yml",
|
217
|
+
"test/rails_root/themes/blue/locales/en.yml",
|
218
|
+
"test/rails_root/themes/blue/views/default/index.html.erb",
|
219
|
+
"test/rails_root/themes/blue/views/layouts/default.html.erb",
|
220
|
+
"test/rails_root/themes/blue/views/layouts/global/_footer.html.erb",
|
221
|
+
"test/rails_root/themes/blue/views/layouts/global/_head.html.erb",
|
222
|
+
"test/rails_root/themes/blue/views/layouts/global/_header.html.erb",
|
223
|
+
"test/rails_root/themes/red/description.txt",
|
224
|
+
"test/rails_root/themes/red/locales/en.yml",
|
225
|
+
"test/rails_root/themes/red/views/layouts/default.html.erb",
|
226
|
+
"test/rails_root/themes/red/views/layouts/global/_footer.html.erb",
|
227
|
+
"test/rails_root/themes/red/views/layouts/global/_head.html.erb",
|
228
|
+
"test/rails_root/themes/red/views/layouts/global/_header.html.erb"
|
140
229
|
]
|
141
230
|
s.has_rdoc = true
|
142
231
|
s.homepage = %q{http://github.com/jbasdf/disguise}
|
@@ -146,8 +235,33 @@ Gem::Specification.new do |s|
|
|
146
235
|
s.rubygems_version = %q{1.3.1}
|
147
236
|
s.summary = %q{Easy to use view theme system for Rails}
|
148
237
|
s.test_files = [
|
149
|
-
"test/
|
150
|
-
"test/
|
238
|
+
"test/rails_root/app/controllers/admin/themes_controller.rb",
|
239
|
+
"test/rails_root/app/controllers/application_controller.rb",
|
240
|
+
"test/rails_root/app/controllers/default_controller.rb",
|
241
|
+
"test/rails_root/app/models/user.rb",
|
242
|
+
"test/rails_root/config/boot.rb",
|
243
|
+
"test/rails_root/config/environment.rb",
|
244
|
+
"test/rails_root/config/environments/development.rb",
|
245
|
+
"test/rails_root/config/environments/production.rb",
|
246
|
+
"test/rails_root/config/environments/test.rb",
|
247
|
+
"test/rails_root/config/initializers/inflections.rb",
|
248
|
+
"test/rails_root/config/initializers/mime_types.rb",
|
249
|
+
"test/rails_root/config/initializers/requires.rb",
|
250
|
+
"test/rails_root/config/initializers/s3_credentials.rb",
|
251
|
+
"test/rails_root/config/initializers/session_store.rb",
|
252
|
+
"test/rails_root/config/routes.rb",
|
253
|
+
"test/rails_root/db/migrate/20090530170040_create_themes.rb",
|
254
|
+
"test/rails_root/db/migrate/20090602041838_create_users.rb",
|
255
|
+
"test/rails_root/db/schema.rb",
|
256
|
+
"test/rails_root/features/step_definitions/webrat_steps.rb",
|
257
|
+
"test/rails_root/features/support/env.rb",
|
258
|
+
"test/rails_root/public/dispatch.rb",
|
259
|
+
"test/rails_root/script/create_project.rb",
|
260
|
+
"test/rails_root/test/factories.rb",
|
261
|
+
"test/rails_root/test/functional/admin/themes_controller_test.rb",
|
262
|
+
"test/rails_root/test/functional/default_controller_test.rb",
|
263
|
+
"test/rails_root/test/test_helper.rb",
|
264
|
+
"test/rails_root/test/unit/theme_test.rb"
|
151
265
|
]
|
152
266
|
|
153
267
|
if s.respond_to? :specification_version then
|
@@ -1,7 +1,3 @@
|
|
1
1
|
<div id="footer">
|
2
|
-
|
3
|
-
<%= link_to _('News'), news_index_path %> |
|
4
|
-
<%= link_to _('Privacy Policy'), page_path('privacy-policy') %> |
|
5
|
-
<%= link_to _('Terms of Use'), page_path('terms') %> |
|
6
|
-
<%= link_to _('Code of Conduct'), page_path('code_of_conduct') %>
|
2
|
+
|
7
3
|
</div>
|
@@ -1,9 +1,8 @@
|
|
1
1
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
2
2
|
<meta name="description" content="" />
|
3
|
-
<title><%= @title
|
4
|
-
<%= stylesheet_link_tag '
|
5
|
-
<%= javascript_include_tag '
|
6
|
-
<%= theme_stylesheet_link_tag %>
|
3
|
+
<title><%= @title -%></title>
|
4
|
+
<%= stylesheet_link_tag 'application', :cache=>true -%>
|
5
|
+
<%= javascript_include_tag 'application' -%>
|
7
6
|
<%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? -%>
|
8
7
|
<%= yield :head -%>
|
9
8
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
@@ -1,28 +1,3 @@
|
|
1
1
|
<div id="top-navigation">
|
2
|
-
<form action="/search" style='margin:0px;padding:0px;'>
|
3
|
-
<ul class="top-nav">
|
4
|
-
<li class="first"><a href="http://<%= GlobalConfig.application_url %>/home"><%= _('Home') %></a></li>
|
5
|
-
<li><a href="<%= groups_path %>"><%= _('Groups') %></a></li>
|
6
|
-
<li><a href="<%= profiles_path %>"><%= _('People') %></a></li>
|
7
|
-
<li><a href="<%= news_index_path %>"><%= _('News') %></a></li>
|
8
|
-
<li><a href="http://courses.<%= GlobalConfig.application_base_url %>"><%= _('Courses') %></a></li>
|
9
|
-
<li><a href="/pages/support-us"><%= _('Donate') %></a></li>
|
10
|
-
</ul>
|
11
|
-
<div id="log-out" class="right">
|
12
|
-
<span id='search'>
|
13
|
-
<script type='text/javascript'>function searchClicked(){sb=document.getElementById('search_box');sb.style.color='black';if (sb.value == 'Search') sb.value='';}</script>
|
14
|
-
<input id='search_box' type='text' name='q' value='<%= _('Search') %>' onclick='searchClicked();'/>
|
15
|
-
<button style='height:22px;'><span style='line-height:13px;vertical-align:middle;'><%= _('Go') %></span></button>
|
16
|
-
</span>
|
17
|
-
<% if logged_in? -%>
|
18
|
-
<%= link_to _('My Dashboard'), user_path(current_user) %>
|
19
|
-
<%= link_to current_user.login, profile_path(current_user) %>
|
20
|
-
<%= link_to _('Logout'), logout_path %>
|
21
|
-
<% else -%>
|
22
|
-
<%= _("%{login_link} %{signup_link}") % {:login_link => link_to(_('Login'), login_path), :signup_link => link_to(_('Sign-up'), signup_path)} %>
|
23
|
-
<% end -%>
|
24
|
-
</div>
|
25
|
-
</form>
|
26
2
|
</div>
|
27
|
-
|
28
3
|
<div class="clear"></div>
|
@@ -28,7 +28,7 @@ class ThemeGenerator < Rails::Generator::NamedBase
|
|
28
28
|
m.file "stylesheets/styles.css", "public/stylesheets/themes/#{file_name}/styles.css"
|
29
29
|
|
30
30
|
# localization
|
31
|
-
m.file "locale/en.yml", "themes/#{file_name}/
|
31
|
+
m.file "locale/en.yml", "themes/#{file_name}/locales/en.yml"
|
32
32
|
|
33
33
|
m.readme "INSTALL"
|
34
34
|
end
|
data/rails/init.rb
CHANGED
@@ -0,0 +1,103 @@
|
|
1
|
+
db:abort_if_pending_migrations
|
2
|
+
db:bootstrap
|
3
|
+
db:bootstrap:load
|
4
|
+
db:charset
|
5
|
+
db:collation
|
6
|
+
db:create
|
7
|
+
db:create:all
|
8
|
+
db:drop
|
9
|
+
db:drop:all
|
10
|
+
db:fixtures:identify
|
11
|
+
db:fixtures:load
|
12
|
+
db:migrate
|
13
|
+
db:migrate:down
|
14
|
+
db:migrate:redo
|
15
|
+
db:migrate:reset
|
16
|
+
db:migrate:up
|
17
|
+
db:reset
|
18
|
+
db:rollback
|
19
|
+
db:schema:dump
|
20
|
+
db:schema:load
|
21
|
+
db:sessions:clear
|
22
|
+
db:sessions:create
|
23
|
+
db:structure:dump
|
24
|
+
db:test:clone
|
25
|
+
db:test:clone_structure
|
26
|
+
db:test:prepare
|
27
|
+
db:test:purge
|
28
|
+
db:version
|
29
|
+
deploy
|
30
|
+
doc:app
|
31
|
+
doc:clobber_app
|
32
|
+
doc:clobber_plugins
|
33
|
+
doc:clobber_rails
|
34
|
+
doc:plugins
|
35
|
+
doc:rails
|
36
|
+
doc:reapp
|
37
|
+
doc:rerails
|
38
|
+
gems
|
39
|
+
gems:build
|
40
|
+
gems:install
|
41
|
+
gems:unpack
|
42
|
+
gems:unpack:dependencies
|
43
|
+
git:branch:production
|
44
|
+
git:diff:production
|
45
|
+
git:diff:staging
|
46
|
+
git:pull:template
|
47
|
+
git:push:production
|
48
|
+
git:push:staging
|
49
|
+
log:clear
|
50
|
+
notes
|
51
|
+
notes:fixme
|
52
|
+
notes:optimize
|
53
|
+
notes:todo
|
54
|
+
rails:freeze:edge
|
55
|
+
rails:freeze:gems
|
56
|
+
rails:unfreeze
|
57
|
+
rails:update
|
58
|
+
rails:update:configs
|
59
|
+
rails:update:javascripts
|
60
|
+
rails:update:scripts
|
61
|
+
remote:cleanup
|
62
|
+
remote:cold_deploy
|
63
|
+
remote:deploy
|
64
|
+
remote:deploy_with_migrations
|
65
|
+
remote:diff_from_last_deploy
|
66
|
+
remote:disable_web
|
67
|
+
remote:enable_web
|
68
|
+
remote:exec
|
69
|
+
remote:invoke
|
70
|
+
remote:migrate
|
71
|
+
remote:restart
|
72
|
+
remote:rollback
|
73
|
+
remote:rollback_code
|
74
|
+
remote:setup
|
75
|
+
remote:shell
|
76
|
+
remote:show_tasks
|
77
|
+
remote:spinner
|
78
|
+
remote:symlink
|
79
|
+
remote:update
|
80
|
+
remote:update_code
|
81
|
+
remote:update_current
|
82
|
+
rollback
|
83
|
+
routes
|
84
|
+
secret
|
85
|
+
shoulda:from_yaml
|
86
|
+
shoulda:list
|
87
|
+
stats
|
88
|
+
test
|
89
|
+
test:functionals
|
90
|
+
test:integration
|
91
|
+
test:plugins
|
92
|
+
test:recent
|
93
|
+
test:uncommitted
|
94
|
+
test:units
|
95
|
+
time:zones:all
|
96
|
+
time:zones:local
|
97
|
+
time:zones:us
|
98
|
+
tmp:cache:clear
|
99
|
+
tmp:clear
|
100
|
+
tmp:create
|
101
|
+
tmp:pids:clear
|
102
|
+
tmp:sessions:clear
|
103
|
+
tmp:sockets:clear
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
|
5
|
+
|
6
|
+
require 'rake'
|
7
|
+
require 'rake/testtask'
|
8
|
+
require 'rake/rdoctask'
|
9
|
+
|
10
|
+
require 'tasks/rails'
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
test
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
5
|
+
<title>home</title>
|
6
|
+
<%= stylesheet_link_tag 'application', :cache=>true -%>
|
7
|
+
<%= javascript_include_tag 'application' -%>
|
8
|
+
<%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? -%>
|
9
|
+
<%= yield :head -%>
|
10
|
+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<div id="header">
|
14
|
+
<div id="top-navigation">
|
15
|
+
</div>
|
16
|
+
<div class="clear"></div>
|
17
|
+
</div>
|
18
|
+
<div id="main">
|
19
|
+
<div id="content">
|
20
|
+
<%= yield %>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<div id="footer">
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|