[ARVADOS] updated: 5f2d5f96abb8941bed95bd9f47f79f6f1c3ba38d

git at public.curoverse.com git at public.curoverse.com
Mon Feb 16 13:59:06 EST 2015


Summary of changes:
 services/api/app/models/api_client_authorization.rb | 4 ++--
 services/api/app/models/authorized_key.rb           | 2 +-
 services/api/app/models/job.rb                      | 6 +++---
 services/api/app/models/job_task.rb                 | 4 ++--
 services/api/app/models/keep_disk.rb                | 6 +++---
 services/api/app/models/log.rb                      | 2 +-
 services/api/app/models/node.rb                     | 4 ++--
 services/api/app/models/pipeline_instance.rb        | 4 ++--
 services/api/config/initializers/time_format.rb     | 5 +++++
 services/api/lib/common_api_template.rb             | 6 ++----
 10 files changed, 23 insertions(+), 20 deletions(-)
 create mode 100644 services/api/config/initializers/time_format.rb

  discards  4b79e0e764d79745dc4d9cf2a03c871dbc772027 (commit)
       via  5f2d5f96abb8941bed95bd9f47f79f6f1c3ba38d (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (4b79e0e764d79745dc4d9cf2a03c871dbc772027)
            \
             N -- N -- N (5f2d5f96abb8941bed95bd9f47f79f6f1c3ba38d)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5f2d5f96abb8941bed95bd9f47f79f6f1c3ba38d
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Feb 16 14:00:09 2015 -0500

    4759: Use ISO 8601 timestamps with fractional seconds in API responses.

diff --git a/services/api/config/initializers/time_format.rb b/services/api/config/initializers/time_format.rb
new file mode 100644
index 0000000..ca67b19
--- /dev/null
+++ b/services/api/config/initializers/time_format.rb
@@ -0,0 +1,5 @@
+class ActiveSupport::TimeWithZone
+  def as_json
+    strftime "%Y-%m-%dT%H:%M:%S.%NZ"
+  end
+end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list