Redmine/app/models
Toshi MARUYAMA a17fcac822 Rails3: model: query: parse dates using UTC (ruby 1.9 inside) (#4796)
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.

test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
 AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 00:23:05 +00:00
..
repository scm: mercurial: do nothing in fetching if info is nil (#8777). 2011-07-11 00:56:09 +00:00
attachment.rb Rails3: replace deprecated 'after_destroy' method at Attachment model. 2011-08-30 05:08:21 +00:00
auth_source.rb remove trailing white-spaces from app/models/auth_source.rb. 2011-08-31 05:06:24 +00:00
auth_source_ldap.rb remove trailing white-spaces from app/models/auth_source_ldap.rb. 2011-08-21 04:43:55 +00:00
board.rb remove trailing white-spaces from app/models/board.rb. 2011-08-31 06:08:51 +00:00
change.rb Rails3: model: replace deprecated 'before_validation' method at Change model 2011-09-21 13:56:16 +00:00
changeset.rb fix typo of fix_issue() at Changeset model 2011-10-04 09:05:54 +00:00
comment.rb remove trailing white-spaces from app/models/comment.rb. 2011-08-31 06:08:13 +00:00
comment_observer.rb remove trailing white-spaces from app/models/comment_observer.rb. 2011-08-31 06:07:28 +00:00
custom_field.rb Rails3: replace deprecated 'validate' method at CustomField model. 2011-08-31 13:12:34 +00:00
custom_value.rb Rails3: replace deprecated 'validate' method at CustomValue model. 2011-08-31 14:13:40 +00:00
document.rb remove trailing white-spaces from Document model source. 2011-05-15 23:52:48 +00:00
document_category.rb remove trailing white-spaces from document category model source. 2011-05-18 07:51:15 +00:00
document_category_custom_field.rb remove trailing white-spaces and an empty line from document category custom field model source. 2011-05-18 07:51:51 +00:00
document_observer.rb remove trailing white-spaces from document observer model source. 2011-05-18 07:52:48 +00:00
enabled_module.rb remove trailing white-spaces from enabled module source. 2011-05-18 07:52:23 +00:00
enumeration.rb Rails3: model: replace deprecated 'before_save' method at Enumeration model 2011-09-21 04:50:58 +00:00
group.rb remove trailing white-spaces from app/models/group.rb. 2011-08-31 06:06:04 +00:00
group_custom_field.rb remove trailing white-spaces from app/models/group_custom_field.rb. 2011-08-31 08:42:00 +00:00
issue.rb Rails3: model: replace deprecated errors.add_to_base at validate_issue of Issue 2011-10-06 22:49:26 +00:00
issue_category.rb remove trailing white-spaces from app/models/issue_category.rb. 2011-08-22 02:07:58 +00:00
issue_custom_field.rb remove trailing white-spaces from app/models/issue_custom_field.rb. 2011-08-31 08:46:27 +00:00
issue_observer.rb remove trailing white-spaces from app/models/issue_observer.rb. 2011-08-31 08:45:59 +00:00
issue_priority.rb remove trailing white-spaces from app/models/issue_priority.rb. 2011-08-31 07:02:49 +00:00
issue_priority_custom_field.rb remove trailing white-spaces from app/models/issue_priority_custom_field.rb. 2011-08-31 07:03:35 +00:00
issue_relation.rb Rails3: model: replace deprecated 'before_save' method at IssueRelation model 2011-09-21 04:50:07 +00:00
issue_status.rb Rails3: model: replace deprecated 'after_save' method at IssueStatus model 2011-09-21 23:50:52 +00:00
journal.rb remove trailing white-spaces from app/models/journal.rb. 2011-08-31 07:04:22 +00:00
journal_detail.rb remove trailing white-spaces from app/models/journal_detail.rb. 2011-08-22 13:31:08 +00:00
journal_observer.rb remove trailing white-spaces from app/models/journal_observer.rb. 2011-08-31 08:48:10 +00:00
mail_handler.rb remove trailing white-spaces from app/models/mail_handler.rb. 2011-08-31 08:47:44 +00:00
mailer.rb Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317) 2011-09-26 16:23:26 +00:00
member.rb remove trailing white-spaces from app/models/member.rb. 2011-08-21 01:54:24 +00:00
member_role.rb remove trailing white-spaces from app/models/member_role.rb. 2011-08-21 01:53:41 +00:00
message.rb Rails3: model: replace deprecated 'validate_on_create' method at Message model 2011-10-01 01:11:39 +00:00
message_observer.rb remove trailing white-spaces from message observer model source. 2011-05-17 03:57:57 +00:00
news.rb remove trailing white-spaces from news model source. 2011-05-17 03:58:19 +00:00
news_observer.rb remove trailing white-spaces from app/models/news_observer.rb. 2011-08-31 08:47:21 +00:00
principal.rb remove trailing white-spaces from app/models/principal.rb. 2011-08-31 08:46:55 +00:00
project.rb remove trailing white-spaces from app/models/project.rb. 2011-08-21 08:46:33 +00:00
project_custom_field.rb remove trailing white-spaces from app/models/project_custom_field.rb. 2011-08-31 07:06:26 +00:00
query.rb Rails3: model: query: parse dates using UTC (ruby 1.9 inside) (#4796) 2011-10-07 00:23:05 +00:00
repository.rb scm: remove before_save() because of duplicate at url=(arg) and root_url=(arg). 2011-08-30 16:01:56 +00:00
role.rb remove trailing white-spaces from app/models/role.rb. 2011-08-31 07:05:43 +00:00
setting.rb replace RAILS_ROOT to Rails.root in setting model. 2011-06-16 01:52:45 +00:00
time_entry.rb Rails3: model: replace deprecated 'before_validation' method at TimeEntry model 2011-09-22 13:39:06 +00:00
time_entry_activity.rb remove trailing white-spaces from app/models/time_entry_activity.rb. 2011-08-29 01:06:15 +00:00
time_entry_activity_custom_field.rb remove trailing white-spaces from app/models/time_entry_activity_custom_field.rb. 2011-08-29 01:06:42 +00:00
time_entry_custom_field.rb remove trailing white-spaces from app/models/time_entry_custom_field.rb. 2011-08-29 01:07:13 +00:00
token.rb Rails3: model: replace deprecated 'before_create' method at Token model 2011-09-21 05:16:19 +00:00
tracker.rb remove trailing white-spaces from app/models/tracker.rb. 2011-08-22 02:08:37 +00:00
user.rb Rails3: model: replace deprecated 'validate' method at User model 2011-09-21 06:14:11 +00:00
user_custom_field.rb remove trailing white-spaces from app/models/user_custom_field.rb. 2011-08-31 07:05:03 +00:00
user_preference.rb remove trailing white-spaces from app/models/user_preference.rb. 2011-08-21 01:58:55 +00:00
version.rb remove trailing white-spaces from app/models/version.rb. 2011-08-31 10:09:32 +00:00
version_custom_field.rb remove trailing white-spaces from app/models/version_custom_field.rb. 2011-08-31 10:09:05 +00:00
watcher.rb remove trailing white-spaces from app/models/watcher.rb. 2011-08-21 01:59:51 +00:00
wiki.rb remove trailing white-spaces from app/models/wiki.rb. 2011-08-31 04:09:11 +00:00
wiki_content.rb remove trailing white-spaces from WikiContent model source. 2011-05-16 00:00:26 +00:00
wiki_content_observer.rb remove trailing white-spaces from app/models/wiki_content_observer.rb. 2011-08-31 04:08:30 +00:00
wiki_page.rb Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR (#9308). 2011-10-03 20:17:01 +00:00
wiki_redirect.rb remove trailing white-spaces from app/models/wiki_redirect.rb. 2011-08-31 04:07:52 +00:00
workflow.rb remove trailing white-spaces from app/models/workflow.rb. 2011-08-31 10:08:39 +00:00