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 | |
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')
-rw-r--r-- | lib/bundler/cli/gem.rb | 8 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/circleci/config.yml.tt (renamed from lib/bundler/templates/newgem/.circleci/config.yml.tt) | 0 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/github/workflows/main.yml.tt (renamed from lib/bundler/templates/newgem/.github/workflows/main.yml.tt) | 0 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/gitlab-ci.yml.tt (renamed from lib/bundler/templates/newgem/.gitlab-ci.yml.tt) | 0 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/travis.yml.tt (renamed from lib/bundler/templates/newgem/.travis.yml.tt) | 0 |
5 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?", diff --git a/lib/bundler/templates/newgem/.circleci/config.yml.tt b/lib/bundler/templates/newgem/circleci/config.yml.tt index 79fd0dcc0f..79fd0dcc0f 100644 --- a/lib/bundler/templates/newgem/.circleci/config.yml.tt +++ b/lib/bundler/templates/newgem/circleci/config.yml.tt diff --git a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt b/lib/bundler/templates/newgem/github/workflows/main.yml.tt index 807c8dd79a..807c8dd79a 100644 --- a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt +++ b/lib/bundler/templates/newgem/github/workflows/main.yml.tt diff --git a/lib/bundler/templates/newgem/.gitlab-ci.yml.tt b/lib/bundler/templates/newgem/gitlab-ci.yml.tt index 0e71ff26a4..0e71ff26a4 100644 --- a/lib/bundler/templates/newgem/.gitlab-ci.yml.tt +++ b/lib/bundler/templates/newgem/gitlab-ci.yml.tt diff --git a/lib/bundler/templates/newgem/.travis.yml.tt b/lib/bundler/templates/newgem/travis.yml.tt index eab16addca..eab16addca 100644 --- a/lib/bundler/templates/newgem/.travis.yml.tt +++ b/lib/bundler/templates/newgem/travis.yml.tt |