Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add how to install rack-test from github to README. #189

Merged
merged 2 commits into from
Jul 12, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,21 @@ end

To install the latest release as a gem:

`gem install rack-test`
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This modification is that I wanted to show same color for the section of Install as a gem and Install via Bundler.
<code>..</code>, <pre>...</pre> are displayed as different color on github markdown.

gem install rack-test
```

Or via Bundler:

`gem "rack-test", require: "rack/test"`
```
gem 'rack-test', require: 'rack/test'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed "rack/test" to 'rack/test'. This modification is because rubocop is valid for the single quote code, and it looks more popular.

```

Or to install unreleased version via Bundler:

```
gem 'rack-test', github: 'rack-test', branch: 'master'
```

## Authors

Expand Down