Skip to content

Commit

Permalink
Small typo fixes (#665)
Browse files Browse the repository at this point in the history
* Fix typo: infos -> info

* Fix simple typo to README

* Small grammar fix

* Update link in README
  • Loading branch information
Alfie John authored Apr 24, 2020
1 parent 3c5f8d4 commit a9e144a
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -448,7 +448,7 @@ travis-ci/gh: disabled :(
-b, --background will trigger sync but not block until sync is done
-f, --force will force sync, even if one is already running

Sometimes the infos Travis CI has about users and repositories become out of date. If that should happen, you can manually trigger a sync:
Sometimes the info Travis CI has about users and repositories become out of date. If that should happen, you can manually trigger a sync:

``` console
$ travis sync
@@ -701,7 +701,7 @@ job #57.1 has been canceled

#### `disable`

If you want to turn of a repository temporarily or indefinitely, you can do so with the `disable` command:
If you want to turn off a repository temporarily or indefinitely, you can do so with the `disable` command:

``` console
$ travis disable
@@ -772,7 +772,7 @@ For deploy keys, it is really handy to pipe them into the command:
$ cat id_rsa | travis encrypt
```

Another use case for piping files into it: If you have a file with sensitive environment variables, like foreman's [.env](http://ddollar.github.com/foreman/#ENVIRONMENT) file, you can add tell the client to encrypt every line separately via `--split`:
Another use case for piping files into it: If you have a file with sensitive environment variables, like foreman's [.env](http://ddollar.github.com/foreman/#ENVIRONMENT) file, you can tell the client to encrypt every line separately via `--split`:

``` console
$ cat .env | travis encrypt --split
@@ -1269,7 +1269,7 @@ Encrypt API key? |yes|

#### `show`

Displays general infos about the latest build:
Displays general info about the latest build:

``` console
$ travis show
@@ -1412,7 +1412,7 @@ Uploading public key to GitHub.
Uploading private key to Travis CI.
```

See the [private dependencies example](examples/cli/private_dependencies.md) for an in-detail description.
See [Private Dependencies](https://docs.travis-ci.com/user/private-dependencies/) for an in-detail description.

#### `status`

2 changes: 1 addition & 1 deletion lib/travis/cli/help.rb
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ def run(command = nil)
else
say "Usage: travis COMMAND ...\n\nAvailable commands:\n\n"
commands.each { |c| say "\t#{color(c.command_name, :command).ljust(22)} #{color(c.description, :info)}" }
say "\nrun `#$0 help COMMAND` for more infos"
say "\nrun `#$0 help COMMAND` for more info"
end
end

2 changes: 1 addition & 1 deletion spec/client/session_spec.rb
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@
subject.headers['User-Agent'].should include("Ruby #{RUBY_VERSION}")
end

it 'allows adding custom infos to the User-Agent' do
it 'allows adding custom info to the User-Agent' do
subject.agent_info = "foo"
subject.headers['User-Agent'].should include("foo")
subject.headers['User-Agent'].should include("Travis/#{Travis::VERSION}")
2 changes: 1 addition & 1 deletion travis.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run `rake travis.gemspec` to update the gemspec.
Gem::Specification.new do |s|
# general infos
# general info
s.name = "travis"
s.version = "1.8.13"
s.required_ruby_version = ">= 2.3.0"

0 comments on commit a9e144a

Please sign in to comment.