summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-03 17:18:57 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-03 19:28:56 +0900
commitf5193c0f62eb56555e1ad41e8707b1051137ea08 (patch)
tree0c6b0ce9d82b674b5102c75c1f463e8d6cdf2492
parentaf277266db3fac8c0dd52c8bb0bd2ba63ae78131 (diff)
downloadbundler-f5193c0f62eb56555e1ad41e8707b1051137ea08.tar.gz
Fix a typos
-rw-r--r--lib/bundler/settings.rb8
-rw-r--r--lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb2
-rw-r--r--lib/bundler/vendor/thor/lib/thor/base.rb2
-rw-r--r--lib/bundler/vendor/thor/lib/thor/util.rb2
-rw-r--r--man/bundle-config.ronn2
-rw-r--r--man/bundle-install.ronn2
-rw-r--r--spec/bundler/dsl_spec.rb4
-rw-r--r--spec/bundler/plugin/api_spec.rb8
-rw-r--r--spec/commands/config_spec.rb2
-rw-r--r--spec/commands/newgem_spec.rb4
-rw-r--r--spec/commands/update_spec.rb2
-rw-r--r--spec/install/gemfile/git_spec.rb2
-rw-r--r--spec/runtime/platform_spec.rb2
13 files changed, 21 insertions, 21 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index d736de18aa..81cbb3953c 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -225,14 +225,14 @@ module Bundler
end
def parent_setting_for(name)
- split_specfic_setting_for(name)[0]
+ split_specific_setting_for(name)[0]
end
- def specfic_gem_for(name)
- split_specfic_setting_for(name)[1]
+ def specific_gem_for(name)
+ split_specific_setting_for(name)[1]
end
- def split_specfic_setting_for(name)
+ def split_specific_setting_for(name)
name.split(".")
end
diff --git a/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb b/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
index 5195be2152..1f8273cadc 100644
--- a/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
+++ b/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
@@ -812,7 +812,7 @@ class Bundler::Persistent::Net::HTTP::Persistent
##
# Pipelines +requests+ to the HTTP server at +uri+ yielding responses if a
- # block is given. Returns all responses recieved.
+ # block is given. Returns all responses received.
#
# See
# Net::HTTP::Pipeline[http://docs.seattlerb.org/net-http-pipeline/Net/HTTP/Pipeline.html]
diff --git a/lib/bundler/vendor/thor/lib/thor/base.rb b/lib/bundler/vendor/thor/lib/thor/base.rb
index a95974a62d..bbd2250de0 100644
--- a/lib/bundler/vendor/thor/lib/thor/base.rb
+++ b/lib/bundler/vendor/thor/lib/thor/base.rb
@@ -112,7 +112,7 @@ class Bundler::Thor
end
# Whenever a class inherits from Bundler::Thor or Bundler::Thor::Group, we should track the
- # class and the file on Bundler::Thor::Base. This is the method responsable for it.
+ # class and the file on Bundler::Thor::Base. This is the method responsible for it.
#
def register_klass_file(klass) #:nodoc:
file = caller[1].match(/(.*):\d+/)[1]
diff --git a/lib/bundler/vendor/thor/lib/thor/util.rb b/lib/bundler/vendor/thor/lib/thor/util.rb
index 5d03177a28..0fe7d4d859 100644
--- a/lib/bundler/vendor/thor/lib/thor/util.rb
+++ b/lib/bundler/vendor/thor/lib/thor/util.rb
@@ -27,7 +27,7 @@ class Bundler::Thor
end
# Receives a constant and converts it to a Bundler::Thor namespace. Since Bundler::Thor
- # commands can be added to a sandbox, this method is also responsable for
+ # commands can be added to a sandbox, this method is also responsible for
# removing the sandbox namespace.
#
# This method should not be used in general because it's used to deal with
diff --git a/man/bundle-config.ronn b/man/bundle-config.ronn
index f64f5b4764..afae3e0888 100644
--- a/man/bundle-config.ronn
+++ b/man/bundle-config.ronn
@@ -220,7 +220,7 @@ learn more about their operation in [bundle install(1)][bundle-install].
* `user_agent` (`BUNDLE_USER_AGENT`):
The custom user agent fragment Bundler includes in API requests.
* `gem.push_key` (`BUNDLE_GEM__PUSH_KEY`):
- Sets the `--key` paramter for `gem push` when using the `rake release`
+ Sets the `--key` parameter for `gem push` when using the `rake release`
command with a private gemstash server.
In general, you should set these settings per-application by using the applicable
diff --git a/man/bundle-install.ronn b/man/bundle-install.ronn
index 3a03090512..d4bc34909a 100644
--- a/man/bundle-install.ronn
+++ b/man/bundle-install.ronn
@@ -62,7 +62,7 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
* `--full-index`:
Bundler will not call Rubygems' API endpoint (default) but download and cache
a (currently big) index file of all gems. Performance can be improved for
- large bundles that seldomly change by enabling this option.
+ large bundles that seldom change by enabling this option.
* `--gemfile=<gemfile>`:
The location of the Gemfile(5) which Bundler should use. This defaults
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb
index 4f5eb6dc92..78eab0227f 100644
--- a/spec/bundler/dsl_spec.rb
+++ b/spec/bundler/dsl_spec.rb
@@ -150,13 +150,13 @@ RSpec.describe Bundler::Dsl do
to raise_error(Bundler::GemfileError, /The `branch` option for `gem 'foo'` is not allowed. Only gems with a git source can specify a branch/)
end
- it "allows specifiying a branch on git gems" do
+ it "allows specifying a branch on git gems" do
subject.gem("foo", :branch => "test", :git => "http://mytestrepo")
dep = subject.dependencies.last
expect(dep.name).to eq "foo"
end
- it "allows specifiying a branch on git gems with a git_source" do
+ it "allows specifying a branch on git gems with a git_source" do
subject.git_source(:test_source) {|n| "https://github.com/#{n}" }
subject.gem("foo", :branch => "test", :test_source => "bundler/bundler")
dep = subject.dependencies.last
diff --git a/spec/bundler/plugin/api_spec.rb b/spec/bundler/plugin/api_spec.rb
index e40b9adb0f..c2c4150ab2 100644
--- a/spec/bundler/plugin/api_spec.rb
+++ b/spec/bundler/plugin/api_spec.rb
@@ -60,15 +60,15 @@ RSpec.describe Bundler::Plugin::API do
# A test of delegation
it "provides the Bundler's functions" do
- expect(Bundler).to receive(:an_unkown_function).once
+ expect(Bundler).to receive(:an_unknown_function).once
- api.an_unkown_function
+ api.an_unknown_function
end
it "includes Bundler::SharedHelpers' functions" do
- expect(Bundler::SharedHelpers).to receive(:an_unkown_helper).once
+ expect(Bundler::SharedHelpers).to receive(:an_unknown_helper).once
- api.an_unkown_helper
+ api.an_unknown_helper
end
context "#tmp" do
diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb
index a3ca696ec1..4f4593fc24 100644
--- a/spec/commands/config_spec.rb
+++ b/spec/commands/config_spec.rb
@@ -267,7 +267,7 @@ RSpec.describe ".bundle/config" do
expect(out).to eq "bar=value"
end
- it "preferes local config over global" do
+ it "prefers local config over global" do
bundle "config --local bar value2"
bundle "config --global bar value"
bundle "config bar --parseable"
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb
index a3c3a36419..c335bd4375 100644
--- a/spec/commands/newgem_spec.rb
+++ b/spec/commands/newgem_spec.rb
@@ -166,10 +166,10 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test_gem/.git")).to exist
end
- context "when git is not avaiable" do
+ context "when git is not available" do
let(:gem_name) { "test_gem" }
- # This spec cannot have `git` avaiable in the test env
+ # This spec cannot have `git` available in the test env
before do
bundle_bin = File.expand_path("../../../exe/bundle", __FILE__)
load_paths = [lib, spec]
diff --git a/spec/commands/update_spec.rb b/spec/commands/update_spec.rb
index 4992e428da..41a2b38077 100644
--- a/spec/commands/update_spec.rb
+++ b/spec/commands/update_spec.rb
@@ -118,7 +118,7 @@ RSpec.describe "bundle update" do
end
describe "with --group option" do
- it "should update only specifed group gems" do
+ it "should update only specified group gems" do
install_gemfile <<-G
source "file://#{gem_repo2}"
gem "activesupport", :group => :development
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index a53d96582a..9b74da8b52 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -1283,7 +1283,7 @@ In Gemfile:
end
end
- describe "when the git source is overriden with a local git repo" do
+ describe "when the git source is overridden with a local git repo" do
before do
bundle "config --global local.foo #{lib_path("foo")}"
end
diff --git a/spec/runtime/platform_spec.rb b/spec/runtime/platform_spec.rb
index 4df934e71f..b84ee90b1f 100644
--- a/spec/runtime/platform_spec.rb
+++ b/spec/runtime/platform_spec.rb
@@ -33,7 +33,7 @@ RSpec.describe "Bundler.setup with multi platform stuff" do
expect(out).to eq("WIN")
end
- it "will resolve correctly on the current platform when the lockfile was targetted for a different one" do
+ it "will resolve correctly on the current platform when the lockfile was targeted for a different one" do
lockfile <<-G
GEM
remote: file:#{gem_repo1}/