devmail 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/README.rdoc +1 -1
  3. data/Rakefile +27 -14
  4. data/app/assets/javascripts/devmail/application.js +16 -0
  5. data/app/assets/javascripts/devmail/messages.js +6 -0
  6. data/app/assets/stylesheets/devmail/application.css +12 -0
  7. data/app/controllers/devmail/application_controller.rb +4 -0
  8. data/app/controllers/devmail/messages_controller.rb +23 -0
  9. data/app/helpers/devmail/application_helper.rb +4 -0
  10. data/app/helpers/devmail/messages_helper.rb +4 -0
  11. data/app/mailers/devmail/sample.rb +16 -0
  12. data/app/views/devmail/messages/index.html.erb +11 -0
  13. data/app/views/devmail/messages/show.html.erb +60 -0
  14. data/app/views/devmail/sample/test.html.erb +3 -0
  15. data/app/views/devmail/sample/test.text.erb +3 -0
  16. data/app/views/layouts/devmail/application.html.erb +24 -0
  17. data/config/routes.rb +9 -4
  18. data/lib/devmail.rb +45 -1
  19. data/lib/devmail/engine.rb +5 -7
  20. data/lib/devmail/interceptor.rb +8 -0
  21. data/lib/devmail/message.rb +9 -0
  22. data/lib/devmail/storage.rb +35 -0
  23. data/lib/devmail/version.rb +3 -0
  24. data/lib/tasks/devmail_tasks.rake +4 -0
  25. data/test/devmail_test.rb +4 -0
  26. data/test/dummy/README.rdoc +261 -0
  27. data/test/dummy/Rakefile +7 -0
  28. data/test/dummy/app/assets/javascripts/application.js +15 -0
  29. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  30. data/test/dummy/app/controllers/application_controller.rb +3 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/config.ru +4 -0
  34. data/test/dummy/config/application.rb +65 -0
  35. data/test/dummy/config/boot.rb +10 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +31 -0
  38. data/test/dummy/config/environments/production.rb +64 -0
  39. data/test/dummy/config/environments/test.rb +35 -0
  40. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy/config/initializers/inflections.rb +15 -0
  42. data/test/dummy/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy/config/initializers/secret_token.rb +7 -0
  44. data/test/dummy/config/initializers/session_store.rb +8 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +10 -0
  46. data/test/dummy/config/locales/en.yml +5 -0
  47. data/test/dummy/config/routes.rb +4 -0
  48. data/test/dummy/log/development.log +7952 -0
  49. data/test/dummy/log/test.log +0 -0
  50. data/test/dummy/public/404.html +26 -0
  51. data/test/dummy/public/422.html +26 -0
  52. data/test/dummy/public/500.html +25 -0
  53. data/test/dummy/public/favicon.ico +0 -0
  54. data/test/dummy/script/rails +6 -0
  55. data/test/dummy/tmp/cache/assets/C25/600/sprockets%2F98d406a547145182ab81985ed1917142 +0 -0
  56. data/test/dummy/tmp/cache/assets/C67/1E0/sprockets%2F66adfac10320136c0904d1358096181b +0 -0
  57. data/test/dummy/tmp/cache/assets/CBA/C00/sprockets%2F26181f46c199727821a86ddade46146e +0 -0
  58. data/test/dummy/tmp/cache/assets/D01/980/sprockets%2F2b320bc41aa3ad35eb535642893ed892 +0 -0
  59. data/test/dummy/tmp/cache/assets/D0A/E50/sprockets%2F94538f6160a5824edb3745bdd30bc14e +0 -0
  60. data/test/dummy/tmp/cache/assets/D15/8E0/sprockets%2F19734b9b01e4ea6e1e7bb89c104c1999 +0 -0
  61. data/test/dummy/tmp/cache/assets/D1C/8D0/sprockets%2F1e70db6034597fb9ee057e7b6d24538f +0 -0
  62. data/test/dummy/tmp/cache/assets/D28/F50/sprockets%2Fbe51545aa62f291e0a3e29fab2243e21 +0 -0
  63. data/test/dummy/tmp/cache/assets/D38/C50/sprockets%2F776f3f3f1305ae96e4c716d0b4be13a2 +0 -0
  64. data/test/dummy/tmp/cache/assets/D52/EC0/sprockets%2F88a3c098fbd70f65efd6155663eb5b85 +0 -0
  65. data/test/dummy/tmp/cache/assets/D57/260/sprockets%2F37fd2aeebe185999b96553ed9771be04 +0 -0
  66. data/test/dummy/tmp/cache/assets/D66/240/sprockets%2F2746a4755124b01e5d4dfefd42bef4c2 +0 -0
  67. data/test/dummy/tmp/cache/assets/D7E/950/sprockets%2Fade5fb5cdf043061497b549c99f52de8 +0 -0
  68. data/test/dummy/tmp/cache/assets/DCF/280/sprockets%2Fed0b2a8d9e191b1293ab691e43d7edff +0 -0
  69. data/test/dummy/tmp/cache/assets/DD0/7E0/sprockets%2F92f33796e0e5a2ebe42032d8f4aeedcf +0 -0
  70. data/test/dummy/tmp/cache/assets/DDE/170/sprockets%2Fb14c61f9bcfa427398f9439e3cebfdb8 +0 -0
  71. data/test/dummy/tmp/cache/assets/DF2/510/sprockets%2F5a5aaf00efdb1d335653eee92a8fa4f0 +0 -0
  72. data/test/dummy/tmp/cache/assets/E0A/580/sprockets%2F878dee3cc5c2fbf2e38162d512fefc8e +0 -0
  73. data/test/dummy/tmp/devmail.pstore +0 -0
  74. data/test/dummy/tmp/pids/server.pid +1 -0
  75. data/test/test_helper.rb +15 -0
  76. metadata +164 -95
  77. data/Gemfile +0 -3
  78. data/app/controllers/devmail/development_mails_controller.rb +0 -36
  79. data/app/models/devmail/dev_mail.rb +0 -29
  80. data/app/views/devmail/development_mails/index.html.erb +0 -25
  81. data/app/views/devmail/development_mails/show.html.erb +0 -21
  82. data/app/views/layouts/devmail/devmail.html.erb +0 -25
  83. data/config/initializers/development_mail_interceptor.rb +0 -2
  84. data/lib/devmail/development_mail_interceptor.rb +0 -30
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</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/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -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,25 @@
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
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1 @@
1
+ 3759
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata CHANGED
@@ -1,124 +1,193 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: devmail
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
4
5
  prerelease:
