inbox 0.0.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. data/README.md +126 -0
  2. data/app/assets/images/inbox/results_bg.png +0 -0
  3. data/app/assets/images/inbox/tree_bg.png +0 -0
  4. data/app/assets/javascripts/inbox/application.js +1 -2
  5. data/app/assets/javascripts/inbox/emails.js +2 -0
  6. data/app/assets/stylesheets/inbox/emails.css +59 -0
  7. data/app/assets/stylesheets/inbox/panel.css.erb +229 -0
  8. data/app/assets/stylesheets/inbox/reset.css +53 -0
  9. data/app/controllers/inbox/application_controller.rb +1 -1
  10. data/app/controllers/inbox/emails_controller.rb +52 -0
  11. data/app/helpers/inbox/emails_helper.rb +4 -0
  12. data/app/mailers/inbox/email_mailer.rb +11 -0
  13. data/app/models/inbox/email.rb +51 -0
  14. data/app/views/inbox/emails/index.html.erb +0 -0
  15. data/app/views/inbox/emails/new.html.erb +9 -0
  16. data/app/views/inbox/emails/show.html.erb +48 -0
  17. data/app/views/layouts/inbox/application.html.erb +10 -9
  18. data/app/views/layouts/inbox/inbox.html.erb +25 -0
  19. data/config/routes.rb +4 -0
  20. data/lib/inbox/engine.rb +4 -0
  21. data/lib/inbox/version.rb +1 -1
  22. data/lib/inbox.rb +30 -0
  23. data/test/dummy/config/environments/development.rb +3 -1
  24. data/test/dummy/config/initializers/backtrace_silencers.rb +1 -1
  25. data/test/dummy/db/development.sqlite3 +0 -0
  26. data/test/dummy/db/production.sqlite3 +0 -0
  27. data/test/dummy/db/test.sqlite3 +0 -0
  28. data/test/dummy/log/development.log +3641 -0
  29. data/test/dummy/log/test.log +0 -0
  30. data/test/dummy/tmp/cache/assets/C4D/8B0/sprockets%2F5e1b589842222e2ea0043890c2c84539 +0 -0
  31. data/test/dummy/tmp/cache/assets/C6F/5C0/sprockets%2F259fb59d511a70d46436201b6770a04a +0 -0
  32. data/test/dummy/tmp/cache/assets/CF2/F90/sprockets%2F5378bb2470df984ccf2643991a6e476d +0 -0
  33. data/test/dummy/tmp/cache/assets/D0B/330/sprockets%2F582a2b19d6be92a0393afa63894d721a +0 -0
  34. data/test/dummy/tmp/cache/assets/D1B/CE0/sprockets%2F09c9c18794df089e62443d3debb117e5 +0 -0
  35. data/test/dummy/tmp/cache/assets/D1D/BA0/sprockets%2F29888f599d35bb11e4a8183d6dc5e23a +0 -0
  36. data/test/dummy/tmp/cache/assets/D1F/600/sprockets%2Fdd3578c9bd0719efe092c59655a25c55 +0 -0
  37. data/test/dummy/tmp/cache/assets/D21/920/sprockets%2F85fd59fe11746a33f5f917a923d84be3 +0 -0
  38. data/test/dummy/tmp/cache/assets/D4D/FB0/sprockets%2Fd5743837e8babdab4825364c4ee86f73 +0 -0
  39. data/test/dummy/tmp/cache/assets/D4F/520/sprockets%2F88ecb483df9e177ee775202ba0691ec7 +0 -0
  40. data/test/dummy/tmp/cache/assets/D6E/300/sprockets%2Fcc54b61039f74d6b8a2a7d04ad9d77f0 +0 -0
  41. data/test/dummy/tmp/cache/assets/D74/390/sprockets%2F5eda33e637dd54ff6a27bb76c482a473 +0 -0
  42. data/test/dummy/tmp/cache/assets/D76/170/sprockets%2Ffa5e461b362e11c80d5fd9e877fb63e2 +0 -0
  43. data/test/dummy/tmp/cache/assets/D7F/2D0/sprockets%2F141c2c9cb5235c8d21a00fbc8d7a2ab1 +0 -0
  44. data/test/dummy/tmp/cache/assets/D84/AA0/sprockets%2F5e841fe9d79e3ebf4333be8842b77bc5 +0 -0
  45. data/test/dummy/tmp/cache/assets/DA0/520/sprockets%2Fb8e93a54478c1f1a0e750ef2cbf74f3c +0 -0
  46. data/test/dummy/tmp/cache/assets/DC1/520/sprockets%2Feb8cea402f0bf04560adcd0cb8807b88 +0 -0
  47. data/test/dummy/tmp/mails/1345541756.4616725 +11 -0
  48. data/test/functional/inbox/email_test.rb +9 -0
  49. data/test/functional/inbox/emails_controller_test.rb +16 -0
  50. data/test/unit/helpers/inbox/emails_helper_test.rb +6 -0
  51. metadata +146 -56
  52. data/README.rdoc +0 -3
