exception_hunter 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11f6f14e231b447819eaa8d2f6b107a44ef3f7060e3485381efd5ba3206d8a01
4
- data.tar.gz: 26d9b864d2a728317009f1c097e97a849660667e678386cfec6f79cb46b9373a
3
+ metadata.gz: 461f614a3acb4efa1cabad37cc849850c45b0f186f627b016c5d48d09684b6c4
4
+ data.tar.gz: fa8c5abe1c5a2020d96ce5be459cacc624e227917eca8a5875046f528a021aa4
5
5
  SHA512:
6
- metadata.gz: 51ced2ec4f0fd66cdc29b71ec0b8214966742848ee926cfd70aeeeee19b9b8f94e4fd03b5193676dcb27d38d2634e75fc13be070c27f6efec82a8271445fd072
7
- data.tar.gz: 8b274f7de5f265208f3e142b33ef176f62e9586425628f6b9af1e8fae76493ac5f0b0c07aa43b4ef65355319185065c4123973adacf8f5da6b3aab671f5d92ec
6
+ metadata.gz: a057aff5a6cea927c804120a39b2c708a6e1d363d08d2707461c9fd0f39a8234bdb4cc7ca6b6e153f56cacf18d657eb88e0bd843c08953beef2aacfa2f721108
7
+ data.tar.gz: 68eafa484c4350384b5fd8bd38c131462d6634fe9ff344c62ab71c91fcd3995f1b7f8ad4700b5715b7c89ca86741469141364a412887fa5eda680a4f63fd1d30
data/README.md CHANGED
@@ -5,24 +5,41 @@ Short description and motivation.
5
5
  How to use my plugin.
6
6
 
7
7
  ## Installation
8
- Add this line to your application's Gemfile:
8
+ Add Exception Hunter to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'exception_hunter'
11
+ gem 'exception_hunter', '~> 0.1.1'
12
12
  ```
13
13
 
14
- And then execute:
15
- ```bash
16
- $ bundle
14
+ You may also need to add [Devise](https://github.com/heartcombo/devise) to your Gemfile
15
+ if you haven't already done so and plan to use the gem's built in authentication:
16
+
17
+ ```ruby
18
+ gem 'devise'
17
19
  ```
18
20
 
19
- Or install it yourself as:
21
+ After installing the dependencies you'll want to run:
22
+
20
23
  ```bash
21
- $ gem install exception_hunter
24
+ $ rails generate exception_hunter:install
22
25
  ```
23
26
 
27
+ This will create an initializer and invoke Devise to
28
+ create an `AdminUser` which will be used for authentication to access the dashboard. If you already
29
+ have this user created (Devise uses the same model) you can run the command with the `--skip-users` flag.
30
+
31
+ Additionally it should add the 'ExceptionHunter.routes(self)' line to your routes, which means you can go to
32
+ `/exception_hunter/errors` in your browser and start enjoying some good old fashioned exception tracking!
33
+
24
34
  ## Contributing
25
35
  Contribution directions go here.
26
36
 
27
37
  ## License
28
38
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
39
+
40
+ ## Credits
41
+
42
+ Exception Hunter is maintained by [Rootstrap](http://www.rootstrap.com) with
43
+ the help of our [contributors](https://github.com/rootstrap/exception_hunter/contributors).
44
+
45
+ [<img src="https://s3-us-west-1.amazonaws.com/rootstrap.com/img/rs.png" width="100"/>](http://www.rootstrap.com)
@@ -4,7 +4,7 @@
4
4
  <%= number_with_delimiter(@errors_count) %> Total errors
5
5
  </div>
6
6
  </div>
7
- <div class="column column-offset-50 column-25">
7
+ <div class="column column-25">
8
8
  <div class="statistics__cell">
9
9
  <%= number_with_delimiter(@month_errors) %> Errors this month
10
10
  </div>
@@ -1,3 +1,3 @@
1
1
  module ExceptionHunter
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_hunter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Vezoli
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-16 00:00:00.000000000 Z
12
+ date: 2020-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pagy