wicked-focused 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +19 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +122 -0
- data/MIT-LICENSE +20 -0
- data/README.md +253 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/lib/wicked/action.rb +64 -0
- data/lib/wicked/controller/concerns/path.rb +29 -0
- data/lib/wicked/controller/concerns/render_redirect.rb +49 -0
- data/lib/wicked/controller/concerns/steps.rb +87 -0
- data/lib/wicked/engine.rb +4 -0
- data/lib/wicked/macros.rb +23 -0
- data/lib/wicked/wizard.rb +26 -0
- data/lib/wicked-focused.rb +25 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/bar_controller.rb +18 -0
- data/test/dummy/app/controllers/foo_controller.rb +19 -0
- data/test/dummy/app/controllers/jump_controller.rb +26 -0
- data/test/dummy/app/controllers/steps_controller.rb +18 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/bar.rb +9 -0
- data/test/dummy/app/views/bar/first.html.erb +5 -0
- data/test/dummy/app/views/bar/last_step.html.erb +3 -0
- data/test/dummy/app/views/bar/second.html.erb +3 -0
- data/test/dummy/app/views/foo/first.html.erb +1 -0
- data/test/dummy/app/views/foo/last_step.html.erb +1 -0
- data/test/dummy/app/views/foo/second.html.erb +1 -0
- data/test/dummy/app/views/jump/first.html.erb +1 -0
- data/test/dummy/app/views/jump/last_step.html.erb +1 -0
- data/test/dummy/app/views/jump/second.html.erb +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/step_positions/_step_position.html.erb +9 -0
- data/test/dummy/app/views/step_positions/first.html.erb +1 -0
- data/test/dummy/app/views/step_positions/last_step.html.erb +1 -0
- data/test/dummy/app/views/step_positions/second.html.erb +1 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wicked.rb +2 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +8 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/index.html +1 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/controls.js +965 -0
- data/test/dummy/public/javascripts/dragdrop.js +974 -0
- data/test/dummy/public/javascripts/effects.js +1123 -0
- data/test/dummy/public/javascripts/prototype.js +6001 -0
- data/test/dummy/public/javascripts/rails.js +202 -0
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/helpers_test.rb +40 -0
- data/test/integration/jump_test.rb +16 -0
- data/test/integration/navigation_test.rb +88 -0
- data/test/integration/steps_test.rb +32 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +30 -0
- data/test/wicked_test.rb +7 -0
- data/wicked-focused.gemspec +138 -0
- metadata +270 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
home
|