File without changes
@@ -0,0 +1,11 @@
1
+ Date: Tue, 21 Aug 2012 09:35:56 +0000
2
+ From: robert.pankowecki@gmail.com
3
+ To: robert.pankowecki@gmail.com
4
+ Message-ID: <5033567c6fc6b_1104191874068988@rupert-ThinkPad-T420.mail>
5
+ Subject: temat
6
+ Mime-Version: 1.0
7
+ Content-Type: text/html;
8
+ charset=UTF-8
9
+ Content-Transfer-Encoding: 7bit
10
+
11
+ ii
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Inbox
4
+ class EmailTest < ActionMailer::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ require 'test_helper'
2
+
3
+ module Inbox
4
+ class EmailsControllerTest < ActionController::TestCase
5
+ test "should get index" do
6
+ get :index
7
+ assert_response :success
8
+ end
9
+
10
+ test "should get show" do
11
+ get :show
12
+ assert_response :success
13
+ end
14
+
15
+ end
16
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Inbox
4
+ class EmailsHelperTest < ActionView::TestCase
5
+ end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,23 +9,43 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-21 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2012-08-21 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- requirement: &81245610 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
21
20
  - !ruby/object:Gem::Version
22
- version: 3.1.0
21
+ version: '3.2'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *81245610
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rails_autolink
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 1.0.9
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.0.9
26
46
  - !ruby/object:Gem::Dependency
27
47
  name: sqlite3
28
- requirement: &81245230 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
29
49
  none: false
30
50
  requirements:
31
51
  - - ! '>='
@@ -33,7 +53,12 @@ dependencies:
33
53
  version: '0'
34
54
  type: :development
35
55
  prerelease: false
36
- version_requirements: *81245230
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
37
62
  description: Navigate to inbox and check emails that users would recive. Use this
38
63
  in your acceptance tests and stay happy.
39
64
  email:
@@ -42,50 +67,89 @@ executables: []
42
67
  extensions: []
43
68
  extra_rdoc_files: []
44
69
  files:
70
+ - app/mailers/inbox/email_mailer.rb
71
+ - app/helpers/inbox/emails_helper.rb
72
+ - app/helpers/inbox/application_helper.rb
73
+ - app/models/inbox/email.rb
74
+ - app/assets/images/inbox/results_bg.png
75
+ - app/assets/images/inbox/tree_bg.png
76
+ - app/assets/javascripts/inbox/emails.js
45
77
  - app/assets/javascripts/inbox/application.js
46
78
  - app/assets/stylesheets/inbox/application.css
79
+ - app/assets/stylesheets/inbox/reset.css
80
+ - app/assets/stylesheets/inbox/emails.css
81
+ - app/assets/stylesheets/inbox/panel.css.erb
82
+ - app/views/layouts/inbox/inbox.html.erb
47
83
  - app/views/layouts/inbox/application.html.erb
84
+ - app/views/inbox/emails/show.html.erb
85
+ - app/views/inbox/emails/new.html.erb
86
+ - app/views/inbox/emails/index.html.erb
48
87
  - app/controllers/inbox/application_controller.rb
49
- - app/helpers/inbox/application_helper.rb
88
+ - app/controllers/inbox/emails_controller.rb
50
89
  - config/routes.rb
51
90
  - lib/tasks/inbox_tasks.rake
