```ruby
# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "tar/version"

Gem::Specification.new do |spec|
  spec.name    = "tar"
  spec.version = Tar::VERSION
  spec.authors = ["Andrew Haines"]
  spec.email   = ["andrew@haines.org.nz"]

  spec.summary  = "Read and write TAR files"
  spec.homepage = "https://github.com/haines/tar"
  spec.license  = "MIT"

  spec.required_ruby_version = ">= 2.4.0"

  spec.files         = `git ls-files -z`.split("\0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^#{spec.bindir}/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "minitest", "~> 5.13"
  spec.add_development_dependency "pry", "~> 0.12"
  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "rubocop", "~> 0.76.0"
  spec.add_development_dependency "simplecov", "~> 0.17"
end
```

Update rubocop requirement from ~> 0.76.0 to ~> 0.77.0
user
```ruby
# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "tar/version"

Gem::Specification.new do |spec|
  spec.name    = "tar"
  spec.version = Tar::VERSION
  spec.authors = ["Andrew Haines"]
  spec.email   = ["andrew@haines.org.nz"]

  spec.summary  = "Read and write TAR files"
  spec.homepage = "https://github.com/haines/tar"
  spec.license  = "MIT"

  spec.required_ruby_version = ">= 2.4.0"

  spec.files         = `git ls-files -z`.split("\0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^#{spec.bindir}/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "minitest", "~> 5.13"
  spec.add_development_dependency "pry", "~> 0.12"
  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "rubocop", "~> 0.77.0"
  spec.add_development_dependency "simplecov", "~> 0.17"
end
```
assistant