aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/spec/support
diff options
context:
space:
mode:
authorAlyssa Ross2017-02-12 15:06:54 +0000
committerAlyssa Ross2017-02-12 15:11:38 +0000
commit9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (patch)
tree78353f4e7cfe59f5da266a951939c868db11c170 /Library/Homebrew/cask/spec/support
parent76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff)
downloadbrew-9e97eadccbd99df1c6ffe489ab316d7ebde7fe86.tar.bz2
rubocop: trailing comma in multiline method calls
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
Diffstat (limited to 'Library/Homebrew/cask/spec/support')
-rw-r--r--Library/Homebrew/cask/spec/support/shared_examples/staged.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/cask/spec/support/shared_examples/staged.rb b/Library/Homebrew/cask/spec/support/shared_examples/staged.rb
index f791696ac..d815ef7a0 100644
--- a/Library/Homebrew/cask/spec/support/shared_examples/staged.rb
+++ b/Library/Homebrew/cask/spec/support/shared_examples/staged.rb
@@ -19,7 +19,7 @@ shared_examples Hbc::Staged do
it "can run system commands with list-form arguments" do
Hbc::FakeSystemCommand.expects_command(
- ["echo", "homebrew-cask", "rocks!"]
+ ["echo", "homebrew-cask", "rocks!"],
)
shutup do
@@ -35,7 +35,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:bundle_identifier).and_return("com.example.BasicCask")
Hbc::FakeSystemCommand.expects_command(
- ["/usr/libexec/PlistBuddy", "-c", "Print CFBundleIdentifier", staged.info_plist_file]
+ ["/usr/libexec/PlistBuddy", "-c", "Print CFBundleIdentifier", staged.info_plist_file],
)
shutup do
@@ -47,7 +47,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:bundle_identifier).and_return("com.example.BasicCask")
Hbc::FakeSystemCommand.expects_command(
- ["/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", staged.info_plist_file]
+ ["/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", staged.info_plist_file],
)
shutup do
@@ -60,7 +60,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:Pathname).and_return(fake_pathname)
Hbc::FakeSystemCommand.expects_command(
- ["/bin/chmod", "-R", "--", "777", fake_pathname]
+ ["/bin/chmod", "-R", "--", "777", fake_pathname],
)
shutup do
@@ -73,7 +73,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:Pathname).and_return(fake_pathname)
Hbc::FakeSystemCommand.expects_command(
- ["/bin/chmod", "-R", "--", "777", fake_pathname, fake_pathname]
+ ["/bin/chmod", "-R", "--", "777", fake_pathname, fake_pathname],
)
shutup do
@@ -94,7 +94,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:Pathname).and_return(fake_pathname)
Hbc::FakeSystemCommand.expects_command(
- ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "fake_user:staff", fake_pathname]
+ ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "fake_user:staff", fake_pathname],
)
shutup do
@@ -109,7 +109,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:Pathname).and_return(fake_pathname)
Hbc::FakeSystemCommand.expects_command(
- ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "fake_user:staff", fake_pathname, fake_pathname]
+ ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "fake_user:staff", fake_pathname, fake_pathname],
)
shutup do
@@ -123,7 +123,7 @@ shared_examples Hbc::Staged do
allow(staged).to receive(:Pathname).and_return(fake_pathname)
Hbc::FakeSystemCommand.expects_command(
- ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "other_user:other_group", fake_pathname]
+ ["/usr/bin/sudo", "-E", "--", "/usr/sbin/chown", "-R", "--", "other_user:other_group", fake_pathname],
)
shutup do