-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings that started popping up when running on ruby 3
These were fixed lib/dynflow/coordinator.rb:149: warning: method redefined; discarding old to_s lib/dynflow/coordinator.rb:133: warning: previous definition of to_s was here lib/dynflow/persistence_adapters/sequel.rb:102: warning: assigned but unused variable - output_chunks lib/dynflow/action/timeouts.rb:13: warning: mismatched indentations at 'end' with 'module' at 3 lib/dynflow/executors/parallel.rb:27: warning: assigned but unused variable - error lib/dynflow/executors/parallel/pool.rb:27: warning: method redefined; discarding old queue_size lib/dynflow/executors/parallel/pool.rb:19: warning: previous definition of queue_size was here lib/dynflow/world.rb:300: warning: assigned but unused variable - e lib/dynflow/telemetry.rb:21: warning: `&' interpreted as argument prefix lib/dynflow/testing/mimic.rb:33: warning: `&' interpreted as argument prefix lib/dynflow/testing/mimic.rb:35: warning: `&' interpreted as argument prefix lib/dynflow/testing/factories.rb:42: warning: `*' interpreted as argument prefix lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:2: warning: method redefined; discarding old to_uuid lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:2: warning: previous definition of to_uuid was here lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:6: warning: method redefined; discarding old from_uuid lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:6: warning: previous definition of from_uuid was here lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:10: warning: method redefined; discarding old with_foreign_key_recreation lib/dynflow/persistence_adapters/sequel_migrations/018_add_uuid_column.rb:10: warning: previous definition of with_foreign_key_recreation was here The following three come from us dynamically generating methods and then overriding some of them lib/dynflow/config.rb:105: warning: method redefined; discarding old validate_executor! lib/dynflow/config.rb:9: warning: previous definition of validate_executor! was here lib/dynflow/testing/mimic.rb:15: warning: method redefined; discarding old ===
- Loading branch information
1 parent
b2a4a57
commit 8086635
Showing
10 changed files
with
20 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters