Docker: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342018-05-07T10:01:46ZForeman
Redmine Refactor #23528 (New): containers_controller deprecation on fixnumhttps://projects.theforeman.org/issues/235282018-05-07T10:01:46ZOhad Levyohadlevy@gmail.com
<p>saw in logs</p>
<pre>
foreman_docker-4.1.0/app/controllers/api/v2/containers_controller.rb:107: warning: constant ::Fixnum is deprecated
</pre> Refactor #21042 (New): Ensure dates are printed consistently with corehttps://projects.theforeman.org/issues/210422017-09-20T12:54:26ZMarek Hulánmhulan@redhat.com
<p>Foreman 1.16 introduced two helpers that should be used whenever date/time information is printed.</p>
<pre><code class="ruby syntaxhl" data-language="ruby"><span class="n">date_time_absolute</span><span class="p">(</span><span class="n">time</span><span class="p">,</span> <span class="nb">format</span> <span class="o">=</span> <span class="ss">:short</span><span class="p">)</span>
<span class="n">date_time_relative</span><span class="p">(</span><span class="n">time</span><span class="p">)</span>
</code></pre>
<p>If it's applicable, the Foreman dependency of a plugin should be bumped to 1.16</p>