bmabey-email_spec 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/History.txt +4 -0
  2. data/MIT-LICENSE.txt +19 -0
  3. data/README.rdoc +66 -0
  4. data/Rakefile +57 -0
  5. data/generators/email_spec/email_spec_generator.rb +16 -0
  6. data/generators/email_spec/templates/email_steps.rb +71 -0
  7. data/install.rb +0 -0
  8. data/lib/email_spec/cucumber.rb +19 -0
  9. data/lib/email_spec/email_spec_helpers.rb +96 -0
  10. data/lib/email_spec/email_spec_matchers.rb +34 -0
  11. data/lib/email_spec.rb +3 -0
  12. data/spec/email_spec_helpers_spec.rb +28 -0
  13. data/spec/rails_root/Rakefile +10 -0
  14. data/spec/rails_root/app/controllers/application.rb +15 -0
  15. data/spec/rails_root/app/controllers/welcome_controller.rb +9 -0
  16. data/spec/rails_root/app/helpers/application_helper.rb +3 -0
  17. data/spec/rails_root/app/helpers/welcome_helper.rb +2 -0
  18. data/spec/rails_root/app/models/user_mailer.rb +12 -0
  19. data/spec/rails_root/app/views/user_mailer/signup.erb +3 -0
  20. data/spec/rails_root/app/views/welcome/confirm.html.erb +1 -0
  21. data/spec/rails_root/app/views/welcome/index.html.erb +8 -0
  22. data/spec/rails_root/app/views/welcome/signup.html.erb +1 -0
  23. data/spec/rails_root/config/boot.rb +109 -0
  24. data/spec/rails_root/config/database.yml +22 -0
  25. data/spec/rails_root/config/environment.rb +22 -0
  26. data/spec/rails_root/config/environments/development.rb +17 -0
  27. data/spec/rails_root/config/environments/production.rb +24 -0
  28. data/spec/rails_root/config/environments/test.rb +29 -0
  29. data/spec/rails_root/config/initializers/inflections.rb +10 -0
  30. data/spec/rails_root/config/initializers/mime_types.rb +5 -0
  31. data/spec/rails_root/config/initializers/new_rails_defaults.rb +17 -0
  32. data/spec/rails_root/config/routes.rb +43 -0
  33. data/spec/rails_root/db/schema.rb +14 -0
  34. data/spec/rails_root/doc/README_FOR_APP +5 -0
  35. data/spec/rails_root/features/errors.feature +42 -0
  36. data/spec/rails_root/features/example.feature +34 -0
  37. data/spec/rails_root/features/step_definitions/email_steps.rb +71 -0
  38. data/spec/rails_root/features/step_definitions/webrat_steps.rb +100 -0
  39. data/spec/rails_root/features/support/env.rb +14 -0
  40. data/spec/rails_root/lib/tasks/cucumber.rake +7 -0
  41. data/spec/rails_root/lib/tasks/rspec.rake +153 -0
  42. data/spec/rails_root/public/404.html +30 -0
  43. data/spec/rails_root/public/422.html +30 -0
  44. data/spec/rails_root/public/500.html +33 -0
  45. data/spec/rails_root/public/dispatch.rb +10 -0
  46. data/spec/rails_root/public/favicon.ico +0 -0
  47. data/spec/rails_root/public/images/rails.png +0 -0
  48. data/spec/rails_root/public/javascripts/application.js +2 -0
  49. data/spec/rails_root/public/javascripts/controls.js +963 -0
  50. data/spec/rails_root/public/javascripts/dragdrop.js +973 -0
  51. data/spec/rails_root/public/javascripts/effects.js +1128 -0
  52. data/spec/rails_root/public/javascripts/prototype.js +4320 -0
  53. data/spec/rails_root/public/robots.txt +5 -0
  54. data/spec/rails_root/script/about +4 -0
  55. data/spec/rails_root/script/autospec +5 -0
  56. data/spec/rails_root/script/console +3 -0
  57. data/spec/rails_root/script/cucumber +7 -0
  58. data/spec/rails_root/script/dbconsole +3 -0
  59. data/spec/rails_root/script/destroy +3 -0
  60. data/spec/rails_root/script/generate +3 -0
  61. data/spec/rails_root/script/performance/benchmarker +3 -0
  62. data/spec/rails_root/script/performance/profiler +3 -0
  63. data/spec/rails_root/script/performance/request +3 -0
  64. data/spec/rails_root/script/plugin +3 -0
  65. data/spec/rails_root/script/process/inspector +3 -0
  66. data/spec/rails_root/script/process/reaper +3 -0
  67. data/spec/rails_root/script/process/spawner +3 -0
  68. data/spec/rails_root/script/runner +3 -0
  69. data/spec/rails_root/script/server +3 -0
  70. data/spec/rails_root/script/spec +5 -0
  71. data/spec/rails_root/script/spec_server +116 -0
  72. data/spec/rails_root/spec/rcov.opts +2 -0
  73. data/spec/rails_root/spec/spec.opts +4 -0
  74. data/spec/rails_root/spec/spec_helper.rb +47 -0
  75. data/spec/rails_root/vendor/plugins/email_spec/generators/email_spec/email_spec_generator.rb +16 -0
  76. data/spec/rails_root/vendor/plugins/email_spec/generators/email_spec/templates/email_steps.rb +71 -0
  77. 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
@@ -0,0 +1,2 @@
1
+ // Place your application-specific JavaScript functions and classes here
2
+ // This file is automatically included by javascript_include_tag :defaults