5
- version: 0.0.1
6
6
  platform: ruby
7
- authors:
8
- - "Grzesiek Ko\xC5\x82odziejczyk"
7
+ authors:
8
+ - Grzesiek Kolodziejczyk
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-24 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: rails
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 3.0.0
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: mongoid
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
31
17
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "2.0"
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
36
22
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: bson_ext
40
23
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
42
25
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "1.3"
47
- type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: rspec-rails
51
- prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 2.5.0
58
- type: :development
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: capybara
62
- prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: 0.4.0
69
- type: :development
70
- version_requirements: *id005
71
- description: Stores all emails sent in development in a mongodb database and presents a clean interface for viewing them.
72
- email:
73
- - gkolodziejczyk@gmail.com
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ description: Intercepts and displays mails sent in development
31
+ email:
32
+ - gk@code-fu.pl
74
33
  executables: []
75
-
76
34
  extensions: []
77
-
78
35
  extra_rdoc_files: []
79
-
80
- files:
81
- - app/controllers/devmail/development_mails_controller.rb
82
- - app/models/devmail/dev_mail.rb
83
- - app/views/devmail/development_mails/index.html.erb
84
- - app/views/devmail/development_mails/show.html.erb
85
- - app/views/layouts/devmail/devmail.html.erb
86
- - lib/devmail/development_mail_interceptor.rb
36
+ files:
37
+ - app/assets/javascripts/devmail/application.js
38
+ - app/assets/javascripts/devmail/messages.js
39
+ - app/assets/stylesheets/devmail/application.css
40
+ - app/controllers/devmail/application_controller.rb
41
+ - app/controllers/devmail/messages_controller.rb
42
+ - app/helpers/devmail/application_helper.rb
43
+ - app/helpers/devmail/messages_helper.rb
44
+ - app/mailers/devmail/sample.rb
45
+ - app/views/devmail/messages/index.html.erb
46
+ - app/views/devmail/messages/show.html.erb
47
+ - app/views/devmail/sample/test.html.erb
48
+ - app/views/devmail/sample/test.text.erb
49
+ - app/views/layouts/devmail/application.html.erb
50
+ - config/routes.rb
87
51
  - lib/devmail/engine.rb
