diff --git a/Gemfile b/Gemfile index 3581bac1..80f4266b 100644 --- a/Gemfile +++ b/Gemfile @@ -49,7 +49,7 @@ end group :development do gem 'annotate', '~> 3.2' # Remove workaround in lib/tasks/annotate.rb when https://github.com/ctran/annotate_models/issues/696 is fixed - gem 'rubocop-factory_bot', '~> 2.25' + gem 'rubocop-factory_bot', '~> 2.26' gem 'rubocop-minitest', '~> 0.35.0' gem 'rubocop-rails', '~> 2.25' gem 'ruby-lsp', '~> 0.17.1' diff --git a/Gemfile.lock b/Gemfile.lock index ebe66981..a7b5bc92 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -172,7 +172,7 @@ GEM mini_portile2 (~> 2.8.2) racc (~> 1.4) parallel (1.24.0) - parser (3.3.1.0) + parser (3.3.2.0) ast (~> 2.4.1) racc pg (1.5.6) @@ -233,7 +233,7 @@ GEM io-console (~> 0.5) rexml (3.2.8) strscan (>= 3.0.9) - rubocop (1.63.5) + rubocop (1.64.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -246,7 +246,7 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.31.3) parser (>= 3.3.1.0) - rubocop-factory_bot (2.25.1) + rubocop-factory_bot (2.26.0) rubocop (~> 1.41) rubocop-minitest (0.35.0) rubocop (>= 1.61, < 2.0) @@ -307,7 +307,7 @@ DEPENDENCIES pundit (~> 2.3) rack-cors (~> 2.0) rails (~> 7.1) - rubocop-factory_bot (~> 2.25) + rubocop-factory_bot (~> 2.26) rubocop-minitest (~> 0.35.0) rubocop-rails (~> 2.25) ruby-lsp (~> 0.17.1) diff --git a/app/models/transcoded_item.rb b/app/models/transcoded_item.rb index 045d734c..81fd037c 100644 --- a/app/models/transcoded_item.rb +++ b/app/models/transcoded_item.rb @@ -22,7 +22,7 @@ class TranscodedItem < ApplicationRecord after_destroy :delete_file def initialize(params) - super(params) + super self.path = random_path end diff --git a/gemset.nix b/gemset.nix index 30885f2d..1f602b68 100644 --- a/gemset.nix +++ b/gemset.nix @@ -661,10 +661,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0i0255l4pw6c1bc0ny98wx5qck25irinq062ijg4002mj8mydwvq"; + sha256 = "0jc26x8xidip0jlrbjqgdp4xgk2hhyqbv2i9w66gmdrxvvsnyp88"; type = "gem"; }; - version = "3.3.1.0"; + version = "3.3.2.0"; }; pg = { groups = ["default"]; @@ -906,10 +906,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zkdxkhvhmxap5w2rncpmrq40dw0pbz81sa1ivsr7kh0p8j0a9x3"; + sha256 = "0fqzc4pr1cbdycfx16gbkkfhxzz5a7kn04043h5407kpcccbyi9i"; type = "gem"; }; - version = "1.63.5"; + version = "1.64.1"; }; rubocop-ast = { dependencies = ["parser"]; @@ -928,10 +928,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0d012phc7z5h1j1d2aisnbkmqlb95sld5jriia5qg2gpgbg1nxb2"; + sha256 = "0zx3a423xlh9a4zr74jc12iwjcljws8nv51kda87r1lnsa6kln8p"; type = "gem"; }; - version = "2.25.1"; + version = "2.26.0"; }; rubocop-minitest = { dependencies = ["rubocop" "rubocop-ast"];