motiro 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,15 +18,21 @@
18
18
  require File.dirname(__FILE__) + '/../test_helper'
19
19
 
20
20
  class RevisionTest < Test::Unit::TestCase
21
- fixtures :users
21
+ fixtures :users, :pages, :revisions
22
22
 
23
23
  def test_revisions_original_author_is_page_original_author
24
24
  p = revise_brand_new_page(:title => 'My Title', :text => 'Original content')
25
25
  p.revise(john, now, :text => 'Modified content')
26
-
26
+
27
27
  assert_equal bob, p.original_author
28
28
  assert_equal bob, p.revisions.first.original_author
29
29
  assert_equal bob, p.revisions.last.original_author
30
30
  end
31
31
 
32
+ def test_asking_revision_for_revisions_is_the_same_as_asking_parent_page
33
+ rev = revisions('page_creation')
34
+
35
+ assert_equal rev.page.revisions, rev.revisions
36
+ end
37
+
32
38
  end
@@ -90,4 +90,13 @@ class WikiReporterTest < Test::Unit::TestCase
90
90
  end
91
91
  end
92
92
 
93
+ def test_respond_to_latest_headlines
94
+ FlexMock.use do |page_provider|
95
+ page_provider.should_receive(:find).zero_or_more_times.and_return([])
96
+
97
+ assert_equal 0, EventsReporter.new(:page_provider => page_provider).
98
+ latest_headlines('something').size
99
+ end
100
+ end
101
+
93
102
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: motiro
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.4
7
- date: 2007-04-11 00:00:00 -03:00
6
+ version: 0.6.5
7
+ date: 2007-05-16 00:00:00 -03:00
8
8
  summary: Simple project tracking tool
9
9
  require_paths:
10
10
  - .
@@ -30,327 +30,301 @@ authors:
30
30
  - Thiago Arrais
31
31
  files:
32
32
  - test
33
- - app
34
- - db
35
- - components
36
- - vendor
37
- - script
38
- - doc
39
- - config
40
- - lib
41
- - public
42
- - README.pt-br
43
- - Rakefile
44
- - LICENSE
45
- - README
46
- - README.en
47
- - bin
48
- - installer
49
33
  - test/unit
50
- - test/stubs
51
- - test/functional
52
- - test/acceptance
53
- - test/lib
54
- - test/meta
55
- - test/fixtures
56
- - test/mocks
57
- - test/contract
58
- - test/test_helper.rb
59
- - test/unit/diff_table_builder_test.rb
60
34
  - test/unit/darcs_reporter_test.rb
61
35
  - test/unit/user_test.rb
62
- - test/unit/runner_test.rb
36
+ - test/unit/chdir_runner_test.rb
63
37
  - test/unit/chief_editor_test.rb
64
- - test/unit/svn_settings_test.rb
38
+ - test/unit/diff_table_builder_test.rb
65
39
  - test/unit/change_test.rb
66
- - test/unit/reporter_test.rb
67
40
  - test/unit/cache_reporter_test.rb
41
+ - test/unit/cache_reporter_fetcher_test.rb
42
+ - test/unit/string_extensions_test.rb
68
43
  - test/unit/svn_connection_test.rb
69
44
  - test/unit/wiki_reporter_test.rb
45
+ - test/unit/svn_settings_test.rb
46
+ - test/unit/svn_reporter_interaction_test.rb
70
47
  - test/unit/svn_reporter_test.rb
48
+ - test/unit/relative_time_test.rb
71
49
  - test/unit/translator_test.rb
50
+ - test/unit/wiki_renderer_test.rb
51
+ - test/unit/default_page_provider_test.rb
52
+ - test/unit/wiki_url_generator_test.rb
72
53
  - test/unit/caching_test.rb
54
+ - test/unit/revision_test.rb
73
55
  - test/unit/settings_test.rb
74
56
  - test/unit/reporter_fetcher_test.rb
75
- - test/unit/page_test.rb
57
+ - test/unit/reporter_test.rb
76
58
  - test/unit/darcs_temp_repo_test.rb
77
59
  - test/unit/headline_test.rb
78
- - test/unit/revision_test.rb
60
+ - test/unit/runner_test.rb
79
61
  - test/unit/darcs_connection_test.rb
62
+ - test/unit/page_test.rb
80
63
  - test/unit/darcs_settings_test.rb
81
64
  - test/unit/reporter_driver_test.rb
