Bump rubocop-cask version.

This commit is contained in:
Markus Reiter 2017-07-05 20:51:51 +02:00
parent b552908490
commit 65b9e06082
2 changed files with 8 additions and 10 deletions

View File

@ -1,3 +1,3 @@
# RuboCop version used for `brew style` and `brew cask style`
HOMEBREW_RUBOCOP_VERSION = "0.49.1".freeze
HOMEBREW_RUBOCOP_CASK_VERSION = "~> 0.13.0".freeze # has to be updated when RuboCop version changes
HOMEBREW_RUBOCOP_CASK_VERSION = "~> 0.13.1".freeze # has to be updated when RuboCop version changes

View File

@ -57,8 +57,7 @@ describe Hbc::CLI::Style, :cask do
end
end
context "version" do
it "matches `HOMEBREW_RUBOCOP_VERSION`", :needs_network do
specify "`rubocop-cask` supports `HOMEBREW_RUBOCOP_VERSION`", :needs_network do
stdout, status = Open3.capture2("gem", "dependency", "rubocop-cask", "--version", HOMEBREW_RUBOCOP_CASK_VERSION, "--pipe", "--remote")
expect(status).to be_a_success
@ -70,7 +69,6 @@ describe Hbc::CLI::Style, :cask do
expect(requirement).to be_satisfied_by(version)
end
end
end
describe "#cask_paths" do
subject { cli.cask_paths }