From 9514d1f8f522057a336eb1c3c5a48fb4206ebd84 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 7 Sep 2016 20:08:51 +0100 Subject: [PATCH] commands: developer not development commands. --- Library/Homebrew/cmd/commands.rb | 8 ++++---- Library/Homebrew/test/test_commands.rb | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb index bb1e6fe4d0..b8407d6689 100644 --- a/Library/Homebrew/cmd/commands.rb +++ b/Library/Homebrew/cmd/commands.rb @@ -8,7 +8,7 @@ module Homebrew def commands if ARGV.include? "--quiet" cmds = internal_commands + external_commands - cmds += internal_development_commands + cmds += internal_developer_commands cmds += HOMEBREW_INTERNAL_COMMAND_ALIASES.keys if ARGV.include? "--include-aliases" puts_columns cmds.sort else @@ -19,8 +19,8 @@ module Homebrew # Find commands in Homebrew/dev-cmd if ARGV.homebrew_developer? puts - puts "Built-in development commands" - puts_columns internal_development_commands + puts "Built-in developer commands" + puts_columns internal_developer_commands end # Find commands in the path @@ -36,7 +36,7 @@ module Homebrew find_internal_commands HOMEBREW_LIBRARY_PATH/"cmd" end - def internal_development_commands + def internal_developer_commands find_internal_commands HOMEBREW_LIBRARY_PATH/"dev-cmd" end diff --git a/Library/Homebrew/test/test_commands.rb b/Library/Homebrew/test/test_commands.rb index 4a24107a96..88e35f416f 100644 --- a/Library/Homebrew/test/test_commands.rb +++ b/Library/Homebrew/test/test_commands.rb @@ -29,8 +29,8 @@ class CommandsTests < Homebrew::TestCase refute cmds.include?("rbdevcmd"), "Dev commands shouldn't be included" end - def test_internal_development_commands - cmds = Homebrew.internal_development_commands + def test_internal_developer_commands + cmds = Homebrew.internal_developer_commands assert cmds.include?("rbdevcmd"), "Ruby commands files should be recognized" assert cmds.include?("shdevcmd"), "Shell commands files should be recognized" refute cmds.include?("rbcmd"), "Non-dev commands shouldn't be included"