82
- - test/unit/default_page_provider_test.rb
83
- - test/unit/string_extensions_test.rb
84
- - test/unit/chdir_runner_test.rb
85
- - test/unit/relative_time_test.rb
86
- - test/unit/cache_reporter_fetcher_test.rb
87
- - test/unit/wiki_renderer_test.rb
88
- - test/unit/wiki_url_generator_test.rb
89
- - test/unit/svn_reporter_interaction_test.rb
90
- - test/stubs/url_generator.rb
65
+ - test/stubs
91
66
  - test/stubs/svn_settings.rb
92
- - test/functional/wiki_controller_test.rb
67
+ - test/stubs/url_generator.rb
68
+ - test/functional
93
69
  - test/functional/report_controller_test.rb
94
70
  - test/functional/account_controller_test.rb
95
71
  - test/functional/root_controller_test.rb
72
+ - test/functional/wiki_controller_test.rb
96
73
  - test/functional/report_features_test.rb
97
74
  - test/functional/report_subversion_test.rb
75
+ - test/acceptance
98
76
  - test/acceptance/subversion_test.rb
99
- - test/acceptance/account_test.rb
100
- - test/acceptance/darcs_test.rb
101
77
  - test/acceptance/main_page_test.rb
102
78
  - test/acceptance/wiki_test.rb
103
79
  - test/acceptance/events_test.rb
104
80
  - test/acceptance/ts_all_suites.rb
105
- - test/lib/darcs_repo.rb
81
+ - test/acceptance/account_test.rb
82
+ - test/acceptance/darcs_test.rb
83
+ - test/lib
84
+ - test/lib/acceptance_test_case.rb
106
85
  - test/lib/local_svn.rb
107
- - test/lib/webserver.rb
86
+ - test/lib/selenium_extensions.rb
87
+ - test/lib/darcs_repo.rb
88
+ - test/lib/live_mode_test.rb
108
89
  - test/lib/svn_excerpts.rb
90
+ - test/lib/webserver.rb
91
+ - test/lib/stubio.rb
109
92
  - test/lib/repoutils.rb
110
- - test/lib/configuration.rb
111
93
  - test/lib/test_configuration.rb
94
+ - test/lib/configuration.rb
112
95
  - test/lib/netutils.rb
113
- - test/lib/stubio.rb
114
- - test/lib/live_mode_test.rb
115
- - test/lib/platform_thread.rb
116
96
  - test/lib/darcs_excerpts.rb
117
- - test/lib/acceptance_test_case.rb
118
- - test/lib/selenium_extensions.rb
119
- - test/meta/configuration_test.rb
97
+ - test/lib/platform_thread.rb
98
+ - test/meta
120
99
  - test/meta/local_svn_test.rb
121
100
  - test/meta/darcs_repo_test.rb
122
101
  - test/meta/stubio_test.rb
102
+ - test/meta/configuration_test.rb
123
103
  - test/meta/platform_thread_test.rb
124
- - test/fixtures/headlines.yml
104
+ - test/fixtures
125
105
  - test/fixtures/pages.yml
106
+ - test/fixtures/revisions.yml
126
107
  - test/fixtures/users.yml
127
108
  - test/fixtures/changes.yml
128
- - test/fixtures/revisions.yml
109
+ - test/fixtures/headlines.yml
110
+ - test/mocks
129
111
  - test/mocks/test
130
112
  - test/mocks/development
131
113
  - test/mocks/svn_reporter.rb
132
114
  - test/mocks/headline.rb
115
+ - test/contract
133
116
  - test/contract/svn_test.rb
134
117
  - test/contract/remote_darcs_test.rb
135
118
  - test/contract/darcs_test.rb
119
+ - test/test_helper.rb
120
+ - app
136
121
  - app/helpers
137
- - app/models
138
- - app/reporters
139
- - app/controllers
140
- - app/ports
141
- - app/core
142
- - app/views
143
- - app/helpers/default_page_provider.rb
144
122
  - app/helpers/application_helper.rb
145
123
  - app/helpers/root_helper.rb
146
124
  - app/helpers/wiki_helper.rb
125
+ - app/helpers/default_page_provider.rb
147
126
  - app/helpers/report_helper.rb
148
127
  - app/helpers/account_helper.rb
149
- - app/models/page.rb
128
+ - app/models
129
+ - app/models/revision.rb
150
130
  - app/models/user.rb