52
+ - lib/devmail/interceptor.rb
53
+ - lib/devmail/message.rb
54
+ - lib/devmail/storage.rb
55
+ - lib/devmail/version.rb
88
56
  - lib/devmail.rb
89
- - config/initializers/development_mail_interceptor.rb
90
- - config/routes.rb
57
+ - lib/tasks/devmail_tasks.rake
91
58
  - MIT-LICENSE
92
59
  - Rakefile
93
- - Gemfile
94
60
  - README.rdoc
95
- has_rdoc: true
96
- homepage: https://github.com/grk/devmail/
61
+ - test/devmail_test.rb
62
+ - test/dummy/app/assets/javascripts/application.js
63
+ - test/dummy/app/assets/stylesheets/application.css
64
+ - test/dummy/app/controllers/application_controller.rb
65
+ - test/dummy/app/helpers/application_helper.rb
66
+ - test/dummy/app/views/layouts/application.html.erb
67
+ - test/dummy/config/application.rb
68
+ - test/dummy/config/boot.rb
69
+ - test/dummy/config/environment.rb
70
+ - test/dummy/config/environments/development.rb
71
+ - test/dummy/config/environments/production.rb
72
+ - test/dummy/config/environments/test.rb
73
+ - test/dummy/config/initializers/backtrace_silencers.rb
74
+ - test/dummy/config/initializers/inflections.rb
75
+ - test/dummy/config/initializers/mime_types.rb
76
+ - test/dummy/config/initializers/secret_token.rb
77
+ - test/dummy/config/initializers/session_store.rb
78
+ - test/dummy/config/initializers/wrap_parameters.rb
79
+ - test/dummy/config/locales/en.yml
80
+ - test/dummy/config/routes.rb
81
+ - test/dummy/config.ru
82
+ - test/dummy/log/development.log
83
+ - test/dummy/log/test.log
84
+ - test/dummy/public/404.html
85
+ - test/dummy/public/422.html
86
+ - test/dummy/public/500.html
87
+ - test/dummy/public/favicon.ico
88
+ - test/dummy/Rakefile
89
+ - test/dummy/README.rdoc
90
+ - test/dummy/script/rails
91
+ - test/dummy/tmp/cache/assets/C25/600/sprockets%2F98d406a547145182ab81985ed1917142
92
+ - test/dummy/tmp/cache/assets/C67/1E0/sprockets%2F66adfac10320136c0904d1358096181b
93
+ - test/dummy/tmp/cache/assets/CBA/C00/sprockets%2F26181f46c199727821a86ddade46146e
94
+ - test/dummy/tmp/cache/assets/D01/980/sprockets%2F2b320bc41aa3ad35eb535642893ed892
95
+ - test/dummy/tmp/cache/assets/D0A/E50/sprockets%2F94538f6160a5824edb3745bdd30bc14e
96
+ - test/dummy/tmp/cache/assets/D15/8E0/sprockets%2F19734b9b01e4ea6e1e7bb89c104c1999
97
+ - test/dummy/tmp/cache/assets/D1C/8D0/sprockets%2F1e70db6034597fb9ee057e7b6d24538f
98
+ - test/dummy/tmp/cache/assets/D28/F50/sprockets%2Fbe51545aa62f291e0a3e29fab2243e21
99
+ - test/dummy/tmp/cache/assets/D38/C50/sprockets%2F776f3f3f1305ae96e4c716d0b4be13a2
100
+ - test/dummy/tmp/cache/assets/D52/EC0/sprockets%2F88a3c098fbd70f65efd6155663eb5b85
101
+ - test/dummy/tmp/cache/assets/D57/260/sprockets%2F37fd2aeebe185999b96553ed9771be04
102
+ - test/dummy/tmp/cache/assets/D66/240/sprockets%2F2746a4755124b01e5d4dfefd42bef4c2
103
+ - test/dummy/tmp/cache/assets/D7E/950/sprockets%2Fade5fb5cdf043061497b549c99f52de8
104
+ - test/dummy/tmp/cache/assets/DCF/280/sprockets%2Fed0b2a8d9e191b1293ab691e43d7edff
105
+ - test/dummy/tmp/cache/assets/DD0/7E0/sprockets%2F92f33796e0e5a2ebe42032d8f4aeedcf
106
+ - test/dummy/tmp/cache/assets/DDE/170/sprockets%2Fb14c61f9bcfa427398f9439e3cebfdb8
107
+ - test/dummy/tmp/cache/assets/DF2/510/sprockets%2F5a5aaf00efdb1d335653eee92a8fa4f0
108
+ - test/dummy/tmp/cache/assets/E0A/580/sprockets%2F878dee3cc5c2fbf2e38162d512fefc8e
109
+ - test/dummy/tmp/devmail.pstore
110
+ - test/dummy/tmp/pids/server.pid
111
+ - test/test_helper.rb
112
+ homepage: https://github.com/grk/devmail
97
113
  licenses: []
