Skip to content

Commit

Permalink
StandardRB 1.7
Browse files Browse the repository at this point in the history
- Update Gemfile to request 1.x
- Update standard gem and dependencies
- Run standardrb --fix
  • Loading branch information
jaredmoody committed Feb 19, 2022
1 parent 00165dd commit 7353ad5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -66,7 +66,7 @@ gem "bcrypt", "~> 3.1.11"
gem "bootsnap", ">= 1.1.0", require: false

group :development, :test do
gem "standard", "~> 1.4.0"
gem "standard", "~> 1.7"
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[mri mingw x64_mingw]
# Security vulnerability scanner
Expand Down
24 changes: 12 additions & 12 deletions Gemfile.lock
Expand Up @@ -191,7 +191,7 @@ GEM
racc (~> 1.4)
pagy (5.6.6)
parallel (1.21.0)
parser (3.0.3.2)
parser (3.1.0.0)
ast (~> 2.4.1)
pg (1.1.4)
pg_search (2.3.5)
Expand Down Expand Up @@ -230,27 +230,27 @@ GEM
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.0.0)
rainbow (3.1.1)
rake (13.0.6)
redis (4.5.1)
regexp_parser (2.2.0)
regexp_parser (2.2.1)
reline (0.2.7)
io-console (~> 0.5)
request_store (1.5.0)
rack (>= 1.4)
rexml (3.2.5)
rubocop (1.22.3)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 3.0.0.0)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.12.0, < 2.0)
rubocop-ast (>= 1.15.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.15.0)
rubocop-ast (1.15.2)
parser (>= 3.0.1.1)
rubocop-performance (1.11.5)
rubocop-performance (1.13.2)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.11.0)
Expand All @@ -275,9 +275,9 @@ GEM
activesupport (>= 5.2)
sprockets (>= 3.0.0)
ssrf_filter (1.0.7)
standard (1.4.0)
rubocop (= 1.22.3)
rubocop-performance (= 1.11.5)
standard (1.7.2)
rubocop (= 1.25.1)
rubocop-performance (= 1.13.2)
stimulus-rails (1.0.2)
railties (>= 6.0.0)
strscan (3.0.1)
Expand Down Expand Up @@ -337,7 +337,7 @@ DEPENDENCIES
simplecov (~> 0.21.2)
simplecov-lcov (~> 0.8.0)
sprockets-rails (~> 3.4.2)
standard (~> 1.4.0)
standard (~> 1.7)
stimulus-rails (~> 1.0.2)
turbo-rails (~> 1.0.0)
tzinfo-data
Expand Down
4 changes: 1 addition & 3 deletions test/controllers/transcoded_stream_controller_test.rb
Expand Up @@ -21,9 +21,7 @@ class TranscodedStreamControllerTest < ActionDispatch::IntegrationTest
test "should get transcoded data" do
assert_login_access(url: new_transcoded_stream_url(song_id: songs(:flac_sample).id)) do
create_tmp_file(format: "mp3") do |tmp_file_path|
File.open(tmp_file_path, "w") do |file|
file.write response.body
end
File.write(tmp_file_path, response.body)

assert_equal 128, audio_bitrate(tmp_file_path)
end
Expand Down

0 comments on commit 7353ad5

Please sign in to comment.