diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 01:01:51 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 01:12:35 +0100 |
commit | 94ef51d6e36faa742d465444b30c382b9de97ad9 (patch) | |
tree | 5fd13b25150c581d4f385dab492d216c9eba48b2 /lib | |
parent | cc0ecea9dd64fa06d318e79d20ab985945b11648 (diff) | |
download | bundler-94ef51d6e36faa742d465444b30c382b9de97ad9.tar.gz |
Auto-correct `Style/TrailingCommaInHashLiteral` offensesglobally_enable_some_layout_cops
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/cli/gem.rb | 6 | ||||
-rw-r--r-- | lib/bundler/fetcher.rb | 2 | ||||
-rw-r--r-- | lib/bundler/graph.rb | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb index 58e2f8a3fd..3db1ec7843 100644 --- a/lib/bundler/cli/gem.rb +++ b/lib/bundler/cli/gem.rb @@ -11,7 +11,7 @@ module Bundler class CLI::Gem TEST_FRAMEWORK_VERSIONS = { "rspec" => "3.0", - "minitest" => "5.0" + "minitest" => "5.0", }.freeze attr_reader :options, :gem_name, :thor, :name, :target @@ -57,7 +57,7 @@ module Bundler :ext => options[:ext], :exe => options[:exe], :bundler_version => bundler_dependency_version, - :github_username => github_username.empty? ? "[USERNAME]" : github_username + :github_username => github_username.empty? ? "[USERNAME]" : github_username, } ensure_safe_gem_name(name, constant_array) @@ -69,7 +69,7 @@ module Bundler "Rakefile.tt" => "Rakefile", "README.md.tt" => "README.md", "bin/console.tt" => "bin/console", - "bin/setup.tt" => "bin/setup" + "bin/setup.tt" => "bin/setup", } executables = %w[ diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index 7ab71d99a8..7df42adc34 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -226,7 +226,7 @@ module Bundler "GO_SERVER_URL" => "go", "SNAP_CI" => "snap", "CI_NAME" => ENV["CI_NAME"], - "CI" => "ci" + "CI" => "ci", } env_cis.find_all {|env, _| ENV[env] }.map {|_, ci| ci } end diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb index de6bba0214..648754df29 100644 --- a/lib/bundler/graph.rb +++ b/lib/bundler/graph.rb @@ -117,7 +117,7 @@ module Bundler :style => "filled", :fillcolor => "#B9B9D5", :shape => "box3d", - :fontsize => 16 + :fontsize => 16, }.merge(@node_options[group]) ) end |