diff --git a/.rubocop.yml b/.rubocop.yml index 9eb60a1..90d2df5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ inherit_gem: { rubocop-rails-omakase: rubocop.yml } Style/StringLiterals: EnforcedStyle: double_quotes -Style/SpaceInsideArrayLiteralBrackets: +Layout/SpaceInsideArrayLiteralBrackets: EnforcedStyle: space Layout/TrailingWhitespace: diff --git a/Gemfile.lock b/Gemfile.lock index e4c21ec..c0fcaca 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -85,7 +85,7 @@ GEM bindex (0.8.1) bootsnap (1.18.4) msgpack (~> 1.2) - brakeman (7.0.2) + brakeman (7.1.0) racc builder (3.3.0) capybara (3.40.0) diff --git a/app/services/data_lab/currency_rates_service.rb b/app/services/data_lab/currency_rates_service.rb index 2a3e85f..9765b75 100644 --- a/app/services/data_lab/currency_rates_service.rb +++ b/app/services/data_lab/currency_rates_service.rb @@ -4,7 +4,7 @@ class CurrencyRatesService DEFAULT_RATES = { flex: 0.00743, bft: 3.0, - sm: 0.028, # Taux par défaut pour les Sponsor Marks + sm: 0.028 # Taux par défaut pour les Sponsor Marks }.freeze FLEX_PACKS = [ diff --git a/spec/factories/matches.rb b/spec/factories/matches.rb index 4e80a37..f38a03b 100644 --- a/spec/factories/matches.rb +++ b/spec/factories/matches.rb @@ -8,7 +8,6 @@ feeCost { 10.0 } slots { 1 } luckrate { 1.0 } - time { 600 } energyUsed { 50 } energyCost { 5.0 } totalToken { 1000 }