diff --git a/.rubocop.yml b/.rubocop.yml index 1bf5aa9..8ba471c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,7 +9,7 @@ AllCops: - 'template/**/*' - 'tmp/**/*' - 'vendor/**/*' - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.2 Metrics/AbcSize: Enabled: false diff --git a/lib/bucky/test_equipment/verifications/service_verifications.rb b/lib/bucky/test_equipment/verifications/service_verifications.rb index 9e8fe8f..01aa337 100644 --- a/lib/bucky/test_equipment/verifications/service_verifications.rb +++ b/lib/bucky/test_equipment/verifications/service_verifications.rb @@ -41,7 +41,7 @@ def method_missing(verification, **args) # Load page and define page verification method def collect_verifications module_service_name = @service.split('_').map(&:capitalize).join - Dir.glob("#{$bucky_home_dir}/services/#{@service}/#{@device}/verifications/*.rb").sort.each do |file| + Dir.glob("#{$bucky_home_dir}/services/#{@service}/#{@device}/verifications/*.rb").each do |file| require file page_name = file.split('/')[-1].sub('.rb', '')