Skip to content

Commit

Permalink
Bump rubocop-minitest from 0.14.0 to 0.15.0 (#238)
Browse files Browse the repository at this point in the history
Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: rubocop-minitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 14, 2021
1 parent 1738665 commit 77c31dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end

group :development do
gem 'annotate', '~> 3.1' # Remove workaround in lib/tasks/annotate.rb when https://github.com/ctran/annotate_models/issues/696 is fixed
gem 'rubocop-minitest', '~> 0.14.0'
gem 'rubocop-minitest', '~> 0.15.0'
gem 'rubocop-rails', '~> 2.11'

gem 'listen', '>= 3.1.5', '< 3.7'
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,18 @@ GEM
ffi (~> 1.0)
regexp_parser (2.1.1)
rexml (3.2.5)
rubocop (1.18.3)
rubocop (1.19.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.7.0, < 2.0)
rubocop-ast (>= 1.9.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.8.0)
rubocop-ast (1.10.0)
parser (>= 3.0.1.1)
rubocop-minitest (0.14.0)
rubocop-minitest (0.15.0)
rubocop (>= 0.90, < 2.0)
rubocop-rails (2.11.3)
activesupport (>= 4.2.0)
Expand Down Expand Up @@ -246,7 +246,7 @@ DEPENDENCIES
pundit (~> 2.1)
rack-cors (~> 1.1)
rails (~> 6.1)
rubocop-minitest (~> 0.14.0)
rubocop-minitest (~> 0.15.0)
rubocop-rails (~> 2.11)
simplecov (~> 0.21)
spring (~> 2.1)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/tracks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def audio_with_stream(stream, mimetype, total_size)
# (especially not for web audio).
match = request.headers['range'].match(/bytes=(\d+)-(\d*)/)
first_byte = match[1].to_i
last_byte = match[2].present? ? match[2].to_i : last_byte
last_byte = match[2].to_i if match[2].present?
response.headers['content-range'] = "bytes #{first_byte}-#{last_byte}/#{total_size}"
else
response.status = 200
Expand Down

0 comments on commit 77c31dc

Please sign in to comment.