enju_message 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +36 -0
  4. data/app/controllers/message_requests_controller.rb +62 -0
  5. data/app/controllers/message_templates_controller.rb +18 -0
  6. data/app/controllers/messages_controller.rb +155 -0
  7. data/app/helpers/messages_helper.rb +2 -0
  8. data/app/models/message.rb +86 -0
  9. data/app/models/message_request.rb +87 -0
  10. data/app/models/message_template.rb +42 -0
  11. data/app/views/layouts/messages.html.erb +24 -0
  12. data/app/views/message_requests/edit.html.erb +40 -0
  13. data/app/views/message_requests/index.html.erb +58 -0
  14. data/app/views/message_requests/new.html.erb +40 -0
  15. data/app/views/message_requests/show.html.erb +55 -0
  16. data/app/views/message_templates/_form.html.erb +27 -0
  17. data/app/views/message_templates/edit.html.erb +13 -0
  18. data/app/views/message_templates/index.html.erb +44 -0
  19. data/app/views/message_templates/new.html.erb +12 -0
  20. data/app/views/message_templates/show.html.erb +33 -0
  21. data/app/views/messages/_form.html.erb +37 -0
  22. data/app/views/messages/edit.html.erb +42 -0
  23. data/app/views/messages/index.atom.builder +15 -0
  24. data/app/views/messages/index.html.erb +66 -0
  25. data/app/views/messages/index.rss.builder +41 -0
  26. data/app/views/messages/new.html.erb +43 -0
  27. data/app/views/messages/show.html.erb +48 -0
  28. data/app/views/notifier/message_notification.en.text.erb +14 -0
  29. data/app/views/notifier/message_notification.ja.text.erb +14 -0
  30. data/config/routes.rb +9 -0
  31. data/db/fixtures/message_templates.yml +54 -0
  32. data/db/migrate/149_create_message_templates.rb +18 -0
  33. data/db/migrate/154_create_messages.rb +24 -0
  34. data/db/migrate/20080819181903_create_message_requests.rb +20 -0
  35. data/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +11 -0
  36. data/lib/enju_message/engine.rb +17 -0
  37. data/lib/enju_message/version.rb +3 -0
  38. data/lib/enju_message.rb +4 -0
  39. data/lib/tasks/enju_message_tasks.rake +5 -0
  40. data/test/dummy/Rakefile +7 -0
  41. data/test/dummy/app/assets/javascripts/application.js +9 -0
  42. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  43. data/test/dummy/app/controllers/application_controller.rb +3 -0
  44. data/test/dummy/app/helpers/application_helper.rb +2 -0
  45. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  46. data/test/dummy/config/application.rb +45 -0
  47. data/test/dummy/config/boot.rb +10 -0
  48. data/test/dummy/config/database.yml +25 -0
  49. data/test/dummy/config/environment.rb +5 -0
  50. data/test/dummy/config/environments/development.rb +30 -0
  51. data/test/dummy/config/environments/production.rb +60 -0
  52. data/test/dummy/config/environments/test.rb +39 -0
  53. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  54. data/test/dummy/config/initializers/inflections.rb +10 -0
  55. data/test/dummy/config/initializers/mime_types.rb +5 -0
  56. data/test/dummy/config/initializers/secret_token.rb +7 -0
  57. data/test/dummy/config/initializers/session_store.rb +8 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +5 -0
  60. data/test/dummy/config/routes.rb +58 -0
  61. data/test/dummy/config.ru +4 -0
  62. data/test/dummy/db/test.sqlite3 +0 -0
  63. data/test/dummy/log/development.log +0 -0
  64. data/test/dummy/log/test.log +3 -0
  65. data/test/dummy/public/404.html +26 -0
  66. data/test/dummy/public/422.html +26 -0
  67. data/test/dummy/public/500.html +26 -0
  68. data/test/dummy/public/favicon.ico +0 -0
  69. data/test/dummy/script/rails +6 -0
  70. data/test/enju_message_test.rb +7 -0
  71. data/test/integration/navigation_test.rb +10 -0
  72. data/test/test_helper.rb +10 -0
  73. metadata +337 -0
