Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade various dependencies to address ruby 2.7 deprecations #930

Closed
CloCkWeRX opened this issue May 11, 2021 · 0 comments
Closed

Upgrade various dependencies to address ruby 2.7 deprecations #930

CloCkWeRX opened this issue May 11, 2021 · 0 comments

Comments

@CloCkWeRX
Copy link
Member

CloCkWeRX commented May 11, 2021

From running feature tests locally, ruby 2.7:

fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.6/lib/abstract_controller/translation.rb:21: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call           
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.6/lib/action_dispatch/middleware/cookies.rb:647: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call         
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.6/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call            
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.6/lib/action_dispatch/middleware/static.rb:111: warning: The called method `initialize' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionview-5.2.6/lib/action_view/helpers/translation_helper.rb:127: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call     
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionview-5.2.6/lib/action_view/helpers/translation_helper.rb:91: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call      
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/actionview-5.2.6/lib/action_view/helpers/translation_helper.rb:99: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call      
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activemodel-5.2.6/lib/active_model/errors.rb:430: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activemodel-5.2.6/lib/active_model/naming.rb:190: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activemodel-5.2.6/lib/active_model/translation.rb:67: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activemodel-5.2.6/lib/active_model/type/integer.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activemodel-5.2.6/lib/active_model/type/value.rb:8: warning: The called method `initialize' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/associations.rb:1368: warning: The called method `has_many' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/associations.rb:1855: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call              
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb:260: warning: The called method `transaction' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/transaction.rb:146: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/transaction.rb:171: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/abstract/transaction.rb:97: warning: The called method `initialize' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb:12: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/persistence.rb:705: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call                
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/relation.rb:25: warning: The called method `initialize' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/relation/delegation.rb:132: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call        
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/timestamp.rb:105: warning: The called method `_update_record' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/transactions.rb:212: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call               
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/type.rb:27: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.6/lib/active_record/type/adapter_specific_registry.rb:9: warning: The called method `add_modifier' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/message_encryptor.rb:150: warning: The called method `encrypt_and_sign' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/message_encryptor.rb:175: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call        
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/messages/metadata.rb:17: warning: The called method `wrap' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/option_merger.rb:24: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call             
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/acts_as_commentable-4.0.2/lib/commentable_methods.rb:58: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call                
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.10/lib/i18n.rb:196: warning: The called method `t' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.10/lib/i18n.rb:196: warning: The called method `translate' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.10/lib/i18n.rb:196: warning: The called method `translate' is defined here     
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.10/lib/i18n.rb:296: warning: The called method `localize' is defined here
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/driver.rb:54: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call 
fat_free_crm/vendor/bundle/ruby/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/firefox/driver.rb:31: warning: The called method `new' is defined here

Some of these might need rails 6, others might just be a simple upgrade

@CloCkWeRX CloCkWeRX added this to To do in Improve codebase via automation May 11, 2021
Improve codebase automation moved this from To do to Done Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant