bmabey-email_spec 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/MIT-LICENSE.txt +19 -0
- data/README.rdoc +66 -0
- data/Rakefile +57 -0
- data/generators/email_spec/email_spec_generator.rb +16 -0
- data/generators/email_spec/templates/email_steps.rb +71 -0
- data/install.rb +0 -0
- data/lib/email_spec/cucumber.rb +19 -0
- data/lib/email_spec/email_spec_helpers.rb +96 -0
- data/lib/email_spec/email_spec_matchers.rb +34 -0
- data/lib/email_spec.rb +3 -0
- data/spec/email_spec_helpers_spec.rb +28 -0
- data/spec/rails_root/Rakefile +10 -0
- data/spec/rails_root/app/controllers/application.rb +15 -0
- data/spec/rails_root/app/controllers/welcome_controller.rb +9 -0
- data/spec/rails_root/app/helpers/application_helper.rb +3 -0
- data/spec/rails_root/app/helpers/welcome_helper.rb +2 -0
- data/spec/rails_root/app/models/user_mailer.rb +12 -0
- data/spec/rails_root/app/views/user_mailer/signup.erb +3 -0
- data/spec/rails_root/app/views/welcome/confirm.html.erb +1 -0
- data/spec/rails_root/app/views/welcome/index.html.erb +8 -0
- data/spec/rails_root/app/views/welcome/signup.html.erb +1 -0
- data/spec/rails_root/config/boot.rb +109 -0
- data/spec/rails_root/config/database.yml +22 -0
- data/spec/rails_root/config/environment.rb +22 -0
- data/spec/rails_root/config/environments/development.rb +17 -0
- data/spec/rails_root/config/environments/production.rb +24 -0
- data/spec/rails_root/config/environments/test.rb +29 -0
- data/spec/rails_root/config/initializers/inflections.rb +10 -0
- data/spec/rails_root/config/initializers/mime_types.rb +5 -0
- data/spec/rails_root/config/initializers/new_rails_defaults.rb +17 -0
- data/spec/rails_root/config/routes.rb +43 -0
- data/spec/rails_root/db/schema.rb +14 -0
- data/spec/rails_root/doc/README_FOR_APP +5 -0
- data/spec/rails_root/features/errors.feature +42 -0
- data/spec/rails_root/features/example.feature +34 -0
- data/spec/rails_root/features/step_definitions/email_steps.rb +71 -0
- data/spec/rails_root/features/step_definitions/webrat_steps.rb +100 -0
- data/spec/rails_root/features/support/env.rb +14 -0
- data/spec/rails_root/lib/tasks/cucumber.rake +7 -0
- data/spec/rails_root/lib/tasks/rspec.rake +153 -0
- data/spec/rails_root/public/404.html +30 -0
- data/spec/rails_root/public/422.html +30 -0
- data/spec/rails_root/public/500.html +33 -0
- data/spec/rails_root/public/dispatch.rb +10 -0
- data/spec/rails_root/public/favicon.ico +0 -0
- data/spec/rails_root/public/images/rails.png +0 -0
- data/spec/rails_root/public/javascripts/application.js +2 -0
- data/spec/rails_root/public/javascripts/controls.js +963 -0
- data/spec/rails_root/public/javascripts/dragdrop.js +973 -0
- data/spec/rails_root/public/javascripts/effects.js +1128 -0
- data/spec/rails_root/public/javascripts/prototype.js +4320 -0
- data/spec/rails_root/public/robots.txt +5 -0
- data/spec/rails_root/script/about +4 -0
- data/spec/rails_root/script/autospec +5 -0
- data/spec/rails_root/script/console +3 -0
- data/spec/rails_root/script/cucumber +7 -0
- data/spec/rails_root/script/dbconsole +3 -0
- data/spec/rails_root/script/destroy +3 -0
- data/spec/rails_root/script/generate +3 -0
- data/spec/rails_root/script/performance/benchmarker +3 -0
- data/spec/rails_root/script/performance/profiler +3 -0
- data/spec/rails_root/script/performance/request +3 -0
- data/spec/rails_root/script/plugin +3 -0
- data/spec/rails_root/script/process/inspector +3 -0
- data/spec/rails_root/script/process/reaper +3 -0
- data/spec/rails_root/script/process/spawner +3 -0
- data/spec/rails_root/script/runner +3 -0
- data/spec/rails_root/script/server +3 -0
- data/spec/rails_root/script/spec +5 -0
- data/spec/rails_root/script/spec_server +116 -0
- data/spec/rails_root/spec/rcov.opts +2 -0
- data/spec/rails_root/spec/spec.opts +4 -0
- data/spec/rails_root/spec/spec_helper.rb +47 -0
- data/spec/rails_root/vendor/plugins/email_spec/generators/email_spec/email_spec_generator.rb +16 -0
- data/spec/rails_root/vendor/plugins/email_spec/generators/email_spec/templates/email_steps.rb +71 -0
- metadata +170 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>We're sorry, but something went wrong (500)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/500.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>We're sorry, but something went wrong.</h1>
|
27
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
28
|
+
<p><small>(If you're the administrator of this website, then please read
|
29
|
+
the log file "<%=h RAILS_ENV %>.log"
|
30
|
+
to find out what went wrong.)</small></p>
|
31
|
+
</div>
|
32
|
+
</body>
|
33
|
+
</html>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
2
|
+
|
3
|
+
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
4
|
+
|
5
|
+
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
6
|
+
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
7
|
+
require "dispatcher"
|
8
|
+
|
9
|
+
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
10
|
+
Dispatcher.dispatch
|
File without changes
|
Binary file
|