151
- - app/models/event.rb
152
- - app/models/page_sweeper.rb
131
+ - app/models/page.rb
153
132
  - app/models/change.rb
154
- - app/models/headline.rb
155
133
  - app/models/diff_table_builder.rb
156
- - app/models/revision.rb
157
- - app/reporters/subversion_reporter.rb
134
+ - app/models/page_sweeper.rb
135
+ - app/models/headline.rb
136
+ - app/reporters
158
137
  - app/reporters/darcs_reporter.rb
159
138
  - app/reporters/features_reporter.rb
139
+ - app/reporters/subversion_reporter.rb
160
140
  - app/reporters/svn_connection.rb
161
141
  - app/reporters/darcs_temp_repo.rb
162
142
  - app/reporters/events_reporter.rb
163
143
  - app/reporters/svn_settings.rb
164
144
  - app/reporters/darcs_connection.rb
165
145
  - app/reporters/darcs_settings.rb
166
- - app/controllers/javascript_controller.rb
146
+ - app/controllers
167
147
  - app/controllers/report_controller.rb
168
148
  - app/controllers/account_controller.rb
169
149
  - app/controllers/application.rb
170
150
  - app/controllers/root_controller.rb
171
151
  - app/controllers/wiki_controller.rb
152
+ - app/controllers/javascript_controller.rb
153
+ - app/ports
172
154
  - app/ports/chdir_runner.rb
173
- - app/ports/runner.rb
174
155
  - app/ports/reporter_loader.rb
175
- - app/core/wiki_page_not_found.rb
156
+ - app/ports/runner.rb
157
+ - app/core
176
158
  - app/core/reporter_driver.rb
177
159
  - app/core/settings.rb
178
160
  - app/core/reporter.rb
179
161
  - app/core/reporter_fetcher.rb
180
162
  - app/core/chief_editor.rb
181
163
  - app/core/cache_reporter.rb
182
- - app/core/version.rb
183
164
  - app/core/cache_reporter_fetcher.rb
165
+ - app/core/version.rb
184
166
  - app/core/wiki_reporter.rb
167
+ - app/core/wiki_page_not_found.rb
168
+ - app/views
185
169
  - app/views/layouts
186
- - app/views/root
187
- - app/views/wiki
188
- - app/views/report
189
- - app/views/account
190
- - app/views/javascript
191
- - app/views/layouts/scaffold.rhtml
192
170
  - app/views/layouts/_top.rhtml
193
- - app/views/layouts/application.rhtml
171
+ - app/views/layouts/scaffold.rhtml
194
172
  - app/views/layouts/_bottom.rhtml
173
+ - app/views/layouts/application.rhtml
195
174
  - app/views/layouts/_header.rhtml
196
175
  - app/views/layouts/wiki_edit.rhtml
176
+ - app/views/root
197
177
  - app/views/root/index.rhtml
198
- - app/views/wiki/_editbar.rhtml
199
- - app/views/wiki/show.rhtml
200
- - app/views/wiki/edit.rhtml
178
+ - app/views/wiki
201
179
  - app/views/wiki/_properties_show.rhtml
202
180
  - app/views/wiki/_properties_edit.rhtml
203
- - app/views/wiki/properties_edit.rhtml
181
+ - app/views/wiki/show.rhtml
204
182
  - app/views/wiki/history.rhtml
183
+ - app/views/wiki/properties_edit.rhtml
184
+ - app/views/wiki/edit.rhtml
185
+ - app/views/wiki/_editbar.rhtml
186
+ - app/views/javascript
187
+ - app/views/javascript/niftycube.rjs
188
+ - app/views/javascript/motiro.rjs
189
+ - app/views/report
205
190
  - app/views/report/list.rhtml
206
- - app/views/report/rss.rxml
207
191
  - app/views/report/show.rhtml
192
+ - app/views/report/rss.rxml
208
193
  - app/views/report/older.rhtml
194
+ - app/views/account
209
195
  - app/views/account/availability.rhtml
210
- - app/views/account/login.rhtml
211
- - app/views/account/logout.rhtml
212
196
  - app/views/account/_authorization.rhtml
197
+ - app/views/account/login.rhtml
213
198
  - app/views/account/_availability.rhtml
214
- - app/views/javascript/motiro.rjs
215
- - app/views/javascript/niftycube.rjs
199
+ - app/views/account/logout.rhtml
200
+ - db
216
201
  - db/migrate