52
- - lib/inbox/engine.rb
53
- - lib/inbox/version.rb
54
91
  - lib/inbox.rb
92
+ - lib/inbox/version.rb
93
+ - lib/inbox/engine.rb
55
94
  - MIT-LICENSE
56
95
  - Rakefile
57
- - README.rdoc
96
+ - README.md
58
97
  - test/integration/navigation_test.rb
59
- - test/dummy/config.ru
60
- - test/dummy/Rakefile
61
- - test/dummy/app/assets/javascripts/application.js
62
- - test/dummy/app/assets/stylesheets/application.css
63
- - test/dummy/app/views/layouts/application.html.erb
64
- - test/dummy/app/controllers/application_controller.rb
65
- - test/dummy/app/helpers/application_helper.rb
98
+ - test/dummy/log/development.log
99
+ - test/dummy/log/test.log
100
+ - test/dummy/public/404.html
66
101
  - test/dummy/public/favicon.ico
67
- - test/dummy/public/500.html
68
102
  - test/dummy/public/422.html
69
- - test/dummy/public/404.html
70
- - test/dummy/config/environments/development.rb
103
+ - test/dummy/public/500.html
104
+ - test/dummy/config.ru
105
+ - test/dummy/config/boot.rb
106
+ - test/dummy/config/locales/en.yml
71
107
  - test/dummy/config/environments/production.rb
72
108
  - test/dummy/config/environments/test.rb
73
- - test/dummy/config/database.yml
109
+ - test/dummy/config/environments/development.rb
74
110
  - test/dummy/config/routes.rb
75
- - test/dummy/config/boot.rb
76
- - test/dummy/config/application.rb
77
- - test/dummy/config/initializers/secret_token.rb
78
- - test/dummy/config/initializers/session_store.rb
79
- - test/dummy/config/initializers/backtrace_silencers.rb
80
- - test/dummy/config/initializers/mime_types.rb
111
+ - test/dummy/config/environment.rb
112
+ - test/dummy/config/database.yml
81
113
  - test/dummy/config/initializers/wrap_parameters.rb
114
+ - test/dummy/config/initializers/mime_types.rb
115
+ - test/dummy/config/initializers/backtrace_silencers.rb
116
+ - test/dummy/config/initializers/session_store.rb
117
+ - test/dummy/config/initializers/secret_token.rb
82
118
  - test/dummy/config/initializers/inflections.rb
83
- - test/dummy/config/locales/en.yml
84
- - test/dummy/config/environment.rb
119
+ - test/dummy/config/application.rb
85
120
  - test/dummy/script/rails
86
- - test/test_helper.rb
121
+ - test/dummy/tmp/cache/assets/D74/390/sprockets%2F5eda33e637dd54ff6a27bb76c482a473
122
+ - test/dummy/tmp/cache/assets/D1B/CE0/sprockets%2F09c9c18794df089e62443d3debb117e5
123
+ - test/dummy/tmp/cache/assets/D4F/520/sprockets%2F88ecb483df9e177ee775202ba0691ec7
124
+ - test/dummy/tmp/cache/assets/D0B/330/sprockets%2F582a2b19d6be92a0393afa63894d721a
125
+ - test/dummy/tmp/cache/assets/D1D/BA0/sprockets%2F29888f599d35bb11e4a8183d6dc5e23a
126
+ - test/dummy/tmp/cache/assets/DA0/520/sprockets%2Fb8e93a54478c1f1a0e750ef2cbf74f3c
127
+ - test/dummy/tmp/cache/assets/C4D/8B0/sprockets%2F5e1b589842222e2ea0043890c2c84539
128
+ - test/dummy/tmp/cache/assets/DC1/520/sprockets%2Feb8cea402f0bf04560adcd0cb8807b88
129
+ - test/dummy/tmp/cache/assets/D21/920/sprockets%2F85fd59fe11746a33f5f917a923d84be3
130
+ - test/dummy/tmp/cache/assets/D6E/300/sprockets%2Fcc54b61039f74d6b8a2a7d04ad9d77f0
131
+ - test/dummy/tmp/cache/assets/D1F/600/sprockets%2Fdd3578c9bd0719efe092c59655a25c55
132
+ - test/dummy/tmp/cache/assets/CF2/F90/sprockets%2F5378bb2470df984ccf2643991a6e476d
133
+ - test/dummy/tmp/cache/assets/D7F/2D0/sprockets%2F141c2c9cb5235c8d21a00fbc8d7a2ab1
134
+ - test/dummy/tmp/cache/assets/C6F/5C0/sprockets%2F259fb59d511a70d46436201b6770a04a
135
+ - test/dummy/tmp/cache/assets/D76/170/sprockets%2Ffa5e461b362e11c80d5fd9e877fb63e2
136
+ - test/dummy/tmp/cache/assets/D84/AA0/sprockets%2F5e841fe9d79e3ebf4333be8842b77bc5
137
+ - test/dummy/tmp/cache/assets/D4D/FB0/sprockets%2Fd5743837e8babdab4825364c4ee86f73
138
+ - test/dummy/tmp/mails/1345541756.4616725
139
+ - test/dummy/Rakefile
140
+ - test/dummy/db/development.sqlite3
141
+ - test/dummy/db/production.sqlite3
142
+ - test/dummy/db/test.sqlite3
143
+ - test/dummy/app/helpers/application_helper.rb
144
+ - test/dummy/app/assets/javascripts/application.js
145
+ - test/dummy/app/assets/stylesheets/application.css
146
+ - test/dummy/app/views/layouts/application.html.erb
147
+ - test/dummy/app/controllers/application_controller.rb
87
148
  - test/inbox_test.rb
