asana_exception_notifier 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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 160ac28f2936c9a035695f2cc4c00b1a2743518e
|
|
4
|
+
data.tar.gz: 3c66bd87b095f4dca339c29541062153b2e276f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd020c83db37fa3b6bc42a6b5664cdfb1a42b99c101c75926410ff2b11ffd56c2a4869b652198d5f005c58d77e77dd18e0560242bd38e52c4af471bf6aa93f5e
|
|
7
|
+
data.tar.gz: 15c2e129c2c86f1948c6fb37639ab644d968795c2b9f30a5055d0ec7baa545814039f00a56e8b5dae0033d27c752b09337813b643414cf9e808a5648cb60ca7f
|
data/README.md
CHANGED
|
@@ -153,7 +153,7 @@ Rails.application.config.middleware.use ExceptionNotification::Rack
|
|
|
153
153
|
|
|
154
154
|
### Rack/Sinatra
|
|
155
155
|
|
|
156
|
-
In order to use ExceptionNotification with Sinatra, please take a look in the [example application](https://github.com/
|
|
156
|
+
In order to use ExceptionNotification with Sinatra, please take a look in the [example application](https://github.com/bogdanRada/asana_exception_notifier/tree/master/examples/sinatra).
|
|
157
157
|
|
|
158
158
|
Background Notifications
|
|
159
159
|
------------------------
|
data/examples/sinatra/README.md
CHANGED
|
@@ -6,9 +6,9 @@ Quick start
|
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
git clone git@github.com:bogdanRada/asana_exception_notifier.git
|
|
9
|
-
cd
|
|
9
|
+
cd asana_exception_notifier/examples/sinatra
|
|
10
10
|
bundle install
|
|
11
11
|
bundle exec foreman start
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
The last command starts the sinatra app itself. Thus, visit [http://localhost:
|
|
14
|
+
The last command starts the sinatra app itself. Thus, visit [http://localhost:3000/](http://localhost:3000/) to run the application, and check the asana notification is sent in a separated tab by visiting [Asana.com](http://asana.com) For more info, use the [source](https://github.com/bogdanRada/asana_exception_notifier/blob/master/examples/sinatra/sinatra_app.rb).
|
|
@@ -5,9 +5,6 @@ File: <%= exception.backtrace.slice(0, 1).join("\n ") %>
|
|
|
5
5
|
<% if request_data[:ip_address].present? %>
|
|
6
6
|
IP: <%= request_data[:ip_address] %>
|
|
7
7
|
<% end %>
|
|
8
|
-
<% if request_data[:session].present? %>
|
|
9
|
-
Session: <%= request_data[:session]%>
|
|
10
|
-
<% end %>
|
|
11
8
|
<% if request_data[:url].present? %>
|
|
12
9
|
Request URI: <%= request_data[:url] %>
|
|
13
10
|
<% end %>
|