217
- - db/translation
218
- - db/schema_version
219
- - db/motirodb.sqlite.initial
220
- - db/migrate/008_add_page_editors.rb
221
- - db/migrate/007_stretch_rid.rb
202
+ - db/migrate/019_move_event_date_to_revision.rb
203
+ - db/migrate/013_nullify_initial_page_attributes.rb
204
+ - db/migrate/014_events_are_wiki_pages.rb
205
+ - db/migrate/017_revision_mimics_page.rb
222
206
  - db/migrate/011_add_title_and_kind_to_pages.rb
223
207
  - db/migrate/009_add_page_original_author.rb
208
+ - db/migrate/1_initial_structure.rb
209
+ - db/migrate/016_create_revisions.rb
210
+ - db/migrate/018_drop_redundant_page_columns.rb
211
+ - db/migrate/012_page_modification_info.rb
212
+ - db/migrate/007_stretch_rid.rb
213
+ - db/migrate/015_migrate_previous_event_data.rb
214
+ - db/migrate/008_add_page_editors.rb
224
215
  - db/migrate/005_globalize_migration.rb
225
216
  - db/migrate/2_add_authentication.rb
226
- - db/migrate/1_initial_structure.rb
217
+ - db/migrate/010_remove_empty_string_defaults_from_pages.rb
227
218
  - db/migrate/4_add_page_editing.rb
228
219
  - db/migrate/006_remove_headline_title.rb
229
220
  - db/migrate/3_drop_articles.rb
230
- - db/migrate/012_page_modification_info.rb
231
- - db/migrate/010_remove_empty_string_defaults_from_pages.rb
232
- - db/migrate/013_nullify_initial_page_attributes.rb
233
- - db/migrate/014_events_are_wiki_pages.rb
234
- - db/migrate/015_migrate_previous_event_data.rb
235
- - db/migrate/017_revision_mimics_page.rb
236
- - db/migrate/016_create_revisions.rb
237
- - db/migrate/018_drop_redundant_page_columns.rb
238
- - db/migrate/019_move_event_date_to_revision.rb
221
+ - db/migrate/020_fix_modification_dates_for_old_pages.rb
222
+ - db/migrate/021_drop_type_column_from_pages_table.rb
223
+ - db/migrate/022_provide_revision_position.rb
224
+ - db/migrate/023_increment_revision_positions.rb
225
+ - db/translation
239
226
  - db/translation/pt-BR.rb
227
+ - db/schema_version
228
+ - db/motirodb.sqlite.initial
229
+ - components
230
+ - installer
231
+ - installer/rails_installer_defaults.yml
232
+ - vendor
233
+ - script
240
234
  - script/performance
235
+ - script/performance/benchmarker
236
+ - script/performance/profiler
241
237
  - script/process
242
- - script/breakpointer
238
+ - script/process/spawner
239
+ - script/process/reaper
240
+ - script/process/spinner
241
+ - script/ticker
243
242
  - script/console
243
+ - script/breakpointer
244
244
  - script/server
245
- - script/ticker
246
245
  - script/destroy
247
246
  - script/runner
248
247
  - script/about
249
248
  - script/generate
250
249
  - script/plugin
251
- - script/performance/benchmarker
252
- - script/performance/profiler
253
- - script/process/spawner
254
- - script/process/reaper
255
- - script/process/spinner
250
+ - doc
256
251
  - doc/README_FOR_APP
252
+ - config
257
253
  - config/environments
258
- - config/environment.rb
254
+ - config/environments/test.rb
255
+ - config/environments/development.rb
256
+ - config/environments/production.rb
259
257
  - config/routes.rb
260
258
  - config/database.yml
261
259
  - config/boot.rb
260
+ - config/environment.rb
262
261
  - config/motiro.yml
263
- - config/environments/test.rb
264
- - config/environments/development.rb
265
- - config/environments/production.rb
262
+ - lib
266
263
  - lib/tasks
267
- - lib/relative_time.rb
268
- - lib/import_translations.rb
269
- - lib/login_system.rb
270
- - lib/string_extensions.rb
271
- - lib/translator.rb
264
+ - lib/tasks/packaging.rake
265
+ - lib/tasks/testing.rake
272
266
  - lib/tick_daemon.rb
273
267
  - lib/stub_hash.rb
268
+ - lib/string_extensions.rb
269
+ - lib/relative_time.rb
270
+ - lib/translator.rb
274
271
  - lib/wiki_renderer.rb