metadata ADDED
@@ -0,0 +1,337 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: enju_message
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Kosuke Tanabe
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70119871468260 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70119871468260
25
+ - !ruby/object:Gem::Dependency
26
+ name: simple_form
27
+ requirement: &70119871467660 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70119871467660
36
+ - !ruby/object:Gem::Dependency
37
+ name: delayed_job
38
+ requirement: &70119871466820 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 2.1.4
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70119871466820
47
+ - !ruby/object:Gem::Dependency
48
+ name: awesome_nested_set
49
+ requirement: &70119871466140 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70119871466140
58
+ - !ruby/object:Gem::Dependency
59
+ name: friendly_id
60
+ requirement: &70119871465540 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - =
64
+ - !ruby/object:Gem::Version
65
+ version: 4.0.0.beta14
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70119871465540
69
+ - !ruby/object:Gem::Dependency
70
+ name: will_paginate
71
+ requirement: &70119871464800 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '3.0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *70119871464800
80
+ - !ruby/object:Gem::Dependency
81
+ name: devise
82
+ requirement: &70119871464240 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *70119871464240
91
+ - !ruby/object:Gem::Dependency
92
+ name: cancan
93
+ requirement: &70119871463740 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *70119871463740
102
+ - !ruby/object:Gem::Dependency
103
+ name: state_machine
104
+ requirement: &70119871463280 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: *70119871463280
113
+ - !ruby/object:Gem::Dependency
114
+ name: inherited_resources
115
+ requirement: &70119871462480 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :runtime
122
+ prerelease: false
123
+ version_requirements: *70119871462480
124
+ - !ruby/object:Gem::Dependency
125
+ name: addressable
126
+ requirement: &70119871461820 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: *70119871461820
135
+ - !ruby/object:Gem::Dependency
136
+ name: attribute_normalizer
137
+ requirement: &70119871460900 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: '1.0'
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: *70119871460900
146
+ - !ruby/object:Gem::Dependency
147
+ name: configatron
148
+ requirement: &70119871459520 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ type: :runtime
155
+ prerelease: false
156
+ version_requirements: *70119871459520
157
+ - !ruby/object:Gem::Dependency
158
+ name: sunspot_rails
159
+ requirement: &70119871458780 !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ~>
163
+ - !ruby/object:Gem::Version
164
+ version: '1.3'
165
+ type: :runtime
166
+ prerelease: false
167
+ version_requirements: *70119871458780
168
+ - !ruby/object:Gem::Dependency
169
+ name: sunspot_solr
170
+ requirement: &70119871185920 !ruby/object:Gem::Requirement
171
+ none: false
172
+ requirements:
173
+ - - ~>
174
+ - !ruby/object:Gem::Version
175
+ version: '1.3'
176
+ type: :runtime
177
+ prerelease: false
178
+ version_requirements: *70119871185920
179
+ - !ruby/object:Gem::Dependency
180
+ name: sqlite3
181
+ requirement: &70119871184480 !ruby/object:Gem::Requirement
182
+ none: false
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ type: :development
188
+ prerelease: false
189
+ version_requirements: *70119871184480
190
+ - !ruby/object:Gem::Dependency
191
+ name: rspec-rails
192
+ requirement: &70119871183200 !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ type: :development
199
+ prerelease: false
200
+ version_requirements: *70119871183200
201
+ description: Message management for Next-L Enju
202
+ email:
203
+ - tanabe@mwr.mediacom.keio.ac.jp
204
+ executables: []
205
+ extensions: []
206
+ extra_rdoc_files: []
207
+ files:
208
+ - app/controllers/message_requests_controller.rb
209
+ - app/controllers/message_templates_controller.rb
210
+ - app/controllers/messages_controller.rb
211
+ - app/helpers/messages_helper.rb
212
+ - app/models/message.rb
213
+ - app/models/message_request.rb
214
+ - app/models/message_template.rb
215
+ - app/views/layouts/messages.html.erb
216
+ - app/views/message_requests/edit.html.erb
217
+ - app/views/message_requests/index.html.erb
218
+ - app/views/message_requests/new.html.erb
219
+ - app/views/message_requests/show.html.erb
220
+ - app/views/message_templates/_form.html.erb
221
+ - app/views/message_templates/edit.html.erb
222
+ - app/views/message_templates/index.html.erb
223
+ - app/views/message_templates/new.html.erb
224
+ - app/views/message_templates/show.html.erb
225
+ - app/views/messages/_form.html.erb
226
+ - app/views/messages/edit.html.erb
227
+ - app/views/messages/index.atom.builder
228
+ - app/views/messages/index.html.erb
229
+ - app/views/messages/index.rss.builder
230
+ - app/views/messages/new.html.erb
231
+ - app/views/messages/show.html.erb
232
+ - app/views/notifier/message_notification.en.text.erb
233
+ - app/views/notifier/message_notification.ja.text.erb
234
+ - config/routes.rb
235
+ - db/fixtures/message_templates.yml
236
+ - db/migrate/149_create_message_templates.rb
237
+ - db/migrate/154_create_messages.rb
238
+ - db/migrate/20080819181903_create_message_requests.rb
239
+ - db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
240
+ - lib/enju_message/engine.rb
241
+ - lib/enju_message/version.rb
242
+ - lib/enju_message.rb
243
+ - lib/tasks/enju_message_tasks.rake
244
+ - MIT-LICENSE
245
+ - Rakefile
246
+ - README.rdoc
247
+ - test/dummy/app/assets/javascripts/application.js
248
+ - test/dummy/app/assets/stylesheets/application.css
249
+ - test/dummy/app/controllers/application_controller.rb
250
+ - test/dummy/app/helpers/application_helper.rb
251
+ - test/dummy/app/views/layouts/application.html.erb
252
+ - test/dummy/config/application.rb
253
+ - test/dummy/config/boot.rb
254
+ - test/dummy/config/database.yml
255
+ - test/dummy/config/environment.rb
256
+ - test/dummy/config/environments/development.rb
257
+ - test/dummy/config/environments/production.rb
258
+ - test/dummy/config/environments/test.rb
259
+ - test/dummy/config/initializers/backtrace_silencers.rb
260
+ - test/dummy/config/initializers/inflections.rb
261
+ - test/dummy/config/initializers/mime_types.rb
262
+ - test/dummy/config/initializers/secret_token.rb
263
+ - test/dummy/config/initializers/session_store.rb
264
+ - test/dummy/config/initializers/wrap_parameters.rb
265
+ - test/dummy/config/locales/en.yml
266
+ - test/dummy/config/routes.rb
267
+ - test/dummy/config.ru
268
+ - test/dummy/db/test.sqlite3
269
+ - test/dummy/log/development.log
270
+ - test/dummy/log/test.log
271
+ - test/dummy/public/404.html
272
+ - test/dummy/public/422.html
273
+ - test/dummy/public/500.html
274
+ - test/dummy/public/favicon.ico
275
+ - test/dummy/Rakefile
276
+ - test/dummy/script/rails
277
+ - test/enju_message_test.rb
278
+ - test/integration/navigation_test.rb
279
+ - test/test_helper.rb
280
+ homepage: https://github.com/nabeta/enju_message
281
+ licenses: []
282
+ post_install_message:
283
+ rdoc_options: []
284
+ require_paths:
285
+ - lib
286
+ required_ruby_version: !ruby/object:Gem::Requirement
287
+ none: false
288
+ requirements:
289
+ - - ! '>='
290
+ - !ruby/object:Gem::Version
291
+ version: '0'
292
+ required_rubygems_version: !ruby/object:Gem::Requirement
293
+ none: false
294
+ requirements:
295
+ - - ! '>='
296
+ - !ruby/object:Gem::Version
297
+ version: '0'
298
+ requirements: []
299
+ rubyforge_project:
300
+ rubygems_version: 1.8.11
301
+ signing_key:
302
+ specification_version: 3
303
+ summary: enju_message plugin
304
+ test_files:
305
+ - test/dummy/app/assets/javascripts/application.js
306
+ - test/dummy/app/assets/stylesheets/application.css
307
+ - test/dummy/app/controllers/application_controller.rb
308
+ - test/dummy/app/helpers/application_helper.rb
309
+ - test/dummy/app/views/layouts/application.html.erb
310
+ - test/dummy/config/application.rb
311
+ - test/dummy/config/boot.rb
312
+ - test/dummy/config/database.yml
313
+ - test/dummy/config/environment.rb
314
+ - test/dummy/config/environments/development.rb
315
+ - test/dummy/config/environments/production.rb
316
+ - test/dummy/config/environments/test.rb
317
+ - test/dummy/config/initializers/backtrace_silencers.rb
318
+ - test/dummy/config/initializers/inflections.rb
319
+ - test/dummy/config/initializers/mime_types.rb
320
+ - test/dummy/config/initializers/secret_token.rb
321
+ - test/dummy/config/initializers/session_store.rb
322
+ - test/dummy/config/initializers/wrap_parameters.rb
323
+ - test/dummy/config/locales/en.yml
324
+ - test/dummy/config/routes.rb
325
+ - test/dummy/config.ru
326
+ - test/dummy/db/test.sqlite3
327
+ - test/dummy/log/development.log
328
+ - test/dummy/log/test.log
329
+ - test/dummy/public/404.html
330
+ - test/dummy/public/422.html
331
+ - test/dummy/public/500.html
332
+ - test/dummy/public/favicon.ico
333
+ - test/dummy/Rakefile
334
+ - test/dummy/script/rails
335
+ - test/enju_message_test.rb
336
+ - test/integration/navigation_test.rb
337
+ - test/test_helper.rb