File: README.md

package info (click to toggle)
ruby-peek-host 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 100 kB
  • sloc: ruby: 26; makefile: 4
file content (37 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Peek::Host

Take a peek into the host which serves your reuest.

Things this peek view provides:

- Hostname of the instance which served your request.

## Installation

Add this line to your application's Gemfile:

    gem 'peek-host'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install peek-host

## Usage

Add the following to your `config/initializers/peek.rb`:

```ruby
Peek.into Peek::Views::Host
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request