272
+ - lib/import_translations.rb
275
273
  - lib/wiki_url_generator.rb
276
- - lib/tasks/testing.rake
277
- - lib/tasks/packaging.rake
274
+ - lib/login_system.rb
275
+ - bin
276
+ - bin/motiro
277
+ - public
278
278
  - public/images
279
+ - public/images/rss.png
280
+ - public/images/calendar.png
279
281
  - public/javascripts
282
+ - public/javascripts/prototype.js
283
+ - public/javascripts/effects.js
284
+ - public/javascripts/dragdrop.js
285
+ - public/javascripts/controls.js
280
286
  - public/stylesheets
281
- - public/dispatch.fcgi
287
+ - public/stylesheets/motiro.css
288
+ - public/stylesheets/scaffold.css
289
+ - public/stylesheets/niftyCorners.css
282
290
  - public/dispatch.cgi
283
291
  - public/dispatch.rb
292
+ - public/dispatch.fcgi
284
293
  - public/robots.txt
285
294
  - public/500.html
286
295
  - public/404.html
287
296
  - public/favicon.ico
288
- - public/images/calendar.png
289
- - public/images/rss.png
290
- - public/javascripts/prototype.js
291
- - public/javascripts/effects.js
292
- - public/javascripts/dragdrop.js
293
- - public/javascripts/controls.js
294
- - public/stylesheets/niftyCorners.css
295
- - public/stylesheets/motiro.css
296
- - public/stylesheets/scaffold.css
297
- - bin/motiro
298
- - installer/rails_installer_defaults.yml
297
+ - README.pt-br
298
+ - Rakefile
299
+ - LICENSE
300
+ - README
301
+ - README.en
299
302
  - vendor/plugins/test_xml
300
- - vendor/plugins/globalize
301
- - vendor/plugins/test_xml/init.rb
303
+ - vendor/plugins/test_xml/test
304
+ - vendor/plugins/test_xml/test/test_xml_test.rb
302
305
  - vendor/plugins/test_xml/lib
306
+ - vendor/plugins/test_xml/lib/xml_assertions.rb
303
307
  - vendor/plugins/test_xml/Rakefile
304
- - vendor/plugins/test_xml/README
305
- - vendor/plugins/test_xml/test
308
+ - vendor/plugins/test_xml/init.rb
306
309
  - vendor/plugins/test_xml/MIT-LICENSE
307
- - vendor/plugins/test_xml/lib/xml_assertions.rb
308
- - vendor/plugins/test_xml/test/test_xml_test.rb
310
+ - vendor/plugins/test_xml/README
311
+ - vendor/plugins/globalize
309
312
  - vendor/plugins/globalize/test
310
- - vendor/plugins/globalize/tasks
311
- - vendor/plugins/globalize/lib
312
- - vendor/plugins/globalize/populators
313
- - vendor/plugins/globalize/data
314
- - vendor/plugins/globalize/generators
315
- - vendor/plugins/globalize/LICENSE
316
- - vendor/plugins/globalize/init.rb
317
- - vendor/plugins/globalize/README
318
313
  - vendor/plugins/globalize/test/unit
319
314
  - vendor/plugins/globalize/test/log
320
315
  - vendor/plugins/globalize/test/db
321
- - vendor/plugins/globalize/test/views
322
- - vendor/plugins/globalize/test/config
323
- - vendor/plugins/globalize/test/action_mailer_test
324
- - vendor/plugins/globalize/test/fixtures
325
- - vendor/plugins/globalize/test/view_translation_test.rb
326
- - vendor/plugins/globalize/test/view_picking_test.rb
327
- - vendor/plugins/globalize/test/test_helper.rb
328
- - vendor/plugins/globalize/test/standard_data_test_helper.rb
329
- - vendor/plugins/globalize/test/test_standard_data.rb
330
- - vendor/plugins/globalize/test/currency_test.rb
331
- - vendor/plugins/globalize/test/validation_test.rb
332
- - vendor/plugins/globalize/test/locale_test.rb
333
- - vendor/plugins/globalize/test/model_test.rb
334
- - vendor/plugins/globalize/test/db_translation_test.rb
335
- - vendor/plugins/globalize/test/mime_responds_test.rb
336
- - vendor/plugins/globalize/test/action_mailer_test.rb
337
- - vendor/plugins/globalize/test/core_ext_test.rb
338
- - vendor/plugins/globalize/test/date_helper_test.rb
339
316
  - vendor/plugins/globalize/test/db/migrate
340
317
  - vendor/plugins/globalize/test/db/schema.rb
318
+ - vendor/plugins/globalize/test/views
341
319
  - vendor/plugins/globalize/test/views/layouts
342
- - vendor/plugins/globalize/test/views/respond_to
343
- - vendor/plugins/globalize/test/views/test.he-IL.rhtml
344
- - vendor/plugins/globalize/test/views/test2.he.rhtml
345
- - vendor/plugins/globalize/test/views/test.rhtml
346
- - vendor/plugins/globalize/test/views/test2.rhtml
347
320
  - vendor/plugins/globalize/test/views/layouts/standard.rhtml
348
- - vendor/plugins/globalize/test/views/respond_to/all_types_with_layout.rjs
321
+ - vendor/plugins/globalize/test/views/respond_to
349
322
  - vendor/plugins/globalize/test/views/respond_to/using_defaults.fr.rjs
350
- - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rxml
323
+ - vendor/plugins/globalize/test/views/respond_to/all_types_with_layout.rjs
351
324
  - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.rxml
352
- - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rhtml
325
+ - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rxml
353
326
  - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.rhtml
327
+ - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.en.rhtml
354
328
  - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.fr.rxml
355
329
  - vendor/plugins/globalize/test/views/respond_to/using_defaults.rxml
356
330
  - vendor/plugins/globalize/test/views/respond_to/using_defaults_with_type_list.fr.rhtml
@@ -365,13 +339,20 @@ files:
365
339
  - vendor/plugins/globalize/test/views/respond_to/using_defaults.rjs
366
340
  - vendor/plugins/globalize/test/views/respond_to/all_types_with_layout.rhtml
367
341
  - vendor/plugins/globalize/test/views/respond_to/using_defaults.en.rjs
342
+ - vendor/plugins/globalize/test/views/test.he-IL.rhtml
343
+ - vendor/plugins/globalize/test/views/test2.he.rhtml
344
+ - vendor/plugins/globalize/test/views/test.rhtml
345
+ - vendor/plugins/globalize/test/views/test2.rhtml
346
+ - vendor/plugins/globalize/test/config
368
347
  - vendor/plugins/globalize/test/config/database.yml.default
369
348
  - vendor/plugins/globalize/test/config/database.yml.example
349
+ - vendor/plugins/globalize/test/action_mailer_test
370
350
  - vendor/plugins/globalize/test/action_mailer_test/globalize_mailer
371
351
  - vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.en-US.plain.text.rhtml
372
352
  - vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.he.plain.text.rhtml
373
353
  - vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.plain.text.rhtml
374
354
  - vendor/plugins/globalize/test/action_mailer_test/globalize_mailer/test.en.plain.text.rhtml
355
+ - vendor/plugins/globalize/test/fixtures
375
356
  - vendor/plugins/globalize/test/fixtures/globalize_categories_products.yml
376
357
  - vendor/plugins/globalize/test/fixtures/globalize_countries.yml
377
358
  - vendor/plugins/globalize/test/fixtures/globalize_simples.yml
@@ -380,40 +361,62 @@ files:
380
361
  - vendor/plugins/globalize/test/fixtures/globalize_products.yml
381
362
  - vendor/plugins/globalize/test/fixtures/globalize_categories.yml
382
363
  - vendor/plugins/globalize/test/fixtures/globalize_languages.yml
364
+ - vendor/plugins/globalize/test/view_picking_test.rb
365
+ - vendor/plugins/globalize/test/test_helper.rb
366
+ - vendor/plugins/globalize/test/standard_data_test_helper.rb
367
+ - vendor/plugins/globalize/test/view_translation_test.rb
368
+ - vendor/plugins/globalize/test/test_standard_data.rb
369
+ - vendor/plugins/globalize/test/currency_test.rb
370
+ - vendor/plugins/globalize/test/validation_test.rb
371
+ - vendor/plugins/globalize/test/locale_test.rb
372
+ - vendor/plugins/globalize/test/model_test.rb
373
+ - vendor/plugins/globalize/test/db_translation_test.rb
374
+ - vendor/plugins/globalize/test/mime_responds_test.rb
375
+ - vendor/plugins/globalize/test/action_mailer_test.rb
376
+ - vendor/plugins/globalize/test/core_ext_test.rb
377
+ - vendor/plugins/globalize/test/date_helper_test.rb
378
+ - vendor/plugins/globalize/tasks
383
379
  - vendor/plugins/globalize/tasks/data.rake
