Skip to content

Commit

Permalink
Fix unintended double spaces in DSL documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jun 30, 2022
1 parent a667bd7 commit b182687
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
56 changes: 28 additions & 28 deletions bundler/lib/bundler/man/gemfile.5
Expand Up @@ -100,7 +100,7 @@ Each application \fImay\fR specify a Ruby engine version\. If an engine version
.
.nf

ruby "1\.8\.7", engine: "jruby", engine_version: "1\.6\.7"
ruby "1\.8\.7", engine: "jruby", engine_version: "1\.6\.7"
.
.fi
.
Expand All @@ -113,7 +113,7 @@ Each application \fImay\fR specify a Ruby patchlevel\.
.
.nf

ruby "2\.0\.0", patchlevel: "247"
ruby "2\.0\.0", patchlevel: "247"
.
.fi
.
Expand Down Expand Up @@ -156,9 +156,9 @@ Each \fIgem\fR \fBMAY\fR specify files that should be used when autorequiring vi
.
.nf

gem "redis", require: ["redis/connection/hiredis", "redis"]
gem "webmock", require: false
gem "byebug", require: true
gem "redis", require: ["redis/connection/hiredis", "redis"]
gem "webmock", require: false
gem "byebug", require: true
.
.fi
.
Expand All @@ -172,8 +172,8 @@ The argument defaults to the name of the gem\. For example, these are identical:
.nf

gem "nokogiri"
gem "nokogiri", require: "nokogiri"
gem "nokogiri", require: true
gem "nokogiri", require: "nokogiri"
gem "nokogiri", require: true
.
.fi
.
Expand All @@ -186,8 +186,8 @@ Each \fIgem\fR \fBMAY\fR specify membership in one or more groups\. Any \fIgem\f
.
.nf

gem "rspec", group: :test
gem "wirble", groups: [:development, :test]
gem "rspec", group: :test
gem "wirble", groups: [:development, :test]
.
.fi
.
Expand Down Expand Up @@ -320,9 +320,9 @@ As with groups, you can specify one or more platforms:
.
.nf

gem "weakling", platforms: :jruby
gem "ruby\-debug", platforms: :mri_18
gem "nokogiri", platforms: [:mri_18, :jruby]
gem "weakling", platforms: :jruby
gem "ruby\-debug", platforms: :mri_18
gem "nokogiri", platforms: [:mri_18, :jruby]
.
.fi
.
Expand All @@ -338,7 +338,7 @@ You can select an alternate Rubygems repository for a gem using the \':source\'
.
.nf

gem "some_internal_gem", source: "https://gems\.example\.com"
gem "some_internal_gem", source: "https://gems\.example\.com"
.
.fi
.
Expand Down Expand Up @@ -393,7 +393,7 @@ If a git repository does have a \fB\.gemspec\fR for the gem you attached it to,
.
.nf

gem "rails", "2\.3\.8", git: "https://github\.com/rails/rails\.git"
gem "rails", "2\.3\.8", git: "https://github\.com/rails/rails\.git"
# bundle install will fail, because the \.gemspec in the rails
# repository\'s master branch specifies version 3\.0\.0
.
Expand Down Expand Up @@ -454,7 +454,7 @@ A custom git source can be defined via the \fBgit_source\fR method\. Provide the
.nf

git_source(:stash){ |repo_name| "https://stash\.corp\.acme\.pl/#{repo_name}\.git" }
gem \'rails\', stash: \'forks/rails\'
gem \'rails\', stash: \'forks/rails\'
.
.fi
.
Expand All @@ -467,7 +467,7 @@ In addition, if you wish to choose a specific branch:
.
.nf

gem "rails", stash: "forks/rails", branch: "branch_name"
gem "rails", stash: "forks/rails", branch: "branch_name"
.
.fi
.
Expand All @@ -483,8 +483,8 @@ If the git repository you want to use is hosted on GitHub and is public, you can
.
.nf

gem "rails", github: "rails/rails"
gem "rails", github: "rails"
gem "rails", github: "rails/rails"
gem "rails", github: "rails"
.
.fi
.
Expand All @@ -497,7 +497,7 @@ Are both equivalent to
.
.nf

gem "rails", git: "git://github\.com/rails/rails\.git"
gem "rails", git: "git://github\.com/rails/rails\.git"
.
.fi
.
Expand All @@ -513,7 +513,7 @@ You can also directly pass a pull request URL:
.
.nf

gem "rails", github: "https://github\.com/rails/rails/pull/43753"
gem "rails", github: "https://github\.com/rails/rails/pull/43753"
.
.fi
.
Expand All @@ -526,7 +526,7 @@ Which is equivalent to:
.
.nf

gem "rails", github: "rails/rails", branch: "refs/pull/43753/head"
gem "rails", github: "rails/rails", branch: "refs/pull/43753/head"
.
.fi
.
Expand All @@ -539,7 +539,7 @@ If the git repository you want to use is hosted as a GitHub Gist and is public,
.
.nf

gem "the_hatch", gist: "4815162342"
gem "the_hatch", gist: "4815162342"
.
.fi
.
Expand All @@ -552,7 +552,7 @@ Is equivalent to:
.
.nf

gem "the_hatch", git: "https://gist\.github\.com/4815162342\.git"
gem "the_hatch", git: "https://gist\.github\.com/4815162342\.git"
.
.fi
.
Expand All @@ -568,8 +568,8 @@ If the git repository you want to use is hosted on Bitbucket and is public, you
.
.nf

gem "rails", bitbucket: "rails/rails"
gem "rails", bitbucket: "rails"
gem "rails", bitbucket: "rails/rails"
gem "rails", bitbucket: "rails"
.
.fi
.
Expand All @@ -582,7 +582,7 @@ Are both equivalent to
.
.nf

gem "rails", git: "https://rails@bitbucket\.org/rails/rails\.git"
gem "rails", git: "https://rails@bitbucket\.org/rails/rails\.git"
.
.fi
.
Expand All @@ -604,7 +604,7 @@ Unlike \fB:git\fR, bundler does not compile C extensions for gems specified as p
.
.nf

gem "rails", path: "vendor/rails"
gem "rails", path: "vendor/rails"
.
.fi
.
Expand Down Expand Up @@ -648,7 +648,7 @@ platforms :ruby do
gem "sqlite3"
end

group :development, optional: true do
group :development, optional: true do
gem "wirble"
gem "faker"
end
Expand Down

0 comments on commit b182687

Please sign in to comment.