Skip to content

Commit

Permalink
Coding style: fix Style/LineEndConcatenation offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Oct 22, 2024
1 parent abc6839 commit 7b9a75f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions lib/appraisal/appraisal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def bundle_options(options)
if Utils.support_parallel_installation?
options_strings << "--jobs=#{jobs}"
else
warn "Your current version of Bundler does not support parallel installation. Please " +
"upgrade Bundler to version >= 1.4.0, or invoke `appraisal` without `--jobs` option."
warn "Your current version of Bundler does not support parallel installation. Please " \
"upgrade Bundler to version >= 1.4.0, or invoke `appraisal` without `--jobs` option."
end
end

Expand Down
6 changes: 3 additions & 3 deletions lib/appraisal/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def strip_heredoc(string)
method_option "retry", type: :numeric, default: 1,
desc: "Retry network and git requests that have failed"
method_option "without", banner: "GROUP_NAMES",
desc: "A space-separated list of groups referencing gems to skip " +
"during installation. Bundler will remember this option."
desc: "A space-separated list of groups referencing gems to skip " \
"during installation. Bundler will remember this option."
method_option "full-index", type: :boolean,
desc: "Run bundle install with the " \
"full-index argument."
"full-index argument."
method_option "path", type: :string,
desc: "Install gems in the specified directory. " \
"Bundler will remember this option."
Expand Down
4 changes: 2 additions & 2 deletions lib/appraisal/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def to_s
if @options.empty?
"git #{Utils.prefix_path(@source).inspect} do\n#{indent(super)}\nend"
else
"git #{Utils.prefix_path(@source).inspect}, #{Utils.format_string(@options)} do\n" +
"git #{Utils.prefix_path(@source).inspect}, #{Utils.format_string(@options)} do\n" \
"#{indent(super)}\nend"
end
end
Expand All @@ -25,7 +25,7 @@ def for_dup
if @options.empty?
"git #{@source.inspect} do\n#{indent(super)}\nend"
else
"git #{@source.inspect}, #{Utils.format_string(@options)} do\n" +
"git #{@source.inspect}, #{Utils.format_string(@options)} do\n" \
"#{indent(super)}\nend"
end
end
Expand Down
4 changes: 2 additions & 2 deletions lib/appraisal/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def to_s
if @options.empty?
"path #{Utils.prefix_path(@source).inspect} do\n#{indent(super)}\nend"
else
"path #{Utils.prefix_path(@source).inspect}, #{Utils.format_string(@options)} do\n" +
"path #{Utils.prefix_path(@source).inspect}, #{Utils.format_string(@options)} do\n" \
"#{indent(super)}\nend"
end
end
Expand All @@ -25,7 +25,7 @@ def for_dup
if @options.empty?
"path #{@source.inspect} do\n#{indent(super)}\nend"
else
"path #{@source.inspect}, #{Utils.format_string(@options)} do\n" +
"path #{@source.inspect}, #{Utils.format_string(@options)} do\n" \
"#{indent(super)}\nend"
end
end
Expand Down
16 changes: 8 additions & 8 deletions lib/appraisal/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ def initialize
namespace :appraisal do
desc "DEPRECATED: Generate a Gemfile for each appraisal"
task :gemfiles do
warn "`rake appraisal:gemfile` task is deprecated and will be removed soon. " +
"Please use `appraisal generate`."
warn "`rake appraisal:gemfile` task is deprecated and will be removed soon. " \
"Please use `appraisal generate`."
exec "bundle exec appraisal generate"
end

desc "DEPRECATED: Resolve and install dependencies for each appraisal"
task :install do
warn "`rake appraisal:install` task is deprecated and will be removed soon. " +
"Please use `appraisal install`."
warn "`rake appraisal:install` task is deprecated and will be removed soon. " \
"Please use `appraisal install`."
exec "bundle exec appraisal install"
end

desc "DEPRECATED: Remove all generated gemfiles from gemfiles/ folder"
task :cleanup do
warn "`rake appraisal:cleanup` task is deprecated and will be removed soon. " +
"Please use `appraisal clean`."
warn "`rake appraisal:cleanup` task is deprecated and will be removed soon. " \
"Please use `appraisal clean`."
exec "bundle exec appraisal clean"
end

Expand All @@ -35,8 +35,8 @@ def initialize
desc "DEPRECATED: Run the given task for appraisal #{appraisal.name}"
task appraisal.name do
ARGV.shift
warn "`rake appraisal:#{appraisal.name}` task is deprecated and will be removed soon. " +
"Please use `appraisal #{appraisal.name} rake #{ARGV.join(' ')}`."
warn "`rake appraisal:#{appraisal.name}` task is deprecated and will be removed soon. " \
"Please use `appraisal #{appraisal.name} rake #{ARGV.join(' ')}`."
exec "bundle exec appraisal #{appraisal.name} rake #{ARGV.join(' ')}"
end
end
Expand Down

0 comments on commit 7b9a75f

Please sign in to comment.