380
+ - vendor/plugins/globalize/lib
384
381
  - vendor/plugins/globalize/lib/globalize
385
382
  - vendor/plugins/globalize/lib/globalize/models
386
- - vendor/plugins/globalize/lib/globalize/localization
387
- - vendor/plugins/globalize/lib/globalize/rails
388
383
  - vendor/plugins/globalize/lib/globalize/models/model_translation.rb
389
384
  - vendor/plugins/globalize/lib/globalize/models/translation.rb
390
385
  - vendor/plugins/globalize/lib/globalize/models/country.rb
391
386
  - vendor/plugins/globalize/lib/globalize/models/language.rb
392
387
  - vendor/plugins/globalize/lib/globalize/models/view_translation.rb
393
388
  - vendor/plugins/globalize/lib/globalize/models/currency.rb
394
- - vendor/plugins/globalize/lib/globalize/localization/db_translate.rb
389
+ - vendor/plugins/globalize/lib/globalize/localization
395
390
  - vendor/plugins/globalize/lib/globalize/localization/locale.rb
391
+ - vendor/plugins/globalize/lib/globalize/localization/db_translate.rb
396
392
  - vendor/plugins/globalize/lib/globalize/localization/core_ext.rb
397
- - vendor/plugins/globalize/lib/globalize/localization/rfc_3066.rb
398
393
  - vendor/plugins/globalize/lib/globalize/localization/db_view_translator.rb
394
+ - vendor/plugins/globalize/lib/globalize/localization/rfc_3066.rb
399
395
  - vendor/plugins/globalize/lib/globalize/localization/core_ext_hooks.rb
396
+ - vendor/plugins/globalize/lib/globalize/rails
400
397
  - vendor/plugins/globalize/lib/globalize/rails/action_mailer.rb
401
398
  - vendor/plugins/globalize/lib/globalize/rails/action_view.rb
402
- - vendor/plugins/globalize/lib/globalize/rails/active_record.rb
403
399
  - vendor/plugins/globalize/lib/globalize/rails/active_record_helper.rb
404
- - vendor/plugins/globalize/populators/pop_migration.rb
400
+ - vendor/plugins/globalize/lib/globalize/rails/active_record.rb
401
+ - vendor/plugins/globalize/populators
405
402
  - vendor/plugins/globalize/populators/pop_dates.rb
403
+ - vendor/plugins/globalize/populators/pop_migration.rb
406
404
  - vendor/plugins/globalize/populators/pop_seps.rb
407
405
  - vendor/plugins/globalize/populators/pop_pluralization.rb
406
+ - vendor/plugins/globalize/data
408
407
  - vendor/plugins/globalize/data/translation_data.csv
409
408
  - vendor/plugins/globalize/data/country_data.csv
410
409
  - vendor/plugins/globalize/data/language_data.csv
410
+ - vendor/plugins/globalize/generators
411
411
  - vendor/plugins/globalize/generators/globalize
412
412
  - vendor/plugins/globalize/generators/globalize/templates
413
- - vendor/plugins/globalize/generators/globalize/USAGE
414
- - vendor/plugins/globalize/generators/globalize/globalize_generator.rb
415
- - vendor/plugins/globalize/generators/globalize/templates/tiny_migration.rb.gz
416
413
  - vendor/plugins/globalize/generators/globalize/templates/migration.rb.gz
414
+ - vendor/plugins/globalize/generators/globalize/templates/tiny_migration.rb.gz
415
+ - vendor/plugins/globalize/generators/globalize/globalize_generator.rb
416
+ - vendor/plugins/globalize/generators/globalize/USAGE
417
+ - vendor/plugins/globalize/LICENSE
418
+ - vendor/plugins/globalize/init.rb
419
+ - vendor/plugins/globalize/README
417
420
  - log/.keepdir
418
421
  - vendor/motiro-installer.rb
419
422
  test_files: []
data/app/models/event.rb DELETED
@@ -1,18 +0,0 @@
1
- # Motiro - A project tracking tool
2
- # Copyright (C) 2006-2007 Thiago Arrais
3
- #
4
- # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
7
- # any later version.
8
- #
9
- # This program is distributed in the hope that it will be useful,
10
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
-
18
- class Event < Page; end