diff options
author | Victor Koronen <koronen@kth.se> | 2015-08-08 17:23:03 +0200 |
---|---|---|
committer | Victor Koronen <koronen@kth.se> | 2015-08-14 12:29:45 +0200 |
commit | 71a6385524777c7a52d06c91a5fcf8175050c4bd (patch) | |
tree | a0a476c38a89367b6e555778fac20522c80f2e38 | |
parent | 1b05a7f3623a2201326e7b4e4a40d877af67219b (diff) | |
download | bundler-71a6385524777c7a52d06c91a5fcf8175050c4bd.tar.gz |
Fix Style/ColonMethodCall
-rw-r--r-- | .rubocop_todo.yml | 5 | ||||
-rw-r--r-- | spec/install/binstubs_spec.rb | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 612f9a4a9d..f66af5e8c7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -112,11 +112,6 @@ Style/ClassCheck: Style/ClosingParenthesisIndentation: Enabled: false -# Offense count: 1 -# Cop supports --auto-correct. -Style/ColonMethodCall: - Enabled: false - # Offense count: 153 Style/Documentation: Enabled: false diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb index 6442ad74cb..1b34e62567 100644 --- a/spec/install/binstubs_spec.rb +++ b/spec/install/binstubs_spec.rb @@ -5,7 +5,7 @@ describe "bundle install" do # On OS X, Gem.bindir defaults to /usr/bin, so system_bindir is useful if # you want to avoid sudo installs for system gems with OS X's default ruby it "overrides Gem.bindir" do - expect(Pathname.new("/usr/bin")).not_to be_writable unless Process::euid == 0 + expect(Pathname.new("/usr/bin")).not_to be_writable unless Process.euid == 0 gemfile <<-G require 'rubygems' def Gem.bindir; "/usr/bin"; end |