[ARVADOS] updated: 1.3.0-974-g618643017

Git user git at public.curoverse.com
Thu May 30 17:38:28 UTC 2019


Summary of changes:
 services/api/app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  618643017913c78a4d584ba4a5d9ca0db333a4f3 (commit)
      from  cb026a96db7c614c05ada93c5b7b1d2d22394b0c (commit)

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 618643017913c78a4d584ba4a5d9ca0db333a4f3
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu May 30 13:48:52 2019 -0300

    14946: Fixes Fixnum deprecation warning.
    
    See https://bugs.ruby-lang.org/issues/12005
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb
index 89eabdcee..b07787969 100644
--- a/services/api/app/controllers/application_controller.rb
+++ b/services/api/app/controllers/application_controller.rb
@@ -237,7 +237,7 @@ class ApplicationController < ActionController::Base
               conditions[0] << " and #{ar_table_name}.#{attr} in (?)"
               conditions << value
             end
-          elsif value.is_a? String or value.is_a? Fixnum or value == true or value == false
+          elsif value.is_a? String or value.is_a? Integer or value == true or value == false
             conditions[0] << " and #{ar_table_name}.#{attr}=?"
             conditions << value
           elsif value.is_a? Hash

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list