diff options
author | David RodrÃguez <[email protected]> | 2021-04-21 13:54:29 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-05-11 11:29:41 +0900 |
commit | 5b0abba9317f206913cf2e599d0dac7e9dbd0baa (patch) | |
tree | 81e092eaf8b048df4d64eebe8b1c51626f751e9b /lib/bundler/plugin.rb | |
parent | 15160e9b4feba5d531601a4f626b3132d4749629 (diff) |
Sync bundler & rubygems
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4367
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r-- | lib/bundler/plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb index dddb468582..023c25b33e 100644 --- a/lib/bundler/plugin.rb +++ b/lib/bundler/plugin.rb @@ -164,7 +164,7 @@ module Bundler end # To be called from Cli class to pass the command and argument to - # approriate plugin class + # appropriate plugin class def exec_command(command, args) raise UndefinedCommandError, "Command `#{command}` not found" unless command? command @@ -183,7 +183,7 @@ module Bundler !index.source_plugin(name.to_s).nil? end - # @return [Class] that handles the source. The calss includes API::Source + # @return [Class] that handles the source. The class includes API::Source def source(name) raise UnknownSourceError, "Source #{name} not found" unless source? name |