diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-16 12:29:57 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | f9de8ccf1e26c9774cd1ebdb587b8edbb08b4d7b (patch) | |
tree | 2e56c2457c38791efb8994fb641aa69e62bdab6d /lib/bundler/cli/gem.rb | |
parent | 30f9fbdce87825877e41b4fbdb5d7b695f3297aa (diff) |
Rename hidden templates
Because they don't play nice with ruby-core's gitignore and cause issues
with ruby-core integration.
Also, because it's consistent with other templates such as `gitignore.tt`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'lib/bundler/cli/gem.rb')
-rw-r--r-- | lib/bundler/cli/gem.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb index 17a50ba697..5b0f5b3564 100644 --- a/lib/bundler/cli/gem.rb +++ b/lib/bundler/cli/gem.rb @@ -110,13 +110,13 @@ module Bundler config[:ci] = ask_and_set_ci case config[:ci] when "github" - templates.merge!(".github/workflows/main.yml.tt" => ".github/workflows/main.yml") + templates.merge!("github/workflows/main.yml.tt" => ".github/workflows/main.yml") when "travis" - templates.merge!(".travis.yml.tt" => ".travis.yml") + templates.merge!("travis.yml.tt" => ".travis.yml") when "gitlab" - templates.merge!(".gitlab-ci.yml.tt" => ".gitlab-ci.yml") + templates.merge!("gitlab-ci.yml.tt" => ".gitlab-ci.yml") when "circle" - templates.merge!(".circleci/config.yml.tt" => ".circleci/config.yml") + templates.merge!("circleci/config.yml.tt" => ".circleci/config.yml") end if ask_and_set(:mit, "Do you want to license your code permissively under the MIT license?", |