88
- has_rdoc: true
149
+ - test/functional/inbox/emails_controller_test.rb
150
+ - test/functional/inbox/email_test.rb
151
+ - test/unit/helpers/inbox/emails_helper_test.rb
152
+ - test/test_helper.rb
89
153
  homepage: https://github.com/paneq/inbox
90
154
  licenses: []
91
155
  post_install_message:
@@ -100,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
164
  version: '0'
101
165
  segments:
102
166
  - 0
103
- hash: 517716403
167
+ hash: 4177572637814822767
104
168
  required_rubygems_version: !ruby/object:Gem::Requirement
105
169
  none: false
106
170
  requirements:
@@ -109,42 +173,68 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
173
  version: '0'
110
174
  segments:
111
175
  - 0
112
- hash: 517716403
176
+ hash: 4177572637814822767
113
177
  requirements: []
114
178
  rubyforge_project:
115
- rubygems_version: 1.6.2
179
+ rubygems_version: 1.8.23
116
180
  signing_key:
117
181
  specification_version: 3
118
182
  summary: Displays emails sent to the users in action_mailer.delivery_method = :test
119
183
  mode.
120
184
  test_files:
121
185
  - test/integration/navigation_test.rb
122
- - test/dummy/config.ru
123
- - test/dummy/Rakefile
124
- - test/dummy/app/assets/javascripts/application.js
125
- - test/dummy/app/assets/stylesheets/application.css
126
- - test/dummy/app/views/layouts/application.html.erb
127
- - test/dummy/app/controllers/application_controller.rb
128
- - test/dummy/app/helpers/application_helper.rb
186
+ - test/dummy/log/development.log
187
+ - test/dummy/log/test.log
188
+ - test/dummy/public/404.html
129
189
  - test/dummy/public/favicon.ico
130
- - test/dummy/public/500.html
131
190
  - test/dummy/public/422.html
132
- - test/dummy/public/404.html
133
- - test/dummy/config/environments/development.rb
191
+ - test/dummy/public/500.html
192
+ - test/dummy/config.ru
193
+ - test/dummy/config/boot.rb
194
+ - test/dummy/config/locales/en.yml
134
195
  - test/dummy/config/environments/production.rb
135
196
  - test/dummy/config/environments/test.rb
136
- - test/dummy/config/database.yml
197
+ - test/dummy/config/environments/development.rb
137
198
  - test/dummy/config/routes.rb
138
- - test/dummy/config/boot.rb
139
- - test/dummy/config/application.rb
140
- - test/dummy/config/initializers/secret_token.rb
141
- - test/dummy/config/initializers/session_store.rb
142
- - test/dummy/config/initializers/backtrace_silencers.rb
143
- - test/dummy/config/initializers/mime_types.rb
199
+ - test/dummy/config/environment.rb
200
+ - test/dummy/config/database.yml
144
201
  - test/dummy/config/initializers/wrap_parameters.rb
