praise 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +6 -2
  2. data/README_FULL.md +6 -1
  3. data/lib/praise.rb +4 -0
  4. metadata +1 -1
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
- ## Praise
1
+ # Praise
2
2
 
3
- Pry + raise = praise. A small gem for intercepting raise calls to dig up hidden and buried exceptions.
3
+ `pry + raise = praise`
4
+
5
+ A small gem intercepting all `#raise` calls spawning `pry` sessions to investigate. There is
6
+ runtime-editable config file to set ignore patterns for unwanted `#raise` calls. The gem is targeting
7
+ investigation of re-risen and masked-by-another exceptions.
4
8
 
5
9
  - Documentation: <http://blog.pitr.ch/praise>
6
10
  - Source: <https://github.com/pitr-ch/praise>
@@ -1,11 +1,16 @@
1
1
  # Praise
2
2
 
3
- Pry + raise = praise. A small gem for intercepting raise calls to dig up hidden and buried exceptions.
3
+ `pry + raise = praise`
4
+
5
+ A small gem intercepting all `#raise` calls spawning `pry` sessions to investigate. There is
6
+ runtime-editable config file to set ignore patterns for unwanted `raise calls`. The gem is targeting
7
+ investigation of re-risen and masked-by-another exceptions.
4
8
 
5
9
  - Documentation: <http://blog.pitr.ch/praise>
6
10
  - Source: <https://github.com/pitr-ch/praise>
7
11
  - Blog: <http://blog.pitr.ch/blog/categories/praise/>
8
12
 
13
+
9
14
  ## Difference between `prise` and `pry-rescue`
10
15
 
11
16
  Praise allows a developer to investigate all exceptions including the ones rescued later.
@@ -3,6 +3,10 @@ require 'pry-stack_explorer'
3
3
  require 'yaml'
4
4
 
5
5
  class PraiseImpl
6
+ def self.version
7
+ @version ||= Gem::Version.new File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))
8
+ end
9
+
6
10
  attr_reader :enabled
7
11
 
8
12
  # @param [Proc] outputter a proc which ouputs/logs messages
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: praise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: