open_exception 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -4
- data/VERSION +1 -1
- data/lib/open_exception.rb +6 -2
- data/lib/open_exception/open_exception.rb +4 -0
- data/open_exception.gemspec +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -9,9 +9,6 @@ You can add filters that allow you to ignore some exceptions, and filters that a
|
|
9
9
|
to scope the backtrace search. The backtrace scoping is useful for opening the last call
|
10
10
|
in your application code when the exception occurs in a framework or lib.
|
11
11
|
|
12
|
-
If you are on MacOSX and have the [growl gem](http://rubygems.org/gems/growl) installed,
|
13
|
-
you will get a growl notification with the exception message when the file is opened.
|
14
|
-
|
15
12
|
Editors
|
16
13
|
-------
|
17
14
|
|
@@ -89,6 +86,15 @@ You can override the default (or configured) options by passing a hash as the se
|
|
89
86
|
|
90
87
|
OpenException.open(exception, {:open_with => :textmate, :backtrace_line_filters => [filter, another_filter])
|
91
88
|
|
89
|
+
Growl Support
|
90
|
+
-------------
|
91
|
+
|
92
|
+
If you are on MacOSX and have the [growl gem](http://rubygems.org/gems/growl) installed,
|
93
|
+
you will get a growl notification with the exception message when the file is opened.
|
94
|
+
|
95
|
+
Note that growlnotify currently has to be in the path for this to work until the growl gem
|
96
|
+
is fixed to look in the default location and/or allow overriding the binary location.
|
97
|
+
|
92
98
|
Note on Patches/Pull Requests
|
93
99
|
-----------------------------
|
94
100
|
|
@@ -98,6 +104,5 @@ Note on Patches/Pull Requests
|
|
98
104
|
* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
99
105
|
* Send me a pull request. Bonus points for topic branches.
|
100
106
|
|
101
|
-
== Copyright
|
102
107
|
|
103
108
|
Copyright (c) 2010 Tobias Crawley. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/open_exception.rb
CHANGED
@@ -6,9 +6,13 @@ init_message = "** open_extension initialized "
|
|
6
6
|
begin
|
7
7
|
require 'growl'
|
8
8
|
require File.dirname(__FILE__) + "/open_exception/growl_support"
|
9
|
-
|
9
|
+
if Growl.installed?
|
10
|
+
init_message << "with growl support"
|
11
|
+
else
|
12
|
+
init_message << "without growl support (growlnotify binary is not in the path)"
|
13
|
+
end
|
10
14
|
rescue LoadError
|
11
15
|
#ignore
|
12
16
|
end
|
13
17
|
|
14
|
-
puts init_message
|
18
|
+
OpenException.puts init_message
|
data/open_exception.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{open_exception}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tobias Crawley"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-29}
|
13
13
|
s.description = %q{}
|
14
14
|
s.email = %q{tcrawley@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tobias Crawley
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-29 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|