202
+ - test/dummy/config/initializers/mime_types.rb
203
+ - test/dummy/config/initializers/backtrace_silencers.rb
204
+ - test/dummy/config/initializers/session_store.rb
205
+ - test/dummy/config/initializers/secret_token.rb
145
206
  - test/dummy/config/initializers/inflections.rb
146
- - test/dummy/config/locales/en.yml
147
- - test/dummy/config/environment.rb
207
+ - test/dummy/config/application.rb
148
208
  - test/dummy/script/rails
149
- - test/test_helper.rb
209
+ - test/dummy/tmp/cache/assets/D74/390/sprockets%2F5eda33e637dd54ff6a27bb76c482a473
210
+ - test/dummy/tmp/cache/assets/D1B/CE0/sprockets%2F09c9c18794df089e62443d3debb117e5
211
+ - test/dummy/tmp/cache/assets/D4F/520/sprockets%2F88ecb483df9e177ee775202ba0691ec7
212
+ - test/dummy/tmp/cache/assets/D0B/330/sprockets%2F582a2b19d6be92a0393afa63894d721a
213
+ - test/dummy/tmp/cache/assets/D1D/BA0/sprockets%2F29888f599d35bb11e4a8183d6dc5e23a
214
+ - test/dummy/tmp/cache/assets/DA0/520/sprockets%2Fb8e93a54478c1f1a0e750ef2cbf74f3c
215
+ - test/dummy/tmp/cache/assets/C4D/8B0/sprockets%2F5e1b589842222e2ea0043890c2c84539
216
+ - test/dummy/tmp/cache/assets/DC1/520/sprockets%2Feb8cea402f0bf04560adcd0cb8807b88
217
+ - test/dummy/tmp/cache/assets/D21/920/sprockets%2F85fd59fe11746a33f5f917a923d84be3
218
+ - test/dummy/tmp/cache/assets/D6E/300/sprockets%2Fcc54b61039f74d6b8a2a7d04ad9d77f0
219
+ - test/dummy/tmp/cache/assets/D1F/600/sprockets%2Fdd3578c9bd0719efe092c59655a25c55
220
+ - test/dummy/tmp/cache/assets/CF2/F90/sprockets%2F5378bb2470df984ccf2643991a6e476d
221
+ - test/dummy/tmp/cache/assets/D7F/2D0/sprockets%2F141c2c9cb5235c8d21a00fbc8d7a2ab1
222
+ - test/dummy/tmp/cache/assets/C6F/5C0/sprockets%2F259fb59d511a70d46436201b6770a04a
223
+ - test/dummy/tmp/cache/assets/D76/170/sprockets%2Ffa5e461b362e11c80d5fd9e877fb63e2
224
+ - test/dummy/tmp/cache/assets/D84/AA0/sprockets%2F5e841fe9d79e3ebf4333be8842b77bc5
225
+ - test/dummy/tmp/cache/assets/D4D/FB0/sprockets%2Fd5743837e8babdab4825364c4ee86f73
226
+ - test/dummy/tmp/mails/1345541756.4616725
227
+ - test/dummy/Rakefile
228
+ - test/dummy/db/development.sqlite3
229
+ - test/dummy/db/production.sqlite3
230
+ - test/dummy/db/test.sqlite3
231
+ - test/dummy/app/helpers/application_helper.rb
232
+ - test/dummy/app/assets/javascripts/application.js
233
+ - test/dummy/app/assets/stylesheets/application.css
234
+ - test/dummy/app/views/layouts/application.html.erb
235
+ - test/dummy/app/controllers/application_controller.rb
150
236
  - test/inbox_test.rb
237
+ - test/functional/inbox/emails_controller_test.rb
238
+ - test/functional/inbox/email_test.rb
239
+ - test/unit/helpers/inbox/emails_helper_test.rb
240
+ - test/test_helper.rb
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = Inbox
2
-
3
- This project rocks and uses MIT-LICENSE.