summaryrefslogtreecommitdiff
path: root/spec/commands
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-05-08 01:42:19 +0000
committerThe Bundler Bot <bot@bundler.io>2017-05-08 01:42:19 +0000
commitb6f5408e58b6ec6c24e004053ead6875d7a3f028 (patch)
tree32171b2b5290337b61bf8754e2d0c8c943da9866 /spec/commands
parentd085451947d41a0a3cdde3fd28723e11b842db7c (diff)
parent7c3d103932fe2b4c35a32b823722c3418130e7f1 (diff)
downloadbundler-b6f5408e58b6ec6c24e004053ead6875d7a3f028.tar.gz
Auto merge of #5639 - koic:unify_notation_of_rubygems, r=segiddins
Unify the notation of RubyGems This PR is mainly replacing Rubygems with RubyGems. `Rubygems` is a Ruby module name (e.g. `Bundler::Source::Rubygems`) , whereas RubyGems is the proper notation as below. https://github.com/rubygems/rubygems/blob/master/README.md In this PR, it changed the notation mainly used in console output and documentation (and some source code comments) .
Diffstat (limited to 'spec/commands')
-rw-r--r--spec/commands/binstubs_spec.rb2
-rw-r--r--spec/commands/help_spec.rb2
-rw-r--r--spec/commands/pristine_spec.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index cb0999348e..9791ba2c3d 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -59,7 +59,7 @@ RSpec.describe "bundle binstubs <gem>" do
bundle "binstubs bundler"
expect(bundled_app("bin/bundle")).not_to exist
- expect(out).to include("Sorry, Bundler can only be run via Rubygems.")
+ expect(out).to include("Sorry, Bundler can only be run via RubyGems.")
end
it "installs binstubs from git gems" do
diff --git a/spec/commands/help_spec.rb b/spec/commands/help_spec.rb
index 790d26fda4..1ad8b0d361 100644
--- a/spec/commands/help_spec.rb
+++ b/spec/commands/help_spec.rb
@@ -2,7 +2,7 @@
require "spec_helper"
RSpec.describe "bundle help" do
- # Rubygems 1.4+ no longer load gem plugins so this test is no longer needed
+ # RubyGems 1.4+ no longer load gem plugins so this test is no longer needed
it "complains if older versions of bundler are installed", :rubygems => "< 1.4" do
system_gems "bundler-0.8.1"
diff --git a/spec/commands/pristine_spec.rb b/spec/commands/pristine_spec.rb
index a6f991bb4a..b475398c8c 100644
--- a/spec/commands/pristine_spec.rb
+++ b/spec/commands/pristine_spec.rb
@@ -26,7 +26,7 @@ RSpec.describe "bundle pristine" do
G
end
- context "when sourced from Rubygems" do
+ context "when sourced from RubyGems" do
it "reverts using cached .gem file" do
spec = Bundler.definition.specs["weakling"].first
changes_txt = Pathname.new(spec.full_gem_path).join("lib/changes.txt")