yeller_ruby 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yeller/rack.rb +4 -0
- data/lib/yeller/rails.rb +5 -0
- data/lib/yeller/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7369ceace8bcebe67c8591d1eda24f4f88718de2
|
4
|
+
data.tar.gz: 25e85477c980b99aa4c057c38ac5b35b143c5971
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91a243d91ac917bd7ec12fba72c10f1b4771e7d1142237afd5ffbd3e85228d5ccac60ae3cb28e76307fd3b1dfb2c66ccd090331285b4b5e1a8e601eef749f101
|
7
|
+
data.tar.gz: d556f4da048a5f82e4ce8319b7a48fa53d9bb40af79d5e0255e7e30ae588a0a45b0b03be155d542df8dfbd423524a77b9b54f046af1e35e23d5fc9877388d285
|
data/lib/yeller/rack.rb
CHANGED
data/lib/yeller/rails.rb
CHANGED
@@ -7,6 +7,7 @@ module Yeller
|
|
7
7
|
def self.configure(&block)
|
8
8
|
Yeller::Rack.configure do |config|
|
9
9
|
config.error_handler = Yeller::LogErrorHandler.new(::Rails.logger)
|
10
|
+
config.environment = ::Rails.env.to_s
|
10
11
|
block.call(config)
|
11
12
|
end
|
12
13
|
end
|
@@ -15,6 +16,10 @@ module Yeller
|
|
15
16
|
Yeller::Rack.enabled?
|
16
17
|
end
|
17
18
|
|
19
|
+
def self.client
|
20
|
+
Yeller::Rack.client
|
21
|
+
end
|
22
|
+
|
18
23
|
module ActionControllerCatchingHooks
|
19
24
|
def self.included(base)
|
20
25
|
base.send(:alias_method, :render_exception_without_yeller, :render_exception)
|
data/lib/yeller/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yeller_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Crayford
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|