Skip to content

Commit

Permalink
Merge pull request #2988 from amatsuda/fix_benchmark
Browse files Browse the repository at this point in the history
Fix benchmark:all_methods task by excluding Faker::Deprecator module from benchmark target
  • Loading branch information
koic authored Aug 11, 2024
2 parents 97cfd1a + 3b2d4db commit 9dfc3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/benchmark.rake
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BenchmarkHelper

def subclasses
Faker.constants.delete_if do |subclass|
%i[Base Bank Books Cat Char Base58 ChileRut CLI Config Creature Date Dog DragonBall Dota ElderScrolls Fallout Games GamesHalfLife HeroesOfTheStorm Internet JapaneseMedia LeagueOfLegends Movies Myst Overwatch OnePiece Pokemon Religion Sports SwordArtOnline TvShows Time VERSION Witcher WorldOfWarcraft Zelda].include?(subclass)
%i[Base Bank Books Cat Char Base58 ChileRut CLI Config Creature Date Deprecator Dog DragonBall Dota ElderScrolls Fallout Games GamesHalfLife HeroesOfTheStorm Internet JapaneseMedia LeagueOfLegends Movies Myst Overwatch OnePiece Pokemon Religion Sports SwordArtOnline TvShows Time VERSION Witcher WorldOfWarcraft Zelda].include?(subclass)
end.sort
end

Expand Down

0 comments on commit 9dfc3a3

Please sign in to comment.