98
-
99
114
  post_install_message:
100
115
  rdoc_options: []
101
-
102
- require_paths:
116
+ require_paths:
103
117
  - lib
104
- required_ruby_version: !ruby/object:Gem::Requirement
118
+ required_ruby_version: !ruby/object:Gem::Requirement
105
119
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: "0"
110
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ segments:
125
+ - 0
126
+ hash: 2115566334928123718
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
128
  none: false
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: "0"
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ segments:
134
+ - 0
135
+ hash: 2115566334928123718
116
136
  requirements: []
117
-
118
137
  rubyforge_project:
119
- rubygems_version: 1.6.2
138
+ rubygems_version: 1.8.24
120
139
  signing_key:
121
140
  specification_version: 3
122
- summary: Interceptor for emails sent in development for Rails 3
123
- test_files: []
124
-
141
+ summary: Intercepts and displays mails sent in development
142
+ test_files:
143
+ - test/devmail_test.rb
144
+ - test/dummy/app/assets/javascripts/application.js
145
+ - test/dummy/app/assets/stylesheets/application.css
146
+ - test/dummy/app/controllers/application_controller.rb
147
+ - test/dummy/app/helpers/application_helper.rb
148
+ - test/dummy/app/views/layouts/application.html.erb
149
+ - test/dummy/config/application.rb
150
+ - test/dummy/config/boot.rb
151
+ - test/dummy/config/environment.rb
152
+ - test/dummy/config/environments/development.rb
153
+ - test/dummy/config/environments/production.rb
154
+ - test/dummy/config/environments/test.rb
155
+ - test/dummy/config/initializers/backtrace_silencers.rb
156
+ - test/dummy/config/initializers/inflections.rb
157
+ - test/dummy/config/initializers/mime_types.rb
158
+ - test/dummy/config/initializers/secret_token.rb
159
+ - test/dummy/config/initializers/session_store.rb
160
+ - test/dummy/config/initializers/wrap_parameters.rb
161
+ - test/dummy/config/locales/en.yml
162
+ - test/dummy/config/routes.rb
163
+ - test/dummy/config.ru
164
+ - test/dummy/log/development.log
165
+ - test/dummy/log/test.log
166
+ - test/dummy/public/404.html
167
+ - test/dummy/public/422.html
168
+ - test/dummy/public/500.html
169
+ - test/dummy/public/favicon.ico
170
+ - test/dummy/Rakefile
171
+ - test/dummy/README.rdoc
172
+ - test/dummy/script/rails
173
+ - test/dummy/tmp/cache/assets/C25/600/sprockets%2F98d406a547145182ab81985ed1917142
174
+ - test/dummy/tmp/cache/assets/C67/1E0/sprockets%2F66adfac10320136c0904d1358096181b
175
+ - test/dummy/tmp/cache/assets/CBA/C00/sprockets%2F26181f46c199727821a86ddade46146e
176
+ - test/dummy/tmp/cache/assets/D01/980/sprockets%2F2b320bc41aa3ad35eb535642893ed892
177
+ - test/dummy/tmp/cache/assets/D0A/E50/sprockets%2F94538f6160a5824edb3745bdd30bc14e
178
+ - test/dummy/tmp/cache/assets/D15/8E0/sprockets%2F19734b9b01e4ea6e1e7bb89c104c1999
179
+ - test/dummy/tmp/cache/assets/D1C/8D0/sprockets%2F1e70db6034597fb9ee057e7b6d24538f
180
+ - test/dummy/tmp/cache/assets/D28/F50/sprockets%2Fbe51545aa62f291e0a3e29fab2243e21
181
+ - test/dummy/tmp/cache/assets/D38/C50/sprockets%2F776f3f3f1305ae96e4c716d0b4be13a2
182
+ - test/dummy/tmp/cache/assets/D52/EC0/sprockets%2F88a3c098fbd70f65efd6155663eb5b85
183
+ - test/dummy/tmp/cache/assets/D57/260/sprockets%2F37fd2aeebe185999b96553ed9771be04
184
+ - test/dummy/tmp/cache/assets/D66/240/sprockets%2F2746a4755124b01e5d4dfefd42bef4c2
185
+ - test/dummy/tmp/cache/assets/D7E/950/sprockets%2Fade5fb5cdf043061497b549c99f52de8
186
+ - test/dummy/tmp/cache/assets/DCF/280/sprockets%2Fed0b2a8d9e191b1293ab691e43d7edff
187
+ - test/dummy/tmp/cache/assets/DD0/7E0/sprockets%2F92f33796e0e5a2ebe42032d8f4aeedcf
188
+ - test/dummy/tmp/cache/assets/DDE/170/sprockets%2Fb14c61f9bcfa427398f9439e3cebfdb8
189
+ - test/dummy/tmp/cache/assets/DF2/510/sprockets%2F5a5aaf00efdb1d335653eee92a8fa4f0
190
+ - test/dummy/tmp/cache/assets/E0A/580/sprockets%2F878dee3cc5c2fbf2e38162d512fefc8e
191
+ - test/dummy/tmp/devmail.pstore
192
+ - test/dummy/tmp/pids/server.pid
193
+ - test/test_helper.rb
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gemspec
@@ -1,36 +0,0 @@
1
- module Devmail
2
- class DevelopmentMailsController < ApplicationController
3
- respond_to :html, :xml, :json
4
-
5
- layout "devmail/devmail"
6
-
7
- def index
8
- @mails = DevMail.all.desc(:created_at)
9
-
10
- respond_with @mails
11
- end
12
-
13
- def show
14
- @mail = DevMail.find(params[:id])
15
-
16
- respond_with @mail
17
- end
18
-
19
- def destroy
20
- @mail = DevMail.find(params[:id])
21
- @mail.destroy
22
-
23
- redirect_to development_mails_url
24
- end
25
-
26
- def clear
27
- DevMail.destroy_all
28
- redirect_to development_mails_url
29
- end
30
-
31
- def html_part
32
- @mail = DevMail.find(params[:id])
33
- render :text => @mail.html_part
34
- end
35
- end
36
- end