info 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/app/controllers/info_controller.rb +1 -1
- data/lib/info/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdb823fe4d47819a988f0f6431954ae5836ff4bc
|
4
|
+
data.tar.gz: c3dd0694a929293b0737101b19b3d31f70a288fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c49ddb39c4fd10319c2d78643e7dcf3c5b9637b346b8ff86a993e37b55d14166326007c8b0571937c42761e7691cb57f3cc1a3a1040cdd161f9df8d92bfae04
|
7
|
+
data.tar.gz: 1042a6e85d3c66ff846f88c1f5c6979d739bc6e6d7ff61cdf2abcdeb00bcd7babe3fb7d224695d5be3c7b633a968c8d106497fa97965ca9a975b536ddf76579d
|
data/README.md
CHANGED
@@ -9,7 +9,19 @@ Info a library that allows you collecting info about your application in a simpl
|
|
9
9
|
|
10
10
|
Just the following line to your Gemfile:
|
11
11
|
|
12
|
-
|
12
|
+
```ruby
|
13
|
+
gem 'info'
|
14
|
+
```
|
15
|
+
|
16
|
+
Now, create a initializer at `config/initializers/info.rb` with the following content:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
Info.setup do
|
20
|
+
enable!
|
21
|
+
end
|
22
|
+
```
|
23
|
+
|
24
|
+
Read more about authorization and how to add collectors below.
|
13
25
|
|
14
26
|
## Usage
|
15
27
|
|
data/lib/info/version.rb
CHANGED