global_error_handler 0.1.11 → 0.2.0

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
  SHA1:
3
- metadata.gz: 001edd83e7e7c49aec78b6fdb216fd52668af15f
4
- data.tar.gz: f72e10bf6da293698c3791466f24d523f6b695fd
3
+ metadata.gz: b756cc40aa38a46832768117f7e6ca959c505e14
4
+ data.tar.gz: 1af49d0977f55587fff47a9582f35a36dbcaf3f2
5
5
  SHA512:
6
- metadata.gz: 67682646ec1fd772c50d17ea56720cd037b83452aa75d32b3b85a5ba84351198002170cb1d5ffae1de514d2970c8ed6f9103a49e8ebe4c392183c525a8b2200d
7
- data.tar.gz: 74316ba8a014e161bca200d20a822c7e8882535174f5954d632779c2f97846a326776e5d344052c2f3329dd251735310ee9f2508b91d1b55d4ba3f2210190759
6
+ metadata.gz: 6cf989422e07a98f1ada0809a222c8f884c3dbcd8024e2ebdca16e6485dbac0f7d10f6d801e61da5d29de7c6f025f61ca00d09a541c8e9ab7a5d760e3182fabc
7
+ data.tar.gz: c6c3a8b04f883483a54376a551901ca23a7cb2f04b8a372f424e8fb0ed582ff99d41c40656e36d976c4bf1e35f59c268cb3f83898cdb0b43dc03fdf589bd8937
data/README.md CHANGED
@@ -70,6 +70,21 @@ In case to stop subscription, run following below command
70
70
  rake global_error_handler:unsubscribe_from_expired
71
71
  ```
72
72
 
73
+ There are Capistrano recipes that run desired rake tasks on the remote server
74
+ * global_error_handler:subscribe
75
+ * global_error_handler:unsubscribe
76
+ * global_error_handler:update_subscription
77
+
78
+ ```ruby
79
+ after 'deploy:restart', 'global_error_handler:update_subscription'
80
+ ```
81
+
82
+ In case to subscribe automatically after being deployed, add following require into `deploy.rb`
83
+
84
+ ```ruby
85
+ require 'global_error_handler/capistrano_recipes'
86
+ ```
87
+
73
88
  ## Data structure
74
89
  Redis database data structure contains following below keys:
75
90
  - 'global_error_handler:current_id' : *STRING* - stores current id of an exception. It is being incremented on adding new exception into database
@@ -1,3 +1,3 @@
1
1
  module GlobalErrorHandler
2
- VERSION = "0.1.11"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_error_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrii Rudenko