aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--lib/bundler/cli/gem.rb8
-rw-r--r--spec/bundler/commands/newgem_spec.rb18
3 files changed, 14 insertions, 14 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index e342aa6edb..405f9e1ac2 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -575,7 +575,7 @@ module Bundler
method_option :rubocop, :type => :boolean, :desc => "Add rubocop to the generated Rakefile and gemspec. Set a default with `bundle config set gem.rubocop true`."
method_option :test, :type => :string, :lazy_default => Bundler.settings["gem.test"] || "", :aliases => "-t", :banner => "Use the specified test framework for your library",
:desc => "Generate a test directory for your library, either rspec, minitest or test-unit. Set a default with `bundle config set gem.test rspec`."
- method_option :ci, :type => :string, :desc => "Generate CI configuration, either Github Actions, Travis CI, Gitlab CI or Circle CI. Set a default with `bundle config set gem.ci (github|travis|gitlab|circle)`"
+ method_option :ci, :type => :string, :desc => "Generate CI configuration, either GitHub Actions, Travis CI, GitLab CI or CircleCI. Set a default with `bundle config set gem.ci (github|travis|gitlab|circle)`"
def gem(name)
end
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb
index 65a37dbb47..1303a883f6 100644
--- a/lib/bundler/cli/gem.rb
+++ b/lib/bundler/cli/gem.rb
@@ -263,10 +263,10 @@ module Bundler
if ci_template.nil?
Bundler.ui.confirm "Do you want to set up automated testing for your gem? " \
"Continuous integration services make it easy to see if pull requests have passing tests " \
- "before you merge them. Bundler supports these services:"\
- "* Circle CI: https://circleci.com/\n" \
- "* Github Actions: https://github.com/features/actions\n" \
- "* Gitlab CI: https://docs.gitlab.com/ee/ci/\n" \
+ "before you merge them. Bundler supports these services:" \
+ "* CircleCI: https://circleci.com/\n" \
+ "* GitHub Actions: https://github.com/features/actions\n" \
+ "* GitLab CI: https://docs.gitlab.com/ee/ci/\n" \
"* Travis CI: https://travis-ci.org/\n" \
"\n"
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb
index cd6f308810..bf737c8f34 100644
--- a/spec/bundler/commands/newgem_spec.rb
+++ b/spec/bundler/commands/newgem_spec.rb
@@ -663,7 +663,7 @@ RSpec.describe "bundle gem" do
end
context "--ci set to github" do
- it "generates a Github Actions config file" do
+ it "generates a GitHub Actions config file" do
bundle "gem #{gem_name} --ci=github"
expect(bundled_app("#{gem_name}/.github/workflows/main.yml")).to exist
@@ -671,7 +671,7 @@ RSpec.describe "bundle gem" do
end
context "--ci set to gitlab" do
- it "generates a Gitlab Ci config file" do
+ it "generates a GitLab CI config file" do
bundle "gem #{gem_name} --ci=gitlab"
expect(bundled_app("#{gem_name}/.gitlab-ci.yml")).to exist
@@ -679,7 +679,7 @@ RSpec.describe "bundle gem" do
end
context "--ci set to circle" do
- it "generates a Circle Ci config file" do
+ it "generates a CircleCI config file" do
bundle "gem #{gem_name} --ci=circle"
expect(bundled_app("#{gem_name}/.circleci/config.yml")).to exist
@@ -687,7 +687,7 @@ RSpec.describe "bundle gem" do
end
context "--ci set to travis" do
- it "generates a Travis Ci config file" do
+ it "generates a Travis CI config file" do
bundle "gem #{gem_name} --ci=travis"
expect(bundled_app("#{gem_name}/.travis.yml")).to exist
@@ -695,7 +695,7 @@ RSpec.describe "bundle gem" do
end
context "gem.ci setting set to none" do
- it "doesnt generate any CI config" do
+ it "doesn't generate any CI config" do
expect(bundled_app("#{gem_name}/.github/workflows/main.yml")).to_not exist
expect(bundled_app("#{gem_name}/.travis.yml")).to_not exist
expect(bundled_app("#{gem_name}/.gitlab-ci.yml")).to_not exist
@@ -704,7 +704,7 @@ RSpec.describe "bundle gem" do
end
context "gem.ci setting set to github" do
- it "generates a Github Actions config file" do
+ it "generates a GitHub Actions config file" do
bundle "config set gem.ci github"
bundle "gem #{gem_name}"
@@ -713,7 +713,7 @@ RSpec.describe "bundle gem" do
end
context "gem.ci setting set to travis" do
- it "generates a Travis config file" do
+ it "generates a Travis CI config file" do
bundle "config set gem.ci travis"
bundle "gem #{gem_name}"
@@ -722,7 +722,7 @@ RSpec.describe "bundle gem" do
end
context "gem.ci setting set to gitlab" do
- it "generates a Gitlab config file" do
+ it "generates a GitLab CI config file" do
bundle "config set gem.ci gitlab"
bundle "gem #{gem_name}"
@@ -730,7 +730,7 @@ RSpec.describe "bundle gem" do
end
end
- context "gem.ci setting set to circleci" do
+ context "gem.ci setting set to circle" do
it "generates a CircleCI config file" do
bundle "config set gem.ci circle"
bundle "